Page MenuHomePhabricator

MediaWiki-Page-protectionComponent
ActivePublic

Details

Description

The MediaWiki core feature to protect pages. Including:

  • Related database schema.
  • The backend for the page action (action=protect).
  • The user interface and API module for the protect and unprotect actions.
  • Misc features, such as Special:ProtectedPages.

Recent Activity

Yesterday

Pppery moved T367826: [Bug] Special:ProtectedPages has color contrast issues from To triage to Maintenance reports on the MediaWiki-Special-pages board.
Sat, Aug 17, 4:54 AM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome

Fri, Aug 9

Epidosis renamed T189412: Granular protection for Wikidata items from Granular protection for wikidata items to Granular protection for Wikidata items.
Fri, Aug 9, 12:52 PM · Wikidata data quality and trust, patch-welcome, MediaWiki-Page-protection, Wikidata

Sun, Aug 4

Pppery edited projects for T101225: Dropdown value strings on Protection page are in default wiki language even though user prefers other language, added: MediaWiki-Page-protection; removed MediaWiki-Special-pages.
Sun, Aug 4, 4:27 PM · MediaWiki-Page-protection, Chinese-Sites, I18n

Fri, Aug 2

Pppery added a project to T367826: [Bug] Special:ProtectedPages has color contrast issues: MediaWiki-Special-pages.
Fri, Aug 2, 4:23 AM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome
Pppery edited projects for T367826: [Bug] Special:ProtectedPages has color contrast issues, added: MediaWiki-Page-protection; removed MediaWiki-Special-pages.
Fri, Aug 2, 4:22 AM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome

Thu, Aug 1

Pppery merged T209256: Add padlock icons to protected pages (by default) into T12347: Should protection status indicators be handled by MediaWiki core (vs. templates)?.
Thu, Aug 1, 10:47 PM · MediaWiki-Page-protection, User-notice, MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), MediaWiki-Engineering, Design, Vector (legacy skin), Desktop Improvements (Vector 2022), Community-Wishlist-Survey-2016, JavaScript, MediaWiki-User-Interface
Pppery merged task T209256: Add padlock icons to protected pages (by default) into T12347: Should protection status indicators be handled by MediaWiki core (vs. templates)?.
Thu, Aug 1, 10:44 PM · MediaWiki-Page-protection, MediaWiki-extension-requests
Htriedman added a comment to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page.

I'm about to leave WMF, and I wanted to leave a comment here summarizing the design spec for this desired functionality.

Thu, Aug 1, 9:10 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Sat, Jul 27

Bugreporter added a comment to T371143: Protection indicators should support adding tracking category.

Note some data models do not support categories (such as items), so having categories on them, while potentially useful, may give users impression that Item pages can be categorized.

Sat, Jul 27, 9:58 AM · MediaWiki-Categories, MediaWiki-Page-protection

Fri, Jul 26

Pppery added a project to T12347: Should protection status indicators be handled by MediaWiki core (vs. templates)?: MediaWiki-Page-protection.
Fri, Jul 26, 7:22 PM · MediaWiki-Page-protection, User-notice, MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), MediaWiki-Engineering, Design, Vector (legacy skin), Desktop Improvements (Vector 2022), Community-Wishlist-Survey-2016, JavaScript, MediaWiki-User-Interface
Pppery added a project to T371143: Protection indicators should support adding tracking category: MediaWiki-Categories.
Fri, Jul 26, 7:22 PM · MediaWiki-Categories, MediaWiki-Page-protection
Pppery edited projects for T371143: Protection indicators should support adding tracking category, added: MediaWiki-Page-protection; removed MediaWiki-General.
Fri, Jul 26, 7:21 PM · MediaWiki-Categories, MediaWiki-Page-protection
Aklapper edited Description on MediaWiki-Page-protection.
Fri, Jul 26, 11:19 AM

Jun 23 2024

Bugreporter added a comment to T241987: Deprecate "semi-protect" concept in MediaWiki.

