https://bugzilla.wikimedia.org/show_bug.cgi?id=40652

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #3 from [email protected] 2012-10-15 21:24:15 UTC ---
In addition to "missing" the marker for "invalid" should be checked and also
generate a failed lookup.

http://localhost/repo/api.php?action=query&prop=info&redirects=1&converttitles=1&format=jsonfm&titles=badbadbad
{
    "query": {
        "normalized": [
            {
                "from": "badbadbad",
                "to": "Badbadbad"
            }
        ],
        "pages": {
            "-1": {
                "ns": 0,
                "title": "Badbadbad",
                "missing": ""
            }
        }
    },

http://localhost/repo/api.php?action=query&prop=info&redirects=1&converttitles=1&format=jsonfm&titles=%3C%3E
{
    "query": {
        "pages": {
            "-1": {
                "title": "<>",
                "invalid": ""
            }
        }
    },

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to