API: Deprecate generatexml of modules revisions/deletedrevisions/parse
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 5 Jun 2015 09:22:17 +0000 (11:22 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Tue, 30 Jun 2015 18:48:30 +0000 (20:48 +0200)
commit7b52c1cb4fa0cf3220000618ec91c7b51b5c7f36
treee7d20c60e35f11e9147b3af6cb926a46c4c0be40
parenta8604e364262a491f4081209427e25f9ba24fe2a
API: Deprecate generatexml of modules revisions/deletedrevisions/parse

Deprecate 'generatexml=' by adding 'prop=parsetree' to revisions,
deletedrevisions and action=parse.
'generatexml' of action=expandtemplates is already deprecated and
replaced by 'prop=parsetree'.

Reason: Api parameter to control the output of a module usually gets
added as type to prop=, not added as new parameter. New parameter
usually used as input parameter for the module.

For revisions and deletedrevisions this allows to get the parsetree
without getting the whole content (makes the result smaller, when just
one is needed)

Change-Id: I7403110d7bd07e9eb2a10e1b398d97f0f40298be
includes/api/ApiParse.php
includes/api/ApiQueryRevisionsBase.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json