Page MenuHomePhabricator

MediaWiki-User-managementComponent
ActivePublic

Members (1)

Watchers (6)

Details

Description
  • User rights: The functionality around changing and viewing of user groups and user rights, including the API and special page (Special:UserRights) for changing user groups, auto promote and auto confirmation.
  • User list: Misc User-related special pages such as Special:ListUsers, and Special:ActiveUsers, and their APIs.
  • Other: Internals such as the User and UserRightsProxy classes in MediaWiki PHP code, the user database table. It seems the Actor concept could be covered here as well (unless it is covered by another component).

This project is part of the core MediaWiki software itself.

For user blocking, see MediaWiki-Blocks.
For user preferences, see MediaWiki-Core-Preferences.
For Special:Contributions and Special:DeletedContributions. see MediaWiki-Special-pages

Recent Activity

Yesterday

matmarex added a comment to T399793: PermissionManager::missingPermissionError ignores $short.

Yeah, you're right, that's my mistake. Would you like to submit a patch or shall I?

Thu, Jul 17, 8:53 PM · MediaWiki-User-management
Jdforrester-WMF closed T399621: "Deprecated: Creation of dynamic property" in SearchVue, a subtask of T314099: PHP 8.2: Dynamic property creation is deprecated, as Resolved.
Thu, Jul 17, 7:03 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), MW-1.39-notes, MW-1.35-notes, MW-1.38-notes, MW-1.37-notes, MediaWiki-Parser, MediaWiki-Core-Tests, MediaWiki-User-management, PHP 8.2 support
cookmeplox created T399793: PermissionManager::missingPermissionError ignores $short.
Thu, Jul 17, 1:29 AM · MediaWiki-User-management

Tue, Jul 15

A_smart_kitten added a project to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated: MediaWiki-extensions-OATHAuth.
Tue, Jul 15, 10:23 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
bd808 renamed T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated from Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users that thier permissions will not work to Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.
Tue, Jul 15, 9:43 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
Tgr reopened T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated as "Open".

OATHAuth removes interface-admin from your effective groups when you don't use 2FA. Some groups-related MediaWiki APIs report your effective groups (as in UserGroupManager::getUserEffectiveGroups(), others report your explicit groups (as in UserGroupManager::getUserGroups()) which don't include groups added/removed dynamically by hooks, autopromotion-based groups, implicit groups like temp... It's not great, but also not easy to fix (calculating effective groups is probably too expensive for batch APIs, and it's impossible to filter on non-explicit groups), and not specific to OATHAuth.

Tue, Jul 15, 9:25 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
bd808 renamed T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated from Inconsistent user permissions for users who were recently added to a new group (June 2025 edition) to Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users that thier permissions will not work.
Tue, Jul 15, 8:47 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
bd808 closed T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated as Resolved.

I think the docs that @LucasWerkmeister wrote were the actionable outcome here.

Tue, Jul 15, 8:45 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
bd808 added a parent task for T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated: T150898: Force OATHAuth (2FA) for certain user groups in Wikimedia production and Beta wikis.
Tue, Jul 15, 8:45 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
matmarex added a subtask for T314099: PHP 8.2: Dynamic property creation is deprecated: T399621: "Deprecated: Creation of dynamic property" in SearchVue.
Tue, Jul 15, 7:09 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MW-1.40-notes (1.40.0-wmf.22; 2023-02-06), MW-1.39-notes, MW-1.35-notes, MW-1.38-notes, MW-1.37-notes, MediaWiki-Parser, MediaWiki-Core-Tests, MediaWiki-User-management, PHP 8.2 support

Sun, Jul 13

Ladsgroup reopened T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated as "Open".
Sun, Jul 13, 7:31 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
Lobo77 closed T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated as Resolved.
Sun, Jul 13, 7:31 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management

Fri, Jul 11

Tgr updated the task description for T399247: pingLimiter should return the throttle duration when the user is throttled.
Fri, Jul 11, 4:21 PM · MediaWiki-User-management

Thu, Jul 10

