Difference between revisions 124331 and 124332 on gomwiki

/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * Redirects to the 2015 redesigned Main Page
 */

if ( mw.config.get( 'wgPageName' ) === 'Main_Page' ) {
        		window.location = '//en.wikipedia.org/wiki/Wikipedia:Main_Page_(2015_redesign)';
}
$( document ).ready( function () {
	$( 'a[href="/wiki/Main_Page"]' ).attr( 'href', '/wiki/Wikipedia:Main_Page_(2015_redesign)' );
} );