From: jenkins-bot Date: Tue, 20 Jun 2017 15:34:10 +0000 (+0000) Subject: Merge "API: Split description messages into summary + additional text" X-Git-Tag: 1.31.0-rc.0~2942 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=4d94cc1432759b89b1e90b982c4e27a5157ebca3;p=lhc%2Fweb%2Fwiklou.git Merge "API: Split description messages into summary + additional text" --- 4d94cc1432759b89b1e90b982c4e27a5157ebca3 diff --cc RELEASE-NOTES-1.30 index 122a21c90c,22c0bbc275..77caadfb3a --- a/RELEASE-NOTES-1.30 +++ b/RELEASE-NOTES-1.30 @@@ -70,15 -70,11 +70,17 @@@ production formatted as specified by the error formatter parameters. * action=compare can now handle arbitrary text, deleted revisions, and returning users and edit comments. +* (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto', + 'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree' + parameters to prop=revisions are deprecated, as are the similarly named + parameters to prop=deletedrevisions, list=allrevisions, and + list=alldeletedrevisions. Use action=compare, action=parse, or + action=expandtemplates instead. === Action API internal changes in 1.30 === - * … + * ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are + deprecated. The existing message should be split between "apihelp-*-summary" + and "apihelp-*-extended-description". === Languages updated in 1.30 === MediaWiki supports over 350 languages. Many localisations are updated diff --cc includes/api/i18n/en.json index 33a6072008,ddc1936c14..06cf9af7ac --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@@ -1105,18 -1121,18 +1121,18 @@@ "apihelp-query+revisions+base-paramvalue-prop-parsedcomment": "Parsed comment by the user for the revision.", "apihelp-query+revisions+base-paramvalue-prop-content": "Text of the revision.", "apihelp-query+revisions+base-paramvalue-prop-tags": "Tags for the revision.", - "apihelp-query+revisions+base-paramvalue-prop-parsetree": "The XML parse tree of revision content (requires content model $1).", + "apihelp-query+revisions+base-paramvalue-prop-parsetree": "Deprecated. Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] or [[Special:ApiHelp/parse|action=parse]] instead. The XML parse tree of revision content (requires content model $1).", "apihelp-query+revisions+base-param-limit": "Limit how many revisions will be returned.", - "apihelp-query+revisions+base-param-expandtemplates": "Expand templates in revision content (requires $1prop=content).", - "apihelp-query+revisions+base-param-generatexml": "Generate XML parse tree for revision content (requires $1prop=content; replaced by $1prop=parsetree).", - "apihelp-query+revisions+base-param-parse": "Parse revision content (requires $1prop=content). For performance reasons, if this option is used, $1limit is enforced to 1.", + "apihelp-query+revisions+base-param-expandtemplates": "Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] instead. Expand templates in revision content (requires $1prop=content).", + "apihelp-query+revisions+base-param-generatexml": "Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] or [[Special:ApiHelp/parse|action=parse]] instead. Generate XML parse tree for revision content (requires $1prop=content).", + "apihelp-query+revisions+base-param-parse": "Use [[Special:ApiHelp/parse|action=parse]] instead. Parse revision content (requires $1prop=content). For performance reasons, if this option is used, $1limit is enforced to 1.", "apihelp-query+revisions+base-param-section": "Only retrieve the content of this section number.", - "apihelp-query+revisions+base-param-diffto": "Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.", - "apihelp-query+revisions+base-param-difftotext": "Text to diff each revision to. Only diffs a limited number of revisions. Overrides $1diffto. If $1section is set, only that section will be diffed against this text.", - "apihelp-query+revisions+base-param-difftotextpst": "Perform a pre-save transform on the text before diffing it. Only valid when used with $1difftotext.", + "apihelp-query+revisions+base-param-diffto": "Use [[Special:ApiHelp/compare|action=compare]] instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.", + "apihelp-query+revisions+base-param-difftotext": "Use [[Special:ApiHelp/compare|action=compare]] instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides $1diffto. If $1section is set, only that section will be diffed against this text.", + "apihelp-query+revisions+base-param-difftotextpst": "Use [[Special:ApiHelp/compare|action=compare]] instead. Perform a pre-save transform on the text before diffing it. Only valid when used with $1difftotext.", "apihelp-query+revisions+base-param-contentformat": "Serialization format used for $1difftotext and expected for output of content.", - "apihelp-query+search-description": "Perform a full text search.", + "apihelp-query+search-summary": "Perform a full text search.", "apihelp-query+search-param-search": "Search for page titles or content matching this value. You can use the search string to invoke special search features, depending on what the wiki's search backend implements.", "apihelp-query+search-param-namespace": "Search only within these namespaces.", "apihelp-query+search-param-what": "Which type of search to perform.",