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

window.afchSuppressDevEdits = false to turn off silent mode #230

Closed NovemLinguae closed 1 year ago

NovemLinguae commented 2 years ago

When running the development version of AFCH locally, it appears to have a default of not modifying any pages. My preferred testing style is to do live tests on test.wikipedia.org. I'd like a quick and easy way to always have it modify pages.

My fix is adding support for the following line to be added to common.js files:

window.afchSuppressDevEdits = false;

NovemLinguae commented 1 year ago

@siddharthvp, looks like you +1'd this one about a year ago. Think it's ready for +2?

siddharthvp commented 1 year ago

Yeah, though I wonder if we should default AFCH.consts.mockItUp to false and have a common.js flag for enabling it instead ...