Content deleted Content added
m Maintenance: Page contains unsafe nowiki - phab:T236828 |
Maintenance: Remove use of deprecated wgEnableAPI (always true) - mw:RL/MGU |
||
Line 2,045:
// parse global-context (MediaWiki) variables into hash (for Greasemonkey)
var globalNames = ['skin', 'wgServer', 'wgTitle', 'wgCanonicalNamespace', 'wgArticlePath', 'wgScript', 'wgScriptPath', 'wgUserName', 'wgCurRevisionId', 'wgContentLanguage', 'wgUserLanguage
if (wikEd.greasemonkey === true) {
globalNames.push('wikEdConfig', 'wikEdText');
Line 3,511:
if (wikEd.fixRegExTypo !== null) {
wikEd.fixRegExTypo.style.display = 'none';
}
Line 8,608 ⟶ 8,600:
// check for named references defined outside edited section
if (
true
) {
Line 10,758 ⟶ 10,749:
// check if api is enabled
if
return;
}
Line 18,160 ⟶ 18,151:
// API request
if (
var postFields = {
'format': 'xml',
|