MediaWiki talk:Gadget-libAPI.js
Editrequest: Add cancel edit queue function
Hi, would somebody with interface-admin rights to add function below to MediaWiki:Gadget-libAPI.js (example diff). Function is for adding a method for aborting the edit queue. It would be used in Cat-a-lot.js. @Lucas Werkmeister:
abortPendingRequests: function() { apiRequestQueue = []; },
Also if possible remove unnecessary confrontation from the lead section. (Example: diff) -- Zache (talk) 03:23, 7 October 2024 (UTC)
Done; I opted to clear the queue with
.length
instead just in case anything else is holding onto the same array instance. --Lucas Werkmeister (talk) 20:57, 7 October 2024 (UTC)