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
36 stars 80 forks source link

Add an AFCH preference to turn off auto watchlisting #298

Closed NovemLinguae closed 7 months ago

NovemLinguae commented 1 year ago

Reported by Significa liberdade and Vanderwaalforces in Discord

Steps to reproduce

What happens?

What should happen instead?

Notes

MPGuy2824 commented 1 year ago

Setting the correct preference for the watchlist param while calling the edit api (https://www.mediawiki.org/wiki/API:Edit) should be enough.

zanhecht commented 1 year ago

I submitted pull request #300 for a patch which adds a "Do not add pages to watchlist" preference. When that preference is checked, it adds "watchlist: 'nochange'" to all the edit and move requests made by the script. It also makes it so the script never adds [[Wikipedia:Articles for creation/recent]] to the watchlist, since there is no value in doing so each time a draft is approved.