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

Sat, Oct 26

Pppery edited projects for T371143: Protection indicators should support adding tracking category, added: MediaWiki-Parser-TrackingCategories; removed MediaWiki-Categories.
Sat, Oct 26, 4:41 PM · MediaWiki-Parser-TrackingCategories, MediaWiki-Page-protection

Fri, Oct 25

Krinkle edited Description on MediaWiki-Page-protection.
Fri, Oct 25, 3:09 PM
Ottomata moved T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page from Backlog to Stream Data Products on the Event-Platform board.
Fri, Oct 25, 1:25 PM · Trust and Safety Product Team, Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Sep 11 2024

Jdlrobson lowered the priority of T367826: [Bug] Special:ProtectedPages has color contrast issues from Medium to Low.
Sep 11 2024, 9:28 PM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome
JScherer-WMF placed T367826: [Bug] Special:ProtectedPages has color contrast issues up for grabs.

Unassigning myself because this is ready for estimation as far as I'm concerned.

Sep 11 2024, 8:21 PM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome
JScherer-WMF moved T367826: [Bug] Special:ProtectedPages has color contrast issues from Incoming to Groomed on the Web-Team-Backlog board.
Sep 11 2024, 8:20 PM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome
JScherer-WMF added a comment to T367826: [Bug] Special:ProtectedPages has color contrast issues.

Right now we're using the hex equivalent of the depreciated color-base--subtle. We can use color-subtle for this (#A2A9B1).
It would look like this:

Screenshot 2024-09-11 at 2.18.43 PM.png (1×3 px, 704 KB)

Sep 11 2024, 8:20 PM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome
DMburugu moved T373758: action=watch is broken for interface-protected pages from Inbox to Triaged on the Growth-Team board.
Sep 11 2024, 2:28 PM · Patch-For-Review, Growth-Team, MediaWiki-Page-protection, MediaWiki-Watchlist

Sep 8 2024

Ammarpad added a project to T316490: Regression: Moving a protected mainspace article no longer protects the redirect: TestMe.
Sep 8 2024, 7:38 AM · TestMe, Regression, MediaWiki-Page-protection, MediaWiki-Page-rename

Sep 2 2024

kostajh added a project to T354577: Create Mediawiki "oversightprotect" action that suppresses usernames of all edits of a page: Trust and Safety Product Team.

Tagging Trust and Safety Product Team as something we might want to look at (cc @Niharika @Madalina) at some point. Would also be useful to get Stewards' perspective on this (cc @Urbanecm).

Sep 2 2024, 11:47 AM · Trust and Safety Product Team, Wikimedia-Hackathon-2024, MediaWiki-Revision-deletion, MediaWiki-Page-protection, User-DannyS712, Privacy Engineering, Data-Engineering, Security, Event-Platform, EventStreams

Sep 1 2024

Wargo claimed T373758: action=watch is broken for interface-protected pages.
Sep 1 2024, 7:07 PM · Patch-For-Review, Growth-Team, MediaWiki-Page-protection, MediaWiki-Watchlist
gerritbot added a project to T373758: action=watch is broken for interface-protected pages: Patch-For-Review.
Sep 1 2024, 6:58 PM · Patch-For-Review, Growth-Team, MediaWiki-Page-protection, MediaWiki-Watchlist
gerritbot added a comment to T373758: action=watch is broken for interface-protected pages.

Change #1069706 had a related patch set uploaded (by Wargo; author: Wargo):

[mediawiki/core@master] Allow (un)watch restricted pages

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

Sep 1 2024, 6:58 PM · Patch-For-Review, Growth-Team, MediaWiki-Page-protection, MediaWiki-Watchlist
Xaosflux added a comment to T41038: Full protection expiry should not affect semi-protection.

Simply allowing multiple, overlapping protections on a page would solve for this and other use cases.

Sep 1 2024, 4:55 PM · German-Community-Wishlist, TCB-Team (now WMDE-TechWish), MediaWiki-Page-protection
Anachronist added a comment to T41038: Full protection expiry should not affect semi-protection.

Instead of semiprotection being restored after temporary full protection expires, ANY longer-term protection should be restored when ANY shorter-term protection expires. That way full protection could fall back to an already existing ECP or semi, or ECP protection could fall back to an already-existing semiprotection.

Sep 1 2024, 4:47 PM · German-Community-Wishlist, TCB-Team (now WMDE-TechWish), MediaWiki-Page-protection
Andrybak created T373758: action=watch is broken for interface-protected pages.
Sep 1 2024, 12:18 PM · Patch-For-Review, Growth-Team, MediaWiki-Page-protection, MediaWiki-Watchlist

Aug 17 2024

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

Aug 9 2024

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

Aug 4 2024

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.
Aug 4 2024, 4:27 PM · MediaWiki-Page-protection, Chinese-Sites, I18n

Aug 2 2024

Pppery added a project to T367826: [Bug] Special:ProtectedPages has color contrast issues: MediaWiki-Special-pages.
Aug 2 2024, 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.
Aug 2 2024, 4:22 AM · MediaWiki-Special-pages, MediaWiki-Page-protection, Web-Team-Backlog, dark-mode, patch-welcome

Aug 1 2024

Pppery merged T209256: Add padlock icons to protected pages (by default) into T12347: Should protection status indicators be handled by MediaWiki core (vs. templates)?.
Aug 1 2024, 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)?.
Aug 1 2024, 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.

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

Jul 27 2024

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.

Jul 27 2024, 9:58 AM · MediaWiki-Parser-TrackingCategories, MediaWiki-Page-protection

Jul 26 2024

Pppery added a project to T12347: Should protection status indicators be handled by MediaWiki core (vs. templates)?: MediaWiki-Page-protection.
Jul 26 2024, 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.
Jul 26 2024, 7:22 PM · MediaWiki-Parser-TrackingCategories, MediaWiki-Page-protection
Pppery edited projects for T371143: Protection indicators should support adding tracking category, added: MediaWiki-Page-protection; removed MediaWiki-General.
Jul 26 2024, 7:21 PM · MediaWiki-Parser-TrackingCategories, MediaWiki-Page-protection
Aklapper edited Description on MediaWiki-Page-protection.
Jul 26 2024, 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, MediaWiki-Page-protection, Platform Engineering, 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 · Trust and Safety Product Team, 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 · Trust and Safety Product Team, 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 · Trust and Safety Product Team, 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 · Trust and Safety Product Team, 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