The html source of the buttons are as below.
<span id="wpQuality-container"><span class="quality0"><input tabindex="5" title="Without text" type="radio" value="0" name="wpQuality"></span><span class="quality2"><input tabindex="6" title="Problematic" type="radio" value="2" name="wpQuality"></span><span class="quality1"><input tabindex="7" title="Not proofread" checked="" type="radio" value="1" name="wpQuality"></span><span class="quality3"><input tabindex="8" title="Proofread" type="radio" value="3" name="wpQuality"></span></span>
Found that they are provided by proofread extension.
The color scheme is as https://www.mediawiki.org/wiki/Help:Extension:ProofreadPage/Page_quality_sys...
There is no api available for now.
It has been reported here https://phabricator.wikimedia.org/T133781 for providing api.
Thanks to Reedy and Krenair in #mediawiki channel for providing info and reporting the issue.
2016-04-27 15:20 GMT+01:00 Shrinivasan T tshrinivasan@gmail.com:
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