Cross ref: T368207: Remove entries from wgSemiprotectedRestrictionLevels for arwiki which shows some abnormality by having a builtin "semi-protect" concept where there are multiple protection levels.

Jun 23 2024, 3:16 AM · MediaWiki-Page-protection

Jun 17 2024

Pppery closed T50411: Salted pages - no red coloured background on editing as Invalid.

The red edit box is an on-wiki customization for enwiki. This would need to be fixed on-wiki (hence not tracked on Phabricator), if anyone still cares a decade later.

Jun 17 2024, 2:39 AM · MediaWiki-Page-protection

Jun 12 2024

Pppery edited projects for T248196: Consolidate logic for parsing expiries, added: Patch-Needs-Improvement; removed Patch-For-Review.
Jun 12 2024, 3:22 AM · Patch-Needs-Improvement, MW-1.42-notes (1.42.0-wmf.17; 2024-02-06), Growth-Team-Filtering, MediaWiki-User-management, Community-Tech, Technical-Debt, MediaWiki-Watchlist, Platform Engineering, MediaWiki-Page-protection, Growth-Team, MediaWiki-Action-API

Jun 9 2024

Bugreporter closed T366903: refuse page protection in MediaWiki: namespace as Declined.

Decline this since https://www.mediawiki.org/wiki/Manual:Administrators#Protection explicitly states MediaWiki namespace restriction will work in addition to protection.

Jun 9 2024, 3:01 AM · MediaWiki-Page-protection

Jun 7 2024

Pppery added a comment to T366903: refuse page protection in MediaWiki: namespace.

"

Perhaps some superprotect or other more-than-sysop people can be imagined, but no case is known.

"

Jun 7 2024, 9:53 PM · MediaWiki-Page-protection
PerfektesChaos created T366903: refuse page protection in MediaWiki: namespace.
Jun 7 2024, 12:29 PM · MediaWiki-Page-protection

May 30 2024

Pppery added a parent task for T249401: New configuration setting for user rights to create pages in a specific namespace: T363898: Prevent IP users from creating pages in "Module" and "Template" namespaces on bs.wiki.
May 30 2024, 3:37 AM · MediaWiki-Configuration, MediaWiki-Page-protection

May 21 2024

Maintenance_bot removed a project from T353483: Converge infinity values into one constant: Patch-For-Review.
May 21 2024, 12:31 AM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Technical-Debt, Expiring-Watchlist-Items, MediaWiki-Page-protection, MediaWiki-Blocks, MediaWiki-Action-API, MediaWiki-General
ReleaseTaggerBot added a project to T353483: Converge infinity values into one constant: MW-1.43-notes (1.43.0-wmf.6; 2024-05-21).
May 21 2024, 12:01 AM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Technical-Debt, Expiring-Watchlist-Items, MediaWiki-Page-protection, MediaWiki-Blocks, MediaWiki-Action-API, MediaWiki-General

May 20 2024

gerritbot added a comment to T353483: Converge infinity values into one constant.

Change #995192 merged by jenkins-bot:

[mediawiki/skins/Vector@master] watchstar: use mw.util.isInfinity() instead of comparing to 'infinity'

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

May 20 2024, 11:48 PM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Technical-Debt, Expiring-Watchlist-Items, MediaWiki-Page-protection, MediaWiki-Blocks, MediaWiki-Action-API, MediaWiki-General

May 4 2024

matmarex closed T71722: Use OOUI for JavaScript-generated checkbox on Protect, a subtask of T235424: Convert action=protect to OOUI (protect form is unusable on mobile), as Resolved.
May 4 2024, 11:15 AM · User-notice-archive, Web-Team-Backlog (Kanbanana-FY-2020-21), MobileFrontend (Tracking), User-Jdlrobson, UI-Standardization, MediaWiki-Page-protection, Advanced Mobile Contributions
matmarex added a subtask for T235424: Convert action=protect to OOUI (protect form is unusable on mobile): T71722: Use OOUI for JavaScript-generated checkbox on Protect.
May 4 2024, 11:15 AM · User-notice-archive, Web-Team-Backlog (Kanbanana-FY-2020-21), MobileFrontend (Tracking), User-Jdlrobson, UI-Standardization, MediaWiki-Page-protection, Advanced Mobile Contributions

