Last modified: 2013-07-12 11:18:02 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 T53180, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51180 - AbuseFilter's API do not return the filter id (but returns its name) for private filters
AbuseFilter's API do not return the filter id (but returns its name) for priv...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-11 16:18 UTC by Helder
Modified: 2013-07-12 11:18 UTC (History)
2 users (show)

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


Attachments

Description Helder 2013-07-11 16:18:45 UTC
In a query like
https://pt.wikipedia.org/w/api.php?action=query&format=jsonfm&list=abuselog&aflfilter=14&afllimit=1&aflprop=ids|filter&afldir=newer
I get a result such as this:
{
    "query-continue": {
        "abuselog": {
            "aflstart": "2009-06-25T18:01:56Z"
        }
    },
    "query": {
        "abuselog": [
            {
                "id": 26323,
                "filter_id": "",
                "filter": "Conte\u00fado de texto como propaganda"
            }
        ]
    }
}

If the query can provide the filter description (in the "filter" property) it should also show the filter number (in the "filter_id" property). I see no reason to provide one of these but not the other for private filters.

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


Navigation
Links