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

Rainer Rillke @commons.wikimedia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Rainer Rillke @commons.wikimedia <[email protected]> ---
So, for exmaple,
/w/api.php?action=query&prop=extracts&format=json&exsentences=3&exlimit=10&exintro=&titles=Therion
returns

{
    "query": {
        "pages": {
            "1590770": {
                "pageid": 1590770,
                "ns": 0,
                "title": "Therion",
                "extract": "<p><b>Therion</b>, Greek for \"wild animal\" or
\"beast\" (\u03b8\u03b7\u03c1\u03af\u03bf\u03bd), may refer to:</p>"
            }
        }
    }
}

where the word "Greek" is not a link, although it's a link on
https://en.wikipedia.org/wiki/Therion

It would be cool if there would be a switch to specify which HTML elements to
return; e.g. links/no links.

That would be a useful feature for "Word-sense disambiguation". Otherwise the
action=parse has to be used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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