Tgr added a parent task for T399247: pingLimiter should return the throttle duration when the user is throttled: T134953: Merge Throttler and ping limiter.
Thu, Jul 10, 9:56 PM · MediaWiki-User-management
Tgr created T399247: pingLimiter should return the throttle duration when the user is throttled.
Thu, Jul 10, 9:56 PM · MediaWiki-User-management

Mon, Jul 7

JTweed-WMF edited projects for T203913: User.php: Cannot create a user with no name, no ID, and no actor ID (Unable to delete certain pages on Chinese Wikisource), added: MediaWiki-Platform-Team (Radar); removed MediaWiki-Platform-Team.
Mon, Jul 7, 2:43 PM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Page-deletion, MediaWiki-User-management, Wikimedia-production-error, Chinese-Sites

Wed, Jul 2

Tgr added a comment to T203913: User.php: Cannot create a user with no name, no ID, and no actor ID (Unable to delete certain pages on Chinese Wikisource).

It's a bit hard to interpret the task description and the comments; apparently both pages mentioned in the description have been successfully deleted in the meantime, and the page history shows Unknown user for the first edit.

mysql:research@dbstore1007.eqiad.wmnet [zhwikisource]> select * from archive where ar_title = '宇宙浪子' and ar_parent_id = 0;
+-------+--------------+--------------+---------------+----------+----------------+---------------+-----------+------------+--------+------------+--------------+---------------------------------+
| ar_id | ar_namespace | ar_title     | ar_comment_id | ar_actor | ar_timestamp   | ar_minor_edit | ar_rev_id | ar_deleted | ar_len | ar_page_id | ar_parent_id | ar_sha1                         |
+-------+--------------+--------------+---------------+----------+----------------+---------------+-----------+------------+--------+------------+--------------+---------------------------------+
| 55702 |            0 | 宇宙浪子     |             1 |    72325 | 20010115000000 |             0 |    209282 |          0 |     28 |     108661 |            0 | 91nyffwsl71ubxm0dji7u1bljr5d8fl |
+-------+--------------+--------------+---------------+----------+----------------+---------------+-----------+------------+--------+------------+--------------+---------------------------------+
1 row in set (0.094 sec)
Wed, Jul 2, 2:50 PM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Page-deletion, MediaWiki-User-management, Wikimedia-production-error, Chinese-Sites
Maintenance_bot added a project to T203913: User.php: Cannot create a user with no name, no ID, and no actor ID (Unable to delete certain pages on Chinese Wikisource): MW-Interfaces-Team.
Wed, Jul 2, 9:30 AM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Page-deletion, MediaWiki-User-management, Wikimedia-production-error, Chinese-Sites
Michael edited projects for T203913: User.php: Cannot create a user with no name, no ID, and no actor ID (Unable to delete certain pages on Chinese Wikisource), added: MediaWiki-Platform-Team; removed Growth-Team-Filtering, Growth-Team.

I'm not sure why Growth Team would have been the maintainer of this back in 2018, but I'm pretty sure we no longer own the logic to delete pages in 2025. Untagging us, and tagging the platform team maybe, because this is very much MediaWiki core? No idea if anything here still needs doing.

Wed, Jul 2, 9:20 AM · MediaWiki-Platform-Team (Radar), MW-Interfaces-Team, MediaWiki-Page-deletion, MediaWiki-User-management, Wikimedia-production-error, Chinese-Sites

Mon, Jun 30

Ciell created T398216: Create VRT user rights group for nl-wp.
Mon, Jun 30, 3:45 PM · Wikimedia-Site-requests

Tue, Jun 24

Niharika moved T336089: Trying to create a user on Special:CreateAccount which is named like temp user a user exists message is shown from Triaged to Someday / Maybe on the Temporary accounts board.
Tue, Jun 24, 7:02 AM · Trust and Safety Product Team, MediaWiki-User-management, Temporary accounts

Mon, Jun 23

JTweed-WMF edited projects for T397304: Clarify local and global groups per wiki on user listing interfaces, added: MediaWiki-Platform-Team (Radar), Trust-and-Safety; removed MediaWiki-Platform-Team.
Mon, Jun 23, 2:23 PM · Trust-and-Safety, MediaWiki-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, MediaWiki-User-management

Thu, Jun 19

