MediaWiki talk:Gadget-site.js

wgIsMainPage
Could you simplify if ( 	mw.config.get( 'wgMainPageTitle' ) === mw.config.get( 'wgPageName' ) && 	mw.config.get( 'wgAction' ) === 'view' ) to if ( mw.config.get( 'wgIsMainPage' ) && mw.config.get( 'wgAction' ) === 'view' ) ? Helder 14:08, 18 July 2012 (UTC)


 * This code used to work for all subpages of the Main page but after this edit in June 2011 the current setup doesn't make much sense anymore. I suggest replacing this (and a lot of CSS code in Common.css) with something like


 * —AlexSm 21:52, 26 July 2012 (UTC)