Zache added a comment.
In T408726#11325245 <https://phabricator.wikimedia.org/T408726#11325245>, @Tacsipacsi wrote: >> 6. **_apisite.flagconfig()** >> - Shows information about review flag configuration. >> - API: https://www.mediawiki.org/wiki/Extension:FlaggedRevs#action=flagconfig > > I think this API endpoint should be deprecated: > For these reasons, I think `action=flagconfig` should be deprecated, and another module, say `action=query&meta=flaggedrevs` (or even `action=query&meta=siteinfo&siprop=flaggedrevs`) should be introduced, which returns at least the following data: Other data which would be useful - protection levels ( ie. `wgFlaggedRevsRestrictionLevels` values ) which is need for API:stabilize to set which user groups can automatically review revision - is wiki stable by default or latest by default: (ie. `wgFlaggedRevsOverride` value) > The name of the (only) tag; currently returned in name of the first tag if not in protection mode, but it would be needed in protection mode as well (it’s used as a parameter name when reviewing). It would be nice if tag name requirement would be removed from reviewing API too so it would be just `flag=3` instead of `flag_accuracy=3`. In pywikibot side i think that code can handle this. > I already have some drafts for this, I just haven’t got to finish and upload them. If others agree, and so the module is about to be deprecated and completely reorganized, I’m not sure if it’s worth adding the old one to Pywikibot. I agree. TASK DETAIL https://phabricator.wikimedia.org/T408726 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
