User:Terasail/Edit Request Tool.js: Difference between revisions

Content deleted Content added
Add suggestion to track page watchers & stop using byteoffset
Fix
Line 1:
//<nowiki>
/*jshint esversion: 6*/
var editRequestBoxes = document.getElementsByClassName("plainlinks tmbox tmbox-notice editrequest");
var pageWatchers = "There are currently ";
var api = new mw.Api();
 
function postEdit(wikitext, editSummary, pageName, secIndx) {
let api = new mw.Api();