User:Max.nordlund/common.js: Difference between revisions
Appearance
Content deleted Content added
Max.nordlund (talk | contribs) No edit summary |
Max.nordlund (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
if ( mw.config.get( "wgPageName" ) == "Main_Page" ) { |
if ( mw.config.get( "wgPageName" ) == "Main_Page" ) { |
||
var href = mw.util.getUrl( "Wikipedia_talk:Main_Page_(2016_redesign)" ); |
var href = mw.util.getUrl( "Wikipedia_talk:Main_Page_(2016_redesign)" ); |
||
console.log(href) |
|||
window.location = href + "?withCSS=MediaWiki:User:Main_Page/NewMainPage.css"; |
// window.location = href + "?withCSS=MediaWiki:User:Main_Page/NewMainPage.css"; |
||
} |
} |