User:Alexfusco5/monobook.js: Difference between revisions

no edit summary
No edit summary
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(\$1, "");  // as in http://some.thing.com/wiki/Article
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";
64

edits