Content deleted Content added
Year2000Prob (talk | contribs) mNo edit summary |
Year2000Prob (talk | contribs) No edit summary |
||
Line 2:
window.importScript = function(src) {
var self = arguments.callee;
if (!self.imported) self.imported = [];▼
if (arguments.length == 0
var imported = self.imported;
return
};
▲ if (!self.imported) self.imported = [];
var format = function(wscript, src) {
var lang, source = src;
Line 45:
// End importScript function. Copy below this line at your own risk.
var MWVersion = (function(z) {
var whichsite = ({ // define whichsite (string: "wp" if on Wikipedia, "hrw" if on HRWiki; "hrfw" if on HRFWiki)▼
var a = z.match(/([0-9])\.([0-9]*)/);
var b = a[2];
if (b.length == 1) b = "0" + b;
return Number(a[1] + "." + b);
▲
"http://en.wikipedia.org": "wp",
"http://www.hrwiki.org": "hrw",
"http://fanstuff.hrwiki.org": "hrfw",
"http://wuw.clamburger.org": "wuw"
})[wgServer] ||
importScript.namespaces = {"#default": "http://{{{lang|en}}}.wikipedia.org/w/index.php?title={{{src}}}&action=raw&ctype=text/javascript"};
Line 115 ⟶ 120:
};
// The
if (/^Special\:(Recent[Cc]hanges|Watchlist)$/.test(wgPageName)) {
|