wikimedia-gadgets / afc-helper

A tool for reviewing Articles for Creation submissions on the English Wikipedia
https://en.wikipedia.org/wiki/Wikipedia:AFCH
GNU General Public License v3.0
37 stars 80 forks source link

WikiProject not removed #215

Open NovemLinguae opened 2 years ago

NovemLinguae commented 2 years ago

Accepting these versions of the draft and draft talk page:

https://en.wikipedia.org/w/index.php?title=Macropis_patellata&oldid=1068180484 https://en.wikipedia.org/w/index.php?title=Talk:Macropis_patellata&oldid=1068180483

After I clicked accept, the accept form popped up to change the WikiProjects. I removed biology and added insects. I clicked accept again.

The talk page erroneously contains AFC, insects, and biology. Should only contain AFC and insects.

zanhecht commented 2 years ago

This is likely a caching issue. As far as I can tell, the current script doesn't expire the cached WikiProject data until a new version of AFCH is released. Ideally it should have an expiration time of 1 week, as that is how often Wikipedia:WikiProject_Articles_for_creation/WikiProject_templates.json is updated.