Hey Gaurav,
This is good. I see you get page count along with the title though. Do you mean if we can
somehow query this and get the page name for same? I was wondering if we have any other
parameters to prop=proofread? Also i might be missing something here but whats gap prefix
for? Because u don’t find much documentation for gapnamespace & gap prefix. i assume
this just have to do with proofread.
Also don’t worry about adding your points on the talk page since we are just using to push
conversation for API. Sort of like a draft. Its semi-official so once we have everything
sorted we will move it to appropriate section.
On 18-May-2014, at 5:04 am, Gaurav Vaidya <gaurav(a)ggvaidya.com> wrote:
Hi Kishan,
On 17 May, 2014, at 7:02 am, Kishan Thobhani <thobhanikishan(a)gmail.com> wrote:
Do you think it would be possible to create a
small example of same in terms of proofread hooks? It could be just API calls. So that we
can mention it in example sections.
I’ve just realised that you can already do this
if you know the name of the page, e.g.
-
http://en.wikisource.org/w/api.php?action=query&generator=allpages&…
… which will return every page from “Love among the chickens (1909).djvu”, along with its
proofread status. It would be nice to be able to look up both the page count (e.g. page
10, which is Page:Love_among_the_chickens_(1909).djvu/10) to the page name (which,
according to the index page, is “Fpiece”), but I’m not sure anybody would actually *need*
this. For my needs, the API call mentioned above would have been sufficient.
Also, may I also suggest you move
https://www.mediawiki.org/wiki/Extension_talk:Proofread_Page#API_Documentat…
to a subpage of the Extension page, maybe
https://www.mediawiki.org/wiki/Extension:Proofread_Page/Documentation — talk pages are IMO
intended for conversations, not for documenting things. I’d feel weird editing someone
else’s content on a talk page!
cheers,
Gaurav
_______________________________________________
Wikisource-l mailing list
Wikisource-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l