64
edits
Alexfusco5 (talk | contribs) No edit summary |
Alexfusco5 (talk | contribs) No edit summary |
||
Line 5,773: | Line 5,773: | ||
function setTitleBase() { | function setTitleBase() { | ||
var protocol = ( window.popupLocalDebug ? 'http:' : location.protocol ); | var protocol = ( window.popupLocalDebug ? 'http:' : location.protocol ); | ||
pg.wiki.articlePath = wgArticlePath.replace( | pg.wiki.articlePath = wgArticlePath.replace(\\$1/, ""); // as in http://some.thing.com/wiki/Article | ||
pg.wiki.botInterfacePath = wgScript; | pg.wiki.botInterfacePath = wgScript; | ||
pg.wiki.APIPath = wgScriptPath +"/api.php"; | pg.wiki.APIPath = wgScriptPath +"/api.php"; |
edits