Page MenuHomePhabricator

Run maintenance/updateRestrictions.php on all wikis
Closed, ResolvedPublic

Description

Author: cmhagar

Description:
Special:Protectedpages does not show pages that were protected prior to late
January. It probably did not inherit all the pages that were protected prior to
the creation of the special page or its activation.

For example:

http://en.wikipedia.org/w/index.php?title=Jesus&action=unprotect was last
protected 5 January 2007 but does not appear.

http://en.wikipedia.org/w/index.php?title=Blog&action=unprotect was last
protected 26 November 2006 but does not appear.

http://en.wikipedia.org/w/index.php?title=BonziBUDDY&action=unprotect was
protected 12 September 2006 but does not appear.

More can be found by clicking around at
http://en.wikipedia.org/wiki/Wikipedia:List_of_protected_pages/Long-term_protection
and http://en.wikipedia.org/wiki/Wikipedia:List_of_protected_pages


Version: unspecified
Severity: enhancement

Details

Reference
bz9386

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:38 PM
bzimport set Reference to bz9386.

It only queries the new protection table, whereas older protections where
crammed into one column of the page table. They are still checked for protection
status but not for protected pages.

ayg wrote:

I guess we could just do a fix specifically for Protectedpages, but it seems more sensible to fix
all the new stuff without having to indefinitely maintain references to the obsolete page columns,
so I've repurposed this bug a bit to a specific solution.

*** Bug 9648 has been marked as a duplicate of this bug. ***

I've added maintenance script to do this.

robchur wrote:

*** Bug 10395 has been marked as a duplicate of this bug. ***

robchur wrote:

*** Bug 10395 has been marked as a duplicate of this bug. ***

robchur wrote:

(In reply to comment #4)

I've added maintenance script to do this.

Looks good. Moving product to Wikimedia to get this done on live sites.

  • Bug 14891 has been marked as a duplicate of this bug. ***

Not done! Encountered errors :D

Added some deadlock protection and completed.