Translations:Manual:Special pages/214/en

You can also display a custom page through Javascript, in place of the default error message "Unknown special page". In MediaWiki:Common.js, check for $wgPagename, then hide the MediaWiki-generated content (just appendCSS $visibility ), and inject custom HTML ($innerHTML) into the $bodyContent or $mwcontentholder. For an example, see meta:User:Krinkle/Tools/Real-Time Recent Changes.