Content deleted Content added
attempt to fix error Tag: Reverted |
update setScriptName |
||
(4 intermediate revisions by the same user not shown) | |||
Line 52:
};
movePlus.advert = ' using [[User:
movePlus.preEvaluate = async function() {
Line 153:
movePlus.Window = new Morebits.simpleWindow(600, 450);
movePlus.Window.setTitle( "Close requested move" );
movePlus.Window.setScriptName('
movePlus.Window.addFooterLink('RM Closing instruction', 'WP:RMCI');
movePlus.Window.addFooterLink('Script documentation', 'User:BilledMammal/Move+');
movePlus.Window.addFooterLink('Give feedback', 'User talk:
var form = new Morebits.quickForm(function(e) {
Line 406:
movePlus.Window = new Morebits.simpleWindow(600, 450);
movePlus.Window.setScriptName('
movePlus.Window.addFooterLink('Moving instructions', 'Wikipedia:Moving a page');
movePlus.Window.addFooterLink('Script documentation', 'User:BilledMammal/Move+');
movePlus.Window.addFooterLink('Give feedback', 'User talk:
}
Line 1,495:
function addButton(container, curr, dest, type, admin = false) {
let config;
let operation;
let label;
Line 1,504 ⟶ 1,505:
case "move":
operation = async function(progressBox) {
await movePlus.movePage(this.name, this.extra, moveSummary, progressBox, config);
};
Line 1,520 ⟶ 1,521:
case "roundRobin":
operation = async function(progressBox) {
await movePlus.moveRoundRobin(this.name, this.extra, moveSummary, progressBox, config);
};
Line 1,528 ⟶ 1,529:
case "technicalRequest":
operation = async function(progressBox) {
await movePlus.submitRMTR(this.name, this.extra, admin, rmtrReason, progressBox);
};
Line 2,419 ⟶ 2,420:
Window.setTitle( "Notify WikiProjects about requested move" );
Window.setScriptName('movePlus');
Window.addFooterLink('Script documentation', 'User:BilledMammal/
Window.addFooterLink('Give feedback', 'User talk:
var form = new Morebits.quickForm(movePlus.notifyCheck);
|