phuedx added a comment to T267217: MediaWiki Session ID should have per-subdomain and cross-subdomain variants.

IIRC @mpopov and I discussed this in Slack some time ago and arrived at a potential solution: Have Varnish derive one or more session cookies from Edge Unique cookie, e.g.

Thu, Jun 19, 11:43 AM · Experimentation Lab, MediaWiki-User-management

Wed, Jun 18

A_smart_kitten added a project to T397304: Clarify local and global groups per wiki on user listing interfaces: MediaWiki-extensions-CentralAuth.
Wed, Jun 18, 10:44 AM · Trust-and-Safety, MediaWiki-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, MediaWiki-User-management
LD created T397304: Clarify local and global groups per wiki on user listing interfaces.
Wed, Jun 18, 10:25 AM · Trust-and-Safety, MediaWiki-Platform-Team (Radar), MediaWiki-extensions-CentralAuth, MediaWiki-User-management

Jun 16 2025

Tgr merged task T214722: Introduce global system users into T275931: Have new system users be automatically attached to CentralAuth.
Jun 16 2025, 6:20 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
matmarex edited projects for T214722: Introduce global system users, added: MediaWiki-Platform-Team (Radar); removed MediaWiki-Platform-Team.
Jun 16 2025, 3:15 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
JTweed-WMF moved T214722: Introduce global system users from Inbox, needs triage to Needs refinement on the MediaWiki-Platform-Team board.
Jun 16 2025, 2:25 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth

Jun 11 2025

Tgr added a comment to T214722: Introduce global system users.

It's more or less the same issue (the less part is that in theory you could have a manual way to create global system users, that doesn't automatically get applied to all system users; but that seems like overcomplicating it) but it's more complex than just attaching. What if the central account does not exist yet? What if it exists but isn't a system user (and you are using the steal flag)? We don't even have an isSystemUser() equivalent for central users.

Jun 11 2025, 7:55 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth

Jun 10 2025

Restricted Application added a project to T214722: Introduce global system users: MediaWiki-Platform-Team.

I've been cleaning up some tasks about global system users. It's not clear to me what is the difference between this task and T275931: Have new system users be automatically attached to CentralAuth.

Jun 10 2025, 11:32 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
matmarex removed a subtask for T214722: Introduce global system users: T386790: 'Delete page script' should have a global account.
Jun 10 2025, 11:27 PM · MediaWiki-Platform-Team (Radar), MediaWiki-User-management, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth

Jun 9 2025

Niharika moved T339291: Should temp users be counted as registered & active users on Special:Statistics? from Needs Product/Legal/Design/MoveComms to Needs Other Teams on the Temporary accounts board.
Jun 9 2025, 7:47 AM · Trust and Safety Product Team, MediaWiki-User-management, MediaWiki-Special-pages, Temporary accounts

Jun 7 2025

LucasWerkmeister added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Documented the 2FA requirement on mw:Beta Cluster, maybe it helps someone in future.

Jun 7 2025, 7:27 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
Maintenance_bot removed a project from T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated: Patch-For-Review.
Jun 7 2025, 5:30 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
gerritbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Change #1153674 abandoned by Lucas Werkmeister:

[operations/mediawiki-config@master] beta cluster: Disable $wgOATHRequiredForGroups

https://gerrit.wikimedia.org/r/1153674

Jun 7 2025, 5:29 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management

Jun 6 2025

sbassett added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

I don’t even want to imagine what horrible things this enforcement mechanism is doing to make MediaWiki behave in this bizarre way.

Jun 6 2025, 4:07 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management

Jun 5 2025

Tchanders updated subscribers of T395365: Modernise and unify UI for Special:UserRights and Special:GlobalUserRights.

@KColeman-WMF the expiry indentation could be removed with a small patch if necessary.

Jun 5 2025, 1:41 PM · MediaWiki-Platform-Team (Roadmap), MediaWiki-extensions-CentralAuth, MediaWiki-User-management
Tchanders added a comment to T395365: Modernise and unify UI for Special:UserRights and Special:GlobalUserRights.

Two issues with the current design were noted in T394933#10885774:

  • The extra indentation of the expiry fields is jarring (implemented in this line of CSS)
  • The column widths are uneven, with the "Groups you can change" column being much wider
