Admin at cswiki and Wikidata. Tech Ambassadors & Translators, +2 on MediaWiki. Contribute to Pywikibot.
User Details
- User Since
- Oct 12 2014, 12:35 PM (510 w, 2 d)
- Availability
- Available
- IRC Nick
- matej_suchanek
- LDAP User
- Matěj Suchánek
- MediaWiki User
- Matěj Suchánek [ Global Accounts ]
Yesterday
Sun, Jul 21
Mon, Jul 15
Yes, every change to a filter in fact resets its throttled status.
Sun, Jul 14
This has recently again become an attack vector for abuse, so I'm reviving this task.
Fri, Jul 12
Thu, Jul 11
T368203: Abuse filters with array index access cannot be saved anymore: "MediaWiki\Extension\AbuseFilter\Parser\Exception\UserVisibleException: notarray" should be fixed in wmf.13, yet you report wmf.12.
Sat, Jul 6
Fri, Jul 5
Sun, Jun 30
Sat, Jun 29
Fri, Jun 28
Jun 24 2024
Jun 23 2024
Jun 22 2024
Having reproduced locally, I found it is this exception. The type is null (no variable has a value). Maybe it should handle DNULL in the same way as DUNDEFINED?
T307827 mentions AF194, too. So I think it is the same problem.
Jun 20 2024
Jun 19 2024
Down to 1038: https://performance.wikimedia.org/xhgui/run/view?id=66730ec0d13d323f52dc193f. (Note that the count may be different for different users and may change over time as the original link is not permanent.)
Jun 17 2024
Jun 14 2024
Something like https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=watch&format=json&unwatch=1&generator=watchlistraw&formatversion=2&gwrnamespace=6&gwrlimit=500 can remove them in batches (of 500).
Jun 12 2024
It was probably copypasted nonsense from the beginning because cleanupUsersWithNoId.php would clean up only core tables...
I'm still super confused, but I think the corruptions might be related to RenameUser. AbuseFilter did not support RenameUser until 65708afcea842c696726883ab3c13f75cf5066bb, so old af(h)_user_text are still in the database. Maybe the maintenance script is complaining because of this? Also, if there was a database import, the renamed users wouldn't propagate from prod to beta, right?
Jun 11 2024
@Ladsgroup would report similar errors on the first run: T336224#8838909.
Jun 8 2024
Jun 6 2024
It would be good to know something about the query plan and also about your watchlist. I noticed the URL includes namespace=6. What portion of your watchlist are files?
Jun 4 2024
Steps to reproduce:
Jun 3 2024
This task mixes two kinds of things.
-withoutinterwiki corresponds to https://en.wikipedia.org/wiki/Special:WithoutInterwiki. It is not a filter, it is a generator. Let's not touch that argument.
-ns(:not) and -titleregex(not) are filters. There is also -grep(not) and -onlyif(not). If anything, these should be unified.
Jun 1 2024
May 30 2024
Unfortunately, no one has come up (proposed) with a reasonable solution that would 1) be non-confusing, 2) unambiguous, 3) and cover all edge cases.
For example, you might need to undo a sequence of 10 edits, each made by a different user. Do we want to name them all? (What about the edit comment length limit?)
Or, how to indicate the span of undone revisions in a clean, yet compact way?
May 24 2024
May 23 2024
May 21 2024
May 19 2024
May 18 2024
Fair point, renamed.
May 14 2024
May 13 2024
May 12 2024
May 8 2024
I have been running into these lately, too. Especially when calling DataSite.loadrevisions.
May 5 2024
I decided to start over and small.
May 4 2024
May 3 2024
May 2 2024
Apr 29 2024
First, we need to decide which is preferred, i.e., whether the multiline string should be interpreted as with or without the carriage return, or depend on the platform. (I think it's without.)
Apr 28 2024
This is quite easy to do now, but it's unclear whether it's worth it. The usual motivation is to stop storing the username in each row to save storage and make renaming users trivial. The latter doesn't apply here since only user ids are stored for registered users (event_agent_id). The former applies only to events triggered by IPs.
However, soon, IPs will no longer be used to identify users. Writes to event_agent_ip will stop, old entries will persist forever, though.
Apr 25 2024
Looks like there is still that one problem with credentials when running in PAWS:
Apr 24 2024
That explains the "user that does not exist here". The bot is not registered on test.wikipedia.
If you log in to the bot account and visit a page on test.wikipedia.org, I believe it should solve the problem for you.
Your script is apparently making a request to test.wikipedia.org and fails, claiming you don't have an account there. It's not clear to me why.
Assuming you are using Herzi Pinki account (are you?), this is not true.
Apr 21 2024
Apr 20 2024
Not really. You can easily make a recursive rule without regex, like "a" -> "aa".
Apr 17 2024
Apr 15 2024
The code that is responsible for ensuring only one block is applied is here: https://gerrit.wikimedia.org/g/mediawiki/extensions/AbuseFilter/+/1807a077557ec1248b4ef87e46a58db3801d905b/includes/Consequences/ConsequencesExecutor.php#260.
Apr 14 2024
More evidence: there is no recent connection to nowiki in Wikidata.
Apr 13 2024
Idea (kind of compromise): Remove the UserGroupManager::addUserToGroup call from the database updater (SchemaChangesHandler). The user will be created when the extension is installed but will be promoted only if the wiki decides to use the aggressive counter-features.