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





--- Comment #3 from Roan Kattouw <[email protected]>  2008-12-22 22:12:21 
UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Please make [[Special:ProtectedTitles]] available with API.
> > > 
> > > A possibility: Add "create" to param "apprtype" from "list=allpages"
> > > 
> > That won't work, since create-protected pages usually don't exist.
> 
> But when list this page, it can have the missing-flag. The same way by using
> prop=info and inprop=protection
> (http://de.wikipedia.org/w/api.php?action=query&prop=info&inprop=protection&titles=Benutzer:Raymond/sperre)
> 
That's a possibility, but it violates the principle of list=allpages: listing
all pages that exist. apprtype and similar parameters should limit the list,
not expand it.

> It was only a possibility. In my opinion it is the best way, because it is 
> easy
> for the user of a API to have all protectionlevel at one point and can create
> the query he need. I see there no inconsistency, because list=allpages lists
> all defined pagetitles. The one are defined by a exists page, the other by a
> protection. (The next step is the "WantedPages", because the pagetitle is
> defined by a link.)
The WantedPage query is quite expensive, and probably won't be accepted into
the API for performance reasons.

> I hope the bug can realize in any way.
> 
I'll think about this over the holidays; I won't be able to do much until
January.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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