User:SD0001/GAR-helper.js: Difference between revisions

Content deleted Content added
bug
No edit summary
Line 32:
 
var form = new Morebits.quickForm(gar.evaluate);
mw.util.addCSS('.quickform * { font-size: 12px; }');
 
var typefield = form.append({
Line 118 ⟶ 120:
 
tm.execute().then(function() {
Morebits.status.actionCompleted('Nomination completed. Redirecting to nomination page in 10 seconds...');
new Morebits.status('Notifications', ['The script has notified the the reviewer and page creator. ' +
setTimeout(function() {
'Please consider manually notifying other involved editors and WikiProjects using ',
___location.href = mw.util.getUrl(gar.garpage);
Morebits.htmlNode('code', '{{subst:GARMessage|' + gar.title + '|' + (gar.garc ? 'GAR' : '') + 'page=' + gar.num + '}} ~~~~') ], 'warn');
}, 10000);
});