English Wikisource had a bot which would perform OCR on request by a user
when the user pressed a button in the Wikisource website interface.
Is that like what you are trying to achieve?
I think it used categories as a work queue. JavaScript placed the page in a
category, and the bot picked up
*Hi*
*How do I build a python bot/script with JavaScript for the frontend
(ideally as Wikisouorce gadget https://www.mediawiki.org/wiki/Gadget).*
*Project is for gsoc2014. So it should be something which can be live on
wikisource gadgets.*
*Thanks*
*---*
*Rohit Dua*
*8ohit.dua*