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

       Web browser: ---
             Bug #: 33304
           Summary: Inconsitencies with protected pages
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


I was asked to build a list of protected pages (at de:WP), sorted by the block
date [1]. As the protection property of prop=info doesn't provide that data, I
had to query the log for each page. OK, adding this information to the info
module might be another bug, but doing the query I found:

* pages listed by api.php?action=query&list=allpages&apprtype=move|edit (and
having protection properties in prop=info), but having no log entries. Examples
are [[de:Amerika]], [[de:Neonazismus]] and others. They can be found in the
list [1] with "undefined" user/timestamp/comment.
* pages having more than two protection properties in prop=info. This happened
over 300 times, if it is intended please explain. For example
[[de:Nationalsozialistische Deutsche Arbeiterpartei]] was only one time
protected pursuant to the log, but has 3 edit and 3 move protections
(api.php?action=query&prop=info&inprop=protection&titles=Nationalsozialistische%20Deutsche%20Arbeiterpartei).
 
* pages listed at [[de:Spezial:Geschützte Seiten]], but not in the api query.
For example [[de:Flatulenz]], which was protected, unprotected and re-protected
according to the log and has two protection properties in prop=info, but is not
listed in list=allpages:
api.php?action=query&list=allpages&apprtype=move|edit&apprefix=Fl&prop=info&inprop=protection&titles=Flatulenz.

Could all these cases be caused by protect actions in previous MW versions (and
conversion scripts missed them)? Are they intended? Should I file individual
bugs for each?

[1]: The result of my query can be found at [[de:Wikipedia:Liste der am
längsten geschützten Artikel]]

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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