Page MenuHomePhabricator

Upstream UserPageEditProtection to MediaWiki core
Closed, ResolvedPublic

Description

The UserPageEditProtection extension creates a new userright that allows for the restriction of who can edit other users' userpages. This pattern is already enforced on wikis like metawiki using AbuseFilters and now jawiki appears to need this functionality. It would be nice to have this ability as a configuration variable in mediawiki-core.

Event Timeline

Thank you. I have no objections from my side to move the extension’s functionality into MediaWiki core.

Change #1283109 had a related patch set uploaded (by Neriah; author: neriah):

[mediawiki/core@master] Add UserPageEditProtection to core

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

neriah changed the task status from Open to In Progress.May 5 2026, 11:35 PM
neriah claimed this task.
neriah triaged this task as Low priority.
neriah moved this task from Backlog to User rights on the MediaWiki-User-management board.
neriah added a project: MediaWiki-Page-rename.

Change #1283109 merged by jenkins-bot:

[mediawiki/core@master] Add UserPageEditProtection to core

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

Should we announce in Tech News that this feature can now be enabled? It could be used by wikis that have been doing this until now with the abuse filter (T392754#11392644)

@neriah, I am responding to the user notice tag. How should this be worded for tech news?

@neriah, I am responding to the user notice tag. How should this be worded for tech news?

From now on, wikis can restrict editing in the "User" namespace to only the page owner and certain user groups. [https://www.mediawiki.org/wiki/Manual:$wgRestrictUserPageEditing]

Change #1316033 had a related patch set uploaded (by Krinkle; author: Krinkle):

[mediawiki/extensions/UserPageEditProtection@master] i18n: Remove right-editalluserpages message that clashes with core

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

Change #1316033 merged by jenkins-bot:

[mediawiki/extensions/UserPageEditProtection@master] i18n: Remove right-editalluserpages message that clashes with core

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