Pywikibot has a class ProofreadPage which allows modification of level via simple attributes and methods.

https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/proofreadpage.py#L67

If you dont want to use Pywikibot, its code can be helpful and it can be copied using very unrestrictive MIT license (and the authors would likely be happy to relicense it to another license if that was useful.

Regards,
John Vandenberg

On 27 Apr 2016 21:21, "Shrinivasan T" <tshrinivasan@gmail.com> wrote:
I am trying to work on https://ta.wikisource.org with python API.

This tamil wikisource has custom html option buttons to mention the edit status.

See a screenshot here.
https://snag.gy/f3aTBn.jpg

How to enable these custom option buttons via API?

Thanks.

--
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get Free Tamil Ebooks for Android, iOS, Kindle, Computer :
http://FreeTamilEbooks.com

_______________________________________________
Wikimediaindia-l mailing list
Wikimediaindia-l@lists.wikimedia.org
To unsubscribe from the list / change mailing preferences visit https://lists.wikimedia.org/mailman/listinfo/wikimediaindia-l