Jun 5 2025, 1:34 PM · MediaWiki-Platform-Team (Roadmap), MediaWiki-extensions-CentralAuth, MediaWiki-User-management

Jun 4 2025

Stashbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Mentioned in SAL (#wikimedia-operations) [2025-06-04T20:15:25Z] <cjming@deploy1003> Finished scap sync-world: Backport for [[gerrit:1153673|beta cluster: Set $wgOATHAuthAccountPrefix (T396061)]] (duration: 10m 13s)

Jun 4 2025, 8:15 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
A_smart_kitten added a project to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated: Beta-Cluster-Infrastructure.
Jun 4 2025, 8:12 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
Stashbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Mentioned in SAL (#wikimedia-operations) [2025-06-04T20:07:18Z] <cjming@deploy1003> lucaswerkmeister, cjming: Backport for [[gerrit:1153673|beta cluster: Set $wgOATHAuthAccountPrefix (T396061)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Jun 4 2025, 8:07 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
Stashbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Mentioned in SAL (#wikimedia-operations) [2025-06-04T20:05:11Z] <cjming@deploy1003> Started scap sync-world: Backport for [[gerrit:1153673|beta cluster: Set $wgOATHAuthAccountPrefix (T396061)]]

Jun 4 2025, 8:05 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
gerritbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Change #1153673 merged by jenkins-bot:

[operations/mediawiki-config@master] beta cluster: Set $wgOATHAuthAccountPrefix

https://gerrit.wikimedia.org/r/1153673

Jun 4 2025, 8:04 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
ReleaseTaggerBot added a project to T281394: Hard-deprecate User::whoIs/whoIsReal (and remove in 1.45): MW-1.45-notes (1.45.0-wmf.5; 2025-06-10).
Jun 4 2025, 8:00 PM · MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), Patch-For-Review, MW-1.45-release, MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), MediaWiki-User-management, MW-1.37-notes (1.37.0-wmf.6; 2021-05-18), Platform Team Workboards (MW Expedition)
Umherirrender closed T281394: Hard-deprecate User::whoIs/whoIsReal (and remove in 1.45) as Resolved.
Jun 4 2025, 7:37 PM · MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), Patch-For-Review, MW-1.45-release, MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), MediaWiki-User-management, MW-1.37-notes (1.37.0-wmf.6; 2021-05-18), Platform Team Workboards (MW Expedition)
gerritbot added a comment to T281394: Hard-deprecate User::whoIs/whoIsReal (and remove in 1.45).

Change #1153343 merged by jenkins-bot:

[mediawiki/core@master] user: Remove hard-deprecated User::whoIs/whoIsReal

https://gerrit.wikimedia.org/r/1153343

Jun 4 2025, 7:34 PM · MW-1.45-notes (1.45.0-wmf.5; 2025-06-10), Patch-For-Review, MW-1.45-release, MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), MediaWiki-User-management, MW-1.37-notes (1.37.0-wmf.6; 2021-05-18), Platform Team Workboards (MW Expedition)
gerritbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Change #1153674 had a related patch set uploaded (by Lucas Werkmeister; author: Lucas Werkmeister):

[operations/mediawiki-config@master] beta cluster: Disable $wgOATHRequiredForGroups

https://gerrit.wikimedia.org/r/1153674

Jun 4 2025, 6:26 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
gerritbot added a project to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated: Patch-For-Review.
Jun 4 2025, 6:19 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
gerritbot added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

Change #1153673 had a related patch set uploaded (by Lucas Werkmeister; author: Lucas Werkmeister):

[operations/mediawiki-config@master] beta cluster: Set $wgOATHAuthAccountPrefix

https://gerrit.wikimedia.org/r/1153673

Jun 4 2025, 6:19 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management
LucasWerkmeister added a comment to T396061: Groups requiring 2FA via $wgOATHRequiredForGroups do not clearly warn users without 2FA that their permissions were truncated.

I set up 2FA for my Beta account and then it’s no longer my problem

Jun 4 2025, 6:14 PM · MediaWiki-extensions-OATHAuth, Beta-Cluster-reproducible, MediaWiki-User-management