This information is available from an edit preview, and should be via the API too. As a node in the result, of course, not as API warnings.
If applicable, also expose it via action=expandtemplates or other endpoints that deal with a ParserOutput.
This information is available from an edit preview, and should be via the API too. As a node in the result, of course, not as API warnings.
If applicable, also expose it via action=expandtemplates or other endpoints that deal with a ParserOutput.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
API: Allow returning parse warnings for action=parse | mediawiki/core | master | +9 -1 |
I would like to work on this. Something like following api result is required?
{ "parse": { "title": "API", "text": { "*": "parsed text" }, "parse_warnings": [], } }
I have created a patch here https://gerrit.wikimedia.org/r/#/c/196898/ Please have a look
Change 196898 had a related patch set uploaded (by Bmansurov):
[mediawiki/core@master] API: Allow returning parse warnings for action=parse
Change 196898 merged by jenkins-bot:
[mediawiki/core@master] API: Allow returning parse warnings for action=parse