MediaWiki talk:Gadget-libAPI.js
Jump to navigation
Jump to search
Editrequest: Add cancel edit queue function
[edit]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)- Thank you very much! --Zache (talk) 00:46, 9 October 2024 (UTC)