ApiParse: Do not generate warning on parameter `variant`
Open, LowPublic

Description

API action=parse supports the URL parameter variant. Compare
https://sr.wikipedia.org/w/api.php?action=parse&format=jsonfm&formatversion=2&page=HTTP&variant=sr-ec and
https://sr.wikipedia.org/w/api.php?action=parse&format=jsonfm&formatversion=2&page=HTTP&variant=sr-el

But it generates the warning:

"warnings": "Unrecognized parameter: 'variant'"

So remove the warning and support the parameter officially.

Fomafix created this task.Nov 3 2015, 2:52 PM
Fomafix updated the task description. (Show Details)
Fomafix raised the priority of this task from to Low.
Fomafix claimed this task.
Fomafix added a project: MediaWiki-API.
Fomafix added subscribers: Reedy, Aklapper, Fomafix.

Change 250686 had a related patch set uploaded (by Gerrit Patch Uploader):
ApiParse: Support parameter variant

https://gerrit.wikimedia.org/r/250686