Page MenuHomePhabricator

[Lockdown] Remove restricted namespaces from listings
Open, LowPublicFeature

Description

Patches on https://www.mediawiki.org/wiki/Extension:Lockdown/hiding_pages and talk page should finally land the actual code.

In principle it's easy, there are just two concepts:

  1. given a page, if its namespace is restricted for the current user, restrict it;
  2. given a list of namespaces, remove those restricted for the current user.

Two functions which need to be called on a dozen places in core.

Daniel, I plan to submit two patches against core to add AbortAccessNamespace and <something> as hooks and then two in Lockdown with those two functions attached to the two hooks. Of course there are semi-infinite complications but it's easier to discuss with some code on gerrit.


Version: master
Severity: normal

Details

Reference
bz64787

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:10 AM
bzimport set Reference to bz64787.
Aklapper subscribed.

@Nemo_bis: Hi, I'm resetting the task assignee due to inactivity. Please feel free to reclaim this task if you plan to work on this - it would be welcome! Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for more information - thanks!

Aklapper triaged this task as Low priority.Feb 4 2022, 8:11 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".