Apr 17 2024

Htriedman added a project to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page: Wikimedia-Hackathon-2024.

going to investigate the feasibility of this at the WMF Hackathon in a few weeks

Apr 17 2024, 4:46 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams
Htriedman moved T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page from Backlog to Hacking projects on the Wikimedia-Hackathon-2024 board.
Apr 17 2024, 4:44 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Apr 16 2024

Simetrical placed T300667: Title::loadFromRow leaking memory (due to RestrictionStore::cache having no size limit) up for grabs.
Apr 16 2024, 6:00 AM · Patch-Needs-Improvement, Wikimedia-Performance-recommendation, MediaWiki-Page-protection

Apr 12 2024

Aklapper edited projects for T300667: Title::loadFromRow leaking memory (due to RestrictionStore::cache having no size limit), added: Patch-Needs-Improvement; removed Patch-For-Review.
Apr 12 2024, 11:13 AM · Patch-Needs-Improvement, Wikimedia-Performance-recommendation, MediaWiki-Page-protection

Apr 8 2024

Cleo_Lemoisson updated subscribers of T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page.
Apr 8 2024, 5:52 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams
Cleo_Lemoisson moved T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page from Incoming to Backlog on the Privacy Engineering board.
Apr 8 2024, 5:51 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Apr 5 2024

matej_suchanek added a comment to T189412: Granular protection for Wikidata items.

It appears that wd admins are not willing to issue indefinite (or even long) semi-protection even for "the most common items since many contributors in the projects are not autoconfirmed on Wikidata and will not be able to add new articles if needed".

Apr 5 2024, 8:49 AM · Wikidata data quality and trust, patch-welcome, MediaWiki-Page-protection, Wikidata

Apr 3 2024

Pppery edited projects for T326777: Add protection options to Special: delete, added: MediaWiki-Page-deletion, MediaWiki-Page-protection; removed MediaWiki-Special-pages.
Apr 3 2024, 2:19 PM · MediaWiki-Page-protection, MediaWiki-Page-deletion, patch-welcome

Mar 27 2024

Krinkle moved T353483: Converge infinity values into one constant from Unsorted to Migrate / Replace on the Technical-Debt board.
Mar 27 2024, 6:46 PM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Technical-Debt, Expiring-Watchlist-Items, MediaWiki-Page-protection, MediaWiki-Blocks, MediaWiki-Action-API, MediaWiki-General
Krinkle edited projects for T353483: Converge infinity values into one constant, added: Technical-Debt; removed Technical-Debt (Deprecation process).
Mar 27 2024, 6:46 PM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), Technical-Debt, Expiring-Watchlist-Items, MediaWiki-Page-protection, MediaWiki-Blocks, MediaWiki-Action-API, MediaWiki-General

Mar 18 2024

stjn added a comment to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page.

(Per the list in Russian Wikipedia, in more than a thousand pages. A code-based solution would be better at protecting privacy at such a number of pages at large, and would make it easier to revert this action when the political situation in Russia/Belarus changes.)

Mar 18 2024, 6:15 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams
Htriedman added a comment to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page.

@Ladsgroup is correct about this — this is already happening on an ad hoc basis in some cases where there may be concerns about editor safety for sensitive material.

Mar 18 2024, 6:05 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams
Ladsgroup added a comment to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page.

I highly doubt this would be enabled in enwiki. We are talking about is let's say Russian, Chinese, Arabic, Persian, and some other wikis with very sensitive material. it is already done in several articles in Russian Wikipedia: Here is article of Putin there https://ru.wikipedia.org/w/index.php?title=%D0%9F%D1%83%D1%82%D0%B8%D0%BD,_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80_%D0%92%D0%BB%D0%B0%D0%B4%D0%B8%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B8%D1%87&action=history

Mar 18 2024, 4:41 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams
Sdrqaz added a comment to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page.

