Author: a.d.bergi
Description:
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]]
Version: 1.18.x
Severity: normal