User:Js/urldecoder.js: Difference between revisions

Content deleted Content added
support for liquid threads, code by User:Helder.wiki
m Remove outdated comment about deprecated global wgNamespaceIds, available since MW 1.16 (which is now unsupported)
Line 350:
if( ! colonNS ){ //define list of all possible category and file namespaces
var list = ['file', 'category'] //canonical aliases
//if( !window.wgNamespaceIds ) return alert('Warning: wgNamespaceIds not defined, old MediaWiki version?');
var namespaces = mw.config.get( 'wgNamespaceIds' );
for( var name in namespaces )