Thanks a lot for the response John! Unfortunately the module itself assumes the title of the page is known, which is exactly what I'm missing. However, if nothing better comes up, I'll just use the tracking category for unprotected pages. Probably not perfect, but better than what I had.Strainu_______________________________________________În mar., 7 oct. 2025 la 17:04, John <phoenixoverride@gmail.com> a scris:Take a look at enwiki’s Module:Protection banner. It has some code for this_______________________________________________On Tue, Oct 7, 2025 at 9:07 AM Strainu <strainu10@gmail.com> wrote:_______________________________________________Hi all,I'm trying to automate wrangling protection templates. Adding them is trivial, but I'm having issues with the removal. The best I have is go waaay back on protections, check the expiration date and see if the page is still protected. But that's both expensive and useless for long-term protections.Is there any event/notification/anything at all available through the API that would allow me to know which pages' protection expired recently without keeping a list of protected pages?Thanks,Strainu
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/