Content deleted Content added
Year2000Prob (talk | contribs) No edit summary |
Year2000Prob (talk | contribs) mNo edit summary |
||
Line 9:
if (!self.imported) self.imported = [];
var format = function(wscript, src) {
var
return wscript.replace(/\{{3}lang\|([a-z]{2})\}{3}/, function(m) {
if (/^([a-z]{2})\:/.test(source)) {
var n = source.match(/^([a-z]{2})\:/);
Line 17:
source = source.substr(n[0].length);
};
return lang
}).replace("{{{src}}}", encodeURIComponent(source.replace(" ", "_")))};
var attrs;
|