Content deleted Content added
Writ Keeper (talk | contribs) switch from global variables to jquery data |
Writ Keeper (talk | contribs) convert to oo.ui for confirmation dialogs |
||
Line 1:
mw.hook("wikipage.content").add( function()
{
mw.loader.using(["mediawiki.api","mediawiki.notify","oojs-ui"]).then(function ()
{
var apiLimit = 500;
Line 225:
confirmString = confirmString + "\nYour revdel summary is: "+ summary +"\n\nAre you sure you want to do this?";
if(oo.ui.confirm(confirmString))
{
var numCompleted = 0;
Line 407:
confirmString = confirmString + "\nYour oversight summary is: "+ summary +"\n\nAre you sure you want to do this?";
if(oo.ui.confirm(confirmString))
{
var numCompleted = 0;
|