MediaWiki:Gadget-LiveRC 1x.js/InserisciTemplate.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Maintenance: mw:RL/MGU - Updated deprecated module name |
m Maintenance: Replacing legacy global variable (phab:T72470) |
||
Riga 451:
if(!lrcGetObjectLength(TemplateList)) TemplateList = lstMyTemplate;
var message = TemplateList[option.value];
wpajax.http({ url: mw.config.get('wgServer') + wgScriptPath + '/api.php?format=xml'
+ '&action=query&prop=info&intoken=edit'
+ '&inprop=protection'
Riga 608:
var headers = new Array();
headers['Content-Type'] = 'application/x-www-form-urlencoded';
wpajax.http({ url: mw.config.get('wgServer') + wgScriptPath + '/api.php?action=edit',
method: "POST", headers: headers,
data: Params,
|