Maybe I've misunderstood this task, but I can't think of a situation where this would be useful for *all* usernames: English Wikipedia oversighters can suppressdelete pages and that seems sufficient. If protection is needed in tandem with suppression, usually only the last couple of editors need their usernames to be suppressed. If all of the usernames are suppressed on a page, wouldn't that cause issues with attribution?

Mar 18 2024, 4:30 PM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Mar 17 2024

Pppery edited projects for T312317: MediaWiki:Titleprotected not showing when attempting to edit protected titles, added: MediaWiki-Page-protection; removed MediaWiki-General.
Mar 17 2024, 4:43 AM · MediaWiki-Page-protection
Pppery edited projects for T316475: Make a separate interface message "undelete-cantcreate", added: MediaWiki-Page-protection; removed MediaWiki-General.
Mar 17 2024, 4:42 AM · MediaWiki-Page-protection
Pppery edited projects for T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page, added: MediaWiki-Page-protection, MediaWiki-Revision-deletion; removed MediaWiki-General.
Mar 17 2024, 4:21 AM · Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Feb 27 2024

whym closed T296989: Protected edits should be tagged as Resolved.

You are right. That seems to work for my needs.

Feb 27 2024, 3:31 AM · MediaWiki-Page-protection, MediaWiki-Change-tagging

Feb 18 2024

Three_Sixty added a comment to T296989: Protected edits should be tagged.

This could probably be accomplished pretty easily with abuse filter(s), using page_restrictions_edit at mw:Extension:AbuseFilter/Rules format § Built-in variables. See enwiki's filter 942 for a working example; the filter could simply be imported and set to tag.

Feb 18 2024, 4:46 PM · MediaWiki-Page-protection, MediaWiki-Change-tagging

Feb 8 2024

Umherirrender closed T356337: PHP Warning: Comment text should not be null! via Special:ProtectedPages as Resolved.
Feb 8 2024, 8:36 PM · MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), MediaWiki-Page-protection, MediaWiki-Special-pages, Wikimedia-production-error
Maintenance_bot removed a project from T356337: PHP Warning: Comment text should not be null! via Special:ProtectedPages: Patch-For-Review.
Feb 8 2024, 5:31 PM · MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), MediaWiki-Page-protection, MediaWiki-Special-pages, Wikimedia-production-error
Krinkle moved T356337: PHP Warning: Comment text should not be null! via Special:ProtectedPages from Untriaged to Jan 2024 on the Wikimedia-production-error board.
Feb 8 2024, 5:00 PM · MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), MediaWiki-Page-protection, MediaWiki-Special-pages, Wikimedia-production-error

Feb 5 2024

dancy added a comment to T356337: PHP Warning: Comment text should not be null! via Special:ProtectedPages.

Thanks for clearing this up!

Feb 5 2024, 3:58 PM · MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), MediaWiki-Page-protection, MediaWiki-Special-pages, Wikimedia-production-error
ReleaseTaggerBot edited projects for T356337: PHP Warning: Comment text should not be null! via Special:ProtectedPages, added: MW-1.42-notes (1.42.0-wmf.16; 2024-01-30); removed MW-1.42-notes (1.42.0-wmf.17; 2024-02-06).
Feb 5 2024, 9:00 AM · MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), MediaWiki-Page-protection, MediaWiki-Special-pages, Wikimedia-production-error
Stashbot added a comment to T356337: PHP Warning: Comment text should not be null! via Special:ProtectedPages.

Mentioned in SAL (#wikimedia-operations) [2024-02-05T08:42:34Z] <zabe@deploy2002> Finished scap: Backport for [[gerrit:995232|specials: Remove null comments from formatter on Special:ProtectedPages (T356337)]], [[gerrit:995242|namespaceDupes: Reduce batchsize to 100 for link update]] (duration: 18m 18s)

Feb 5 2024, 8:42 AM · MW-1.42-notes (1.42.0-wmf.16; 2024-01-30), MediaWiki-Page-protection, MediaWiki-Special-pages, Wikimedia-production-error