You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you explain the bot=1 parameter / revert more in-depth or link article that explains this? I'm not familiar with bot options myself on Mediawiki.
Ah, sorry, I lost some notifications... You can revert pages adding bot=1 to the URL, and it will mark such rollback actions as bot (both the rollback and the edits being rollback). Even on Special:Contributions, it will propagate the bot=1 parameter to all rollback links. Useful for vandalism. This doesn't require the bot flag
I've tried catching this parameter somehow, but no luck. The problem is that I could not find this parameter anywhere in the parameters passed to the $article, $revision etc... It's not also possible to check the query parameters or use MediaWiki's $wgRequest parameter because these parameters are being checked from the final URL, not the one you submit.
Leaving this thread open for someone else to tackle this, though...
When adding bot=1 to URL parameters on revert, it shouldn't send notifications to Discord. Or at least, allow it to be configurable.
The text was updated successfully, but these errors were encountered: