MediaWiki:CreateSpecialPage/code.js

pageNames; pageData; if(wgNamespaceNumber==wgNamespaceIds.special && pageNames.indexOf(wgCanonicalSpecialPageName)>-1) { $('#mw-content-text').html(pageData[pageNames.indexOf(wgCanonicalSpecialPageName)]); }