Forskel mellem versioner af "Bruger:Dk-2100/monobook.js"

102 bytes tilføjet ,  for 3 måneder siden
m
Maintenance: Replacing legacy global variable (phab:T72470)
m (Maintenance: Replacing legacy global variable (phab:T72470))
 
return false;
}
var editlk = mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=' + encodeURIComponent (wgPageName)
+ '&action=edit';
if (hotcat_evtkeys (evt) & 1) // CTRL pressed?
v = v.ucFirst ();
// Get the links and the categories of the chosen category page
var url = mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/api.php?action=query&titles='
+ encodeURIComponent ('Category:' + v)
+ '&prop=info|links|categories&plnamespace=14&format=json';
return ;
}
var editlk = mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=' + encodeURIComponent (wgPageName)
+ '&action=edit';
var url = editlk + '&hotcat_newcat=' + encodeURIComponent( v ) ;
157

redigeringer