Content deleted Content added
No edit summary |
No edit summary |
||
Line 22:
if(sectionLog[i].match(/Requested move \d/gm) && sectionLog[i+1].match(/{{requested move.*/g)){
var section = sectionLog[i+1];
section = section + '\n{{subst:
var closeMSG = window.prompt("Close Message : ");
var updatedSection = section.replace(/{{requested move.*/g,'{{subst:
result = result.replace(sectionLog[i+1], updatedSection);
console.log(result);
Line 49:
console.log('Already relisted atleast once');
var prevRelists = section.match(/'''''Relisting.*>/);
var newRelists = prevRelists + '{{subst
var updatedSection = section.replace(prevRelists, newRelists);
result = result.replace(section, updatedSection);
Line 56:
}
else{
var updatedSection = section.replace(section.match(/.UTC./m),'(UTC){{subst
result = result.replace(section, updatedSection);
console.log(result);
Line 92:
var reason = window.prompt("Request reason : ");
var techReq = '{{subst:
var api2 = new mw.Api();
|