"Krinkle" posted a comment on MediaWiki.r107315. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107315#c28555
Commit summary for MediaWiki.r107315: fix for bug 33372, disabling CentralNotice on Special pages Krinkle's comment: <pre> + if ( wgNamespaceNumber !== -1 ) { // disable loading banners on Special pages </pre> Use <code>mw.config</code> as the wg globals are deprecated in JavaScript and some wikis may even have them removed/disabled. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview