User:Ose/monaco.js

function ArticleType { $(' ' + (wgCanonicalNamespace).replace(/_/g, ' ') + ' ').appendTo('#page_bar'); $('#article-type').load('/index.php?title=MediaWiki:Articletype-'+encodeURIComponent(wgCanonicalNamespace)+'&action=render'); }

addOnloadHook( ArticleType );