Page MenuHomePhabricator

add bot flag info to (rv/uc)prop=flags
Open, MediumPublicFeature

Description

recentchanges and watchlist allow filtering if a botflag is set on an edit or not.

It would be fine if you can get this info also at the revision info.
At the moment it is only possible to to see if the minor flag was set on an edit. It would be nice to get the bot flag info, too:

action=query&prop=revisions&rvprop=flags
action=query&list=usercontribs&ucprop=flags
action=query&list=watchlist&wlprop=flags
action=query&list=recentchanges&rcprop=flags

Not every edit of a bot group member is marked with an bot flag.


Version: 1.15.x
Severity: enhancement

Details

Reference
bz17433

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:25 PM
bzimport set Reference to bz17433.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

recentchanges and watchlist allow filtering if a botflag is set on an edit or
not.

It would be fine if you can get this info also at the revision info.
At the moment it is only possible to to see if the minor flag was set on an
edit. It would be nice to get the bot flag info, too:

action=query&prop=revisions&rvprop=flags
action=query&list=usercontribs&ucprop=flags

These two can't be done efficiently because they query the revision table, which doesn't contain the bot flag. They'll be possible once bug 11181 is fixed.

action=query&list=watchlist&wlprop=flags

Done in r47091.

action=query&list=recentchanges&rcprop=flags

This one already lists the bot flag.

Not every edit of a bot group member is marked with an bot flag.

That's because bots have the option of not marking an edit with the bot flag. For this reason, not all edits by a member of the bot group have the bot flag (also, not all edits with the bot flag are made by members of the bot group: privileged users can mark rolled-back revisions with the bot flag too).

Tweaking summary and leaving open pending resolution of bug 11181

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.