User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
m Maintenance: Replacing legacy global variable (phab:T72470)
 
Line 8:
return imported;
};
var attrs, format = function(ns,src){return typeof self.namespaces[ns]=="function"?self.namespaces[ns](src):(self.namespaces[ns]||mw.config.get('wgServer')+mw.config.get('wgScript')+"?title={{{src}}}&action=raw&ctype=text/javascript").replace("{{{src}}}", src)};
if (typeof src == "object") {
attrs = src;