https://bugzilla.wikimedia.org/show_bug.cgi?id=64787

            Bug ID: 64787
           Summary: [Lockdown] Remove restricted namespaces from listings
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: [other]
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to