Last modified: 2009-05-12 23:20:18 UTC
When you choose to display "any" protection level on Special:ProtectedPages on the English Wikipedia, some pages display their protection level as (<restriction-level->). These pages will not be listed if you choose to display either semi-protected or full-protected pages. You can currently see an example listing here: http://en.wikipedia.org/w/index.php?title=Special%3AProtectedPages&namespace=11&type=edit&level=0 which lists [[Template talk:WWIIGermanAFVs]]. And more examples here: http://en.wikipedia.org/w/index.php?title=Special:ProtectedPages&dir=prev&offset=161987&namespace=3&type=edit&level=0&indefonly=1&sizetype=min which lists [[User talk:ApeAndPig]], [[User talk:141.154.58.89]], and [[User talk:72.145.114.229]]. It seems to occur for pages which were protected and unprotected in 2005, and which have not been protected since. Setting an expiring protection for five minutes seems to clear it.
I believe this should be fixed by running an appropriate script on the Wikimedia servers. Since it is a "Wikimedia" bug and not a MediaWiki bug, I'm moving it to the appropriate category.
It wouldn't take too much effort to clear them manually. I reported this bug for two reasons: it was presumably caused by a previous version of MediaWiki and is likely to have affected other installations. The script should probably form part of the maintenance or update process across the board. Secondly, the Special:ProtectedPages page should not be reporting pages which are not protected, and it's a little disconcerting that it prints what appears to be part of the underlying code as its output.
OK, for this page TS gives: +---------+---------+----------+------------+---------+-----------+--------+ | pr_page | pr_type | pr_level | pr_cascade | pr_user | pr_expiry | pr_id | +---------+---------+----------+------------+---------+-----------+--------+ | 817386 | edit | | 0 | NULL | infinity | 155774 | | 817386 | move | | 0 | NULL | infinity | 155773 | +---------+---------+----------+------------+---------+-----------+--------+ +---------+-------------------+ | page_id | page_restrictions | +---------+-------------------+ | 817386 | move=:edit= | +---------+-------------------+ Probably related to old row migration scripts ran recently. It checks for edit=:move but not move=:edit=. Some code to delete the bad rows should be added to it.
Fixed in r41712. Needs someone to re-run.
Looks fine as far as I can tell. Resolving FIXED and moving from site requests to code.