MediaWiki:Wikia.js/sidebar.js

( function ( $, mw ) {   'use strict';    function addRSWGuideModule {        $( ' ' )            .attr( 'class', 'RSWGuide module' )            .append( $( ' ' )                   .css( {                        'margin-top': '0px',                        'margin-bottom': '10px'                    } ) // Head text for module .text( 'Issues with advertisements?' ) )           .append( $( ' ' )                   .append(                        $( ' ' )                            .append( $( '' ) .attr( 'href', '/wiki/2007scape Wiki:Advertisements' ) // you don't need a trailing period/full stop on this .text( 'Is your reading experience being hindered by advertisements? Find out how to fix that here' ), '.'                           )                    )            )            .insertBefore( '.LatestPhotosModule' );    }    function init {        if ( $( ".LatestPhotosModule" ).length ) {            addRSWGuideModule;            return;        }        setTimeout( init, 500 );    }    init }( this.jQuery, this.mediaWiki ) );