Hi Kishan,

On 17 May, 2014, at 7:02 am, Kishan Thobhani <[email protected]> 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&gapnamespace=104&gapprefix=Love_among_the_chickens_(1909).djvu&prop=proofread

… 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_Documentation_.26_Improvement
 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikisource-l

Reply via email to