FANDOM


var modulePos = '.WikiaActivityModule';

( function ( $, mw ) {

    'use strict';
 
    function addNewModule() {
        $( '<section>' )
            .attr( 'class', 'extraModule' )
            .append(
                $( '<h1>' )
                    .css( {
                        'margin-top': '0px',
                        'margin-bottom': '10px'
                    } )
 
                    // change the heading
                    .text( 'Community Messages' )
            )
            .append(
                $( '<div>' )
                    .append(
                        $( '<p>' )
                    // change the module text too
                            .append('stuff')
                    )
            )
            .insertBefore(modulePos);
    }
 
    function init() {
        if ( $(modulePos).length ) {
            addNewModule();
            return;
        }
 
        setTimeout( init, 500 );
    }
 
    init()

}( this.jQuery, this.mediaWiki ) );

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.