Last modified: 2009-08-02 14:29:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15441, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13441 - [[Special:Recentchanges]] filter to filter out non-bot edits
[[Special:Recentchanges]] filter to filter out non-bot edits
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 12781 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-20 01:08 UTC by とある白い猫
Modified: 2009-08-02 14:29 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description とある白い猫 2008-03-20 01:08:45 UTC
Currently recent changes has two modes

First is unfiltered edits by human and bot-flagged not-so-human editors.

Second is filtered edits by human editors. Basically edits by flagged bots are not shown.

There should be a third option allowing me to filter out human edits so that I can review edits that are only bu bot-flagged accounts.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-03-20 01:21:32 UTC
We have no index on rc_bot.  This might not be acceptable unless that's fixed, except on wikis with a high percentage of bot edits.  Worst case is a table scan if there are no bots in the history of the project.
Comment 2 とある白い猫 2008-03-20 06:54:55 UTC
You can just pull the not of how you pull bot edits. You have the entire RC feed, you have the human only edits. Everything - Human edits = Bots?

Some people want to exclusively review bot edits to check if the break. I think such an option would have benefit to the project.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-03-20 13:46:09 UTC
It's just the negation of a statement, but that doesn't mean it's not worse for performance.  WHERE id = 8 retrieves one row and is very fast, WHERE id != 8 retrieves the whole table minus one row and is very slow.  Same sort of thing here, although a little less extreme.  It's very unlikely that a typical wiki will have more than, say, 50% bot edits.  Therefore, *hiding* bot edits will likely read a maximum of twice as many rows as are actually needed, which isn't terrible.  But it's very likely that many wikis have almost no bot edits, or literally no bot edits, and this means that showing *only* bot edits will have to scan the recentchanges table, which is bad.

It might be acceptable anyway.  Large wikis will usually have at least one bot, and scanning the recentchanges table of a small wiki isn't so bad.  Plus this option is not likely to be commonly used.  But I wanted to point out that it's not necessarily obvious that this is okay.
Comment 4 Alexandre Emsenhuber [IAlex] 2008-04-02 10:48:52 UTC
Fixed in r32696.
Comment 5 Alexandre Emsenhuber [IAlex] 2009-08-02 14:29:52 UTC
*** Bug 12781 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links