Last modified: 2013-08-16 17:04:50 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 T54920, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52920 - AbuseFilter API should provide details about old revisions of filters
AbuseFilter API should provide details about old revisions of filters
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
master
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 13:27 UTC by Helder
Modified: 2013-08-16 17:04 UTC (History)
2 users (show)

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


Attachments

Description Helder 2013-08-16 13:27:08 UTC
As far as I know, currently the only information available about older revisions of a filter are those from a query such as
https://en.wikipedia.org/w/api.php?action=query&list=logevents&format=jsonfm&leprop=ids|title|type|user|userid|timestamp|comment|parsedcomment|details|tags&leaction=abusefilter/modify&lelimit=2
which returns a list of objects like this:
{
  "logid": 50427214,
  "pageid": 0,
  "ns": -1,
  "title": "Special:AbuseFilter/345",
  "type": "abusefilter",
  "action": "modify",
  "0": "11627",
  "1": "345",
  "user": "Salix alba",
  "userid": "212526",
  "timestamp": "2013-08-13T10:59:54Z",
  "comment": "",
  "parsedcomment": "",
  "tags": []
}

But in order to get better statistics (e.g.: [1]) than those provided by Abusefilter (which only provides a total "Hit count" for each filter, not separated by the filter version), I need to get all the parameters which are visible on pages such as 
https://en.wikipedia.org/wiki/Special:AbuseFilter/history/345/item/11627
(particularlly the conditions and actions taken by that version)

This is further complicated by bug 52221 and bug 52919.

[1] https://pt.wikipedia.org/w/index.php?oldid=36678888&uselang=en#Julho_de_2013

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


Navigation
Links