User:Euphoria/common.js: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
if (mw.config.get('wgAction') === "view") { |
if (mw.config.get('wgAction') === "view") { |
||
var apiURL = mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/api.php'; |
var apiURL = mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/api.php'; |
||
var wikiURL = mw. |
var wikiURL = mw.util.getUrl(''); |
||
// Fetches the creator of the current page |
// Fetches the creator of the current page |
||