⚓ T130439 Add an AbuseFilter variable for global edit count of the user
Page Menu
Phabricator
Create Task
Maniphest
T130439
Add an AbuseFilter variable for global edit count of the user
Closed, Resolved
Public
Feature
Actions
Edit Task
Edit Related Tasks...
Create Subtask
Edit Parent Tasks
Edit Subtasks
Merge Duplicates In
Close As Duplicate
Edit Related Objects...
Edit Commits
Edit Mocks
Mute Notifications
Protect as security issue
Assigned To
matej_suchanek
Authored By
whym
Mar 19 2016, 3:21 AM
2016-03-19 03:21:50 (UTC+0)
Tags
AbuseFilter
(Filtering features)
MediaWiki-extensions-CentralAuth
(Feature requests)
MW-1.39-notes (1.39.0-wmf.16; 2022-06-13)
User-notice-archive
(Backlog)
Referenced Files
None
Subscribers
-jem-
Aklapper
DannyS712
gerritbot
Johan
Legoktm
Luke081515
View All 12 Subscribers
Description
We often use expressions like
user_editcount < 10
in order to apply a filter only to new accounts. Such a filter can disrupt the work of globally active users who don't have enough edits on the wiki in concern. Something like
user_global_editcount
would allow admins to choose to exempt globally established users.
Details
Related Changes in Gerrit:
Subject
Repo
Branch
Lines +/-
Add an AbuseFilter variable for global edit count of the user
mediawiki/extensions/CentralAuth
master
+13
-0
Track global user edit counts in a DB table
mediawiki/extensions/CentralAuth
master
+465
-14
Track global user edit counts in a DB table
mediawiki/extensions/CentralAuth
wmf/1.38.0-wmf.25
+465
-14
Customize query in gerrit
Related Objects
Search...
Task Graph
Mentions
Status
Subtype
Assigned
Task
Open
None
T181932
Add SUL/CentralAuth variables to AbuseFilter
Resolved
Feature
matej_suchanek
T130439
Add an AbuseFilter variable for global edit count of the user
Mentioned In
T307828: Separate Special:CreateLocalAccount from autocreateaccount in abuse filters
T344108: Add global_edit_count to wikireplicas
T288792: Improve performance of CentralAuth
Event Timeline
whym
created this task.
Mar 19 2016, 3:21 AM
2016-03-19 03:21:50 (UTC+0)
Restricted Application
added a subscriber:
Aklapper
View Herald Transcript
Mar 19 2016, 3:21 AM
2016-03-19 03:21:51 (UTC+0)
whym
renamed this task from
Add a variable for global edit count of the user
to
Add an AbuseFilter variable for global edit count of the user
Mar 19 2016, 3:22 AM
2016-03-19 03:22:17 (UTC+0)
whym
updated the task description.
(Show Details)
Savh
subscribed.
May 30 2016, 11:04 PM
2016-05-30 23:04:31 (UTC+0)
-jem-
subscribed.
May 30 2016, 11:04 PM
2016-05-30 23:04:50 (UTC+0)
Matiia
subscribed.
May 30 2016, 11:19 PM
2016-05-30 23:19:51 (UTC+0)
whym
added a subscriber:
Johan
Jun 5 2016, 3:15 AM
2016-06-05 03:15:05 (UTC+0)
Comment Actions
See for example
- where
@Johan
's edit were prevented by a filter which was supposed to stop a long term abuse known to use new accounts.
Luke081515
awarded a token.
Jun 5 2016, 1:54 PM
2016-06-05 13:54:56 (UTC+0)
Luke081515
subscribed.
gerritbot
subscribed.
Mar 10 2017, 6:03 PM
2017-03-10 18:03:12 (UTC+0)
Comment Actions
Change 341368 had a related patch set (by Matěj Suchánek) published:
Add an AbuseFilter variable for global edit count of the user
gerritbot
added a project:
Patch-For-Review
Mar 10 2017, 6:03 PM
2017-03-10 18:03:13 (UTC+0)
matej_suchanek
claimed this task.
Mar 10 2017, 6:03 PM
2017-03-10 18:03:54 (UTC+0)
Johan
awarded a token.
Mar 13 2017, 2:41 PM
2017-03-13 14:41:50 (UTC+0)
Legoktm
subscribed.
Jun 20 2017, 6:56 AM
2017-06-20 06:56:47 (UTC+0)
Comment Actions
I -2'd the patch as the current implementation of fetching global user edit count is too slow. I think the options we have to move forward are:
Make fetching global user edit count faster
Implement some kind of global autoconfirmed, which would fix the problem in the original report.
I think the second one is probably easier.
matej_suchanek
changed the task status from
Open
to
Stalled
Jun 20 2017, 8:16 AM
2017-06-20 08:16:37 (UTC+0)
matej_suchanek
moved this task from
Backlog
to
Feature requests
on the
MediaWiki-extensions-CentralAuth
board.
Dispenser
added a parent task:
T181932: Add SUL/CentralAuth variables to AbuseFilter
Dec 24 2017, 1:48 AM
2017-12-24 01:48:22 (UTC+0)
Daimona
moved this task from
Backlog
to
Filtering features
on the
AbuseFilter
board.
Apr 24 2018, 4:47 PM
2018-04-24 16:47:53 (UTC+0)
gerritbot
added a comment.
Dec 27 2019, 4:33 PM
2019-12-27 16:33:24 (UTC+0)
Comment Actions
Change 341368 abandoned by Matěj Suchánek:
Add an AbuseFilter variable for global edit count of the user
Reason:
Stalled for 2 years, performance concerns
matej_suchanek
removed
matej_suchanek
as the assignee of this task.
Dec 27 2019, 4:33 PM
2019-12-27 16:33:47 (UTC+0)
matej_suchanek
removed a project:
Patch-For-Review
matej_suchanek
subscribed.
DannyS712
subscribed.
Edited
Apr 27 2020, 12:26 AM
2020-04-27 00:26:49 (UTC+0)
Comment Actions
In
T130439#3362084
@Legoktm
wrote:
I -2'd the patch as the current implementation of fetching global user edit count is too slow. I think the options we have to move forward are:
Make fetching global user edit count faster
Implement some kind of global autoconfirmed, which would fix the problem in the original report.
I think the second one is probably easier.
What about adding a global edit count to the
globaluser
table, for the same reason we have on in the core
user
table?
Current table:
MariaDB [centralauth_p]> describe globaluser;
+------------------------------+---------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------------------------+---------------------------------------+------+-----+---------+-------+
| gu_id | int(11) | NO | | 0 | |
| gu_name | varbinary(255) | YES | | NULL | |
| gu_enabled | varbinary(14) | NO | | | |
| gu_enabled_method | enum('opt-in','batch','auto','admin') | YES | | NULL | |
| gu_home_db | varbinary(255) | YES | | NULL | |
| gu_email | binary(0) | YES | | NULL | |
| gu_email_authenticated | binary(0) | YES | | NULL | |
| gu_salt | binary(0) | YES | | NULL | |
| gu_password | binary(0) | YES | | NULL | |
| gu_locked | tinyint(1) | NO | | 0 | |
| gu_hidden | varbinary(255) | NO | | | |
| gu_registration | varbinary(14) | YES | | NULL | |
| gu_password_reset_key | binary(0) | YES | | NULL | |
| gu_password_reset_expiration | binary(0) | YES | | NULL | |
| gu_auth_token | binary(0) | YES | | NULL | |
+------------------------------+---------------------------------------+------+-----+---------+-------+
Aklapper
changed the task status from
Stalled
to
Open
Nov 2 2020, 5:34 PM
2020-11-02 17:34:31 (UTC+0)
Comment Actions
The previous comments don't explain who or what (task?) exactly this task is stalled on (
"If a report is waiting for further input (e.g. from its reporter or a third party) and can currently not be acted on"
). Hence resetting task status, as tasks should not be stalled (and then potentially forgotten) for years for unclear reasons.
(Smallprint, as general orientation for task management:
If you wanted to express that nobody is currently working on this task, then the assignee should be removed and/or priority could be lowered instead.
If work on this task is blocked by another task, then that other task should be added via
Edit Related Tasks...
Edit Subtasks
If this task is stalled on an upstream project, then the
Upstream
tag should be added.
If this task requires info from the task reporter, then there should be instructions which info is needed.
If this task needs retesting, then the
TestMe
tag should be added.
If this task is out of scope and nobody should ever work on this, or nobody else managed to reproduce the situation described here, then it should have the "Declined" status.
If the task is valid but should not appear on some team's workboard, then the team project tag should be removed while the task has another active project tag.)
gerritbot
added a comment.
Jan 31 2022, 5:59 AM
2022-01-31 05:59:34 (UTC+0)
Comment Actions
Change 758120 had a related patch set uploaded (by Tim Starling; author: Tim Starling):
[mediawiki/extensions/CentralAuth@master] Track global user edit counts in a DB table
gerritbot
added a project:
Patch-For-Review
Jan 31 2022, 5:59 AM
2022-01-31 05:59:35 (UTC+0)
gerritbot
added a comment.
Feb 7 2022, 10:49 AM
2022-02-07 10:49:28 (UTC+0)
Comment Actions
Change 341368
restored
by Matěj Suchánek:
[mediawiki/extensions/CentralAuth@master] Add an AbuseFilter variable for global edit count of the user
gerritbot
added a comment.
Mar 10 2022, 10:02 PM
2022-03-10 22:02:33 (UTC+0)
Comment Actions
Change 769561 had a related patch set uploaded (by Tim Starling; author: Tim Starling):
[mediawiki/extensions/CentralAuth@wmf/1.38.0-wmf.25] Track global user edit counts in a DB table
gerritbot
added a comment.
Mar 10 2022, 10:03 PM
2022-03-10 22:03:38 (UTC+0)
Comment Actions
Change 758120
merged
by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Track global user edit counts in a DB table
gerritbot
added a comment.
Mar 10 2022, 10:04 PM
2022-03-10 22:04:59 (UTC+0)
Comment Actions
Change 769561
merged
by jenkins-bot:
[mediawiki/extensions/CentralAuth@wmf/1.38.0-wmf.25] Track global user edit counts in a DB table
matej_suchanek
changed the task status from
Open
to
In Progress
Mar 11 2022, 9:54 AM
2022-03-11 09:54:27 (UTC+0)
matej_suchanek
claimed this task.
Legoktm
added a project:
User-notice
Jun 10 2022, 12:00 AM
2022-06-10 00:00:21 (UTC+0)
Comment Actions
This should get a mention in tech news, like the other new variables/functions have been getting.
gerritbot
added a comment.
Jun 10 2022, 12:12 AM
2022-06-10 00:12:53 (UTC+0)
Comment Actions
Change 341368
merged
by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Add an AbuseFilter variable for global edit count of the user
ReleaseTaggerBot
added a project:
MW-1.39-notes (1.39.0-wmf.16; 2022-06-13)
Jun 10 2022, 1:00 AM
2022-06-10 01:00:15 (UTC+0)
Quiddity
subscribed.
Jun 10 2022, 8:49 PM
2022-06-10 20:49:17 (UTC+0)
Comment Actions
In
T130439#7993643
@Legoktm
wrote:
This should get a mention in tech news, like the other new variables/functions have been getting.
Would this be an accurate summary?
A new
user_global_editcount
variable can be used in abuse filters to avoid affecting globally active users.
(Drafts always appreciated!)
Quiddity
moved this task from
To Triage
to
Announce in next Tech/News
on the
User-notice
board.
Jun 10 2022, 10:40 PM
2022-06-10 22:40:10 (UTC+0)
matej_suchanek
closed this task as
Resolved
Jun 13 2022, 8:30 AM
2022-06-13 08:30:27 (UTC+0)
matej_suchanek
changed the subtype of this task from "Task" to "Feature Request".
matej_suchanek
removed a project:
Patch-For-Review
Comment Actions
In
T130439#7995727
@Quiddity
wrote:
Would this be an accurate summary?
A new
user_global_editcount
variable can be used in abuse filters to avoid affecting globally active users.
(Drafts always appreciated!)
Yes, it explains well the intent, too.
Quiddity
moved this task from
Announce in next Tech/News
to
In current Tech/News draft
on the
User-notice
board.
Jun 16 2022, 9:21 PM
2022-06-16 21:21:35 (UTC+0)
ToBeFree
awarded a token.
Jun 21 2022, 8:00 PM
2022-06-21 20:00:26 (UTC+0)
Quiddity
moved this task from
In current Tech/News draft
to
Already announced/Archive
on the
User-notice
board.
Jun 23 2022, 9:34 PM
2022-06-23 21:34:12 (UTC+0)
whym
updated the task description.
(Show Details)
Jul 2 2022, 2:43 AM
2022-07-02 02:43:02 (UTC+0)
Ladsgroup
edited projects, added
User-notice-archive
; removed
User-notice
Aug 13 2022, 1:53 PM
2022-08-13 13:53:28 (UTC+0)
Umherirrender
mentioned this in
T288792: Improve performance of CentralAuth
Jun 14 2023, 7:19 PM
2023-06-14 19:19:41 (UTC+0)
AntiCompositeNumber
mentioned this in
T344108: Add global_edit_count to wikireplicas
Aug 12 2023, 7:45 PM
2023-08-12 19:45:10 (UTC+0)
LD
mentioned this in
T307828: Separate Special:CreateLocalAccount from autocreateaccount in abuse filters
Mar 22 2024, 11:49 AM
2024-03-22 11:49:09 (UTC+0)
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct.
Wikimedia Foundation
Code of Conduct
Disclaimer
CC-BY-SA
GPL
Credits