Merge "API: Update query modules for MCR"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 30 Jul 2018 22:40:40 +0000 (22:40 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 30 Jul 2018 22:40:40 +0000 (22:40 +0000)
1  2 
RELEASE-NOTES-1.32

diff --combined RELEASE-NOTES-1.32
@@@ -29,14 -29,6 +29,14 @@@ production
  * The archive table's ar_rev_id field is now unique.
  * Special:BotPasswords now requires reauthentication.
  * (T194414) The default watchlist view time has been increased from 3 to 7 days.
 +* The right to edit sitewide Javascript (e.g. MediaWiki:Common.js), CSS or JSON
 +  was separated from 'editinterface' and is available under
 +  'editsitejs'/'editsitecss'/'editsitejson'. Having 'editinterface' is still
 +  necessary to edit such pages.
 +* A new user group, 'interface-admin', is added for controlling access to
 +  sitewide CSS/JS (and editing other users' CSS/JS). No other group has
 +  'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs' by default.
 +* A new grant group, 'editsiteconfig', is added for granting the above rights.
  
  === New features in 1.32 ===
  * (T112474) Generalized the ResourceLoader mechanism for overriding modules
@@@ -64,8 -56,6 +64,8 @@@
  * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
    modify the return value of OutputPage#getHeadLinksArray in order to add,
    remove or otherwise alter the elements to be output in the page <head>.
 +* (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
 +  additional links to the subtitle of a history page.
  
  === External library changes in 1.32 ===
  * …
  * 'missingparam' errors will now use the prefixed parameter name in the code
    and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
    than "nofoo" and "The 'foo' parameter must be set".
+ * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
+   multi-content revision slots for which content should be returned. It also
+   has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
+   warning will be issued if rvprop=content or rvprop=contentmodel are used
+   without rvslots.
+ * The rvcontentformat parameter to action=query&prop=revisions has been
+   deprecated. Clients should be prepared to deal with the default format for
+   relevant models.
+ * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
+   rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
+   rvprop=parsetree is forbidden with the new 'rvslots' parameter.
+ * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
+   action=query&list=alldeletedrevisions are changed similarly to
+   &prop=revisions (see the three previous items).
  
  === Action API internal changes in 1.32 ===
  * Added 'ApiParseMakeOutputPage' hook.
  * Parameter names may no longer contain '{' or '}', as these are now used for
    templated parameters.
  * (T194950) Added 'ApiMaxLagInfo' hook.
+ * Added 'ApiParseMakeOutputPage' hook.
+ * The following methods now take a RevisionRecord rather than a Revision. No
+   external callers are known.
+   * ApiFeedContributions::feedItemAuthor()
+   * ApiFeedContributions::feedItemDesc()
+   * ApiQueryRevisionsBase::extractRevisionInfo()
  
  === Languages updated in 1.32 ===
  MediaWiki supports over 350 languages. Many localisations are updated regularly.
@@@ -207,8 -217,6 +227,8 @@@ because of Phabricator reports
    CapsuleMultiselectWidget. The following methods may no longer be used:
    * setItemsFromData: Use setValue instead
    * getItemsData: Use getItems instead and get the data property
 +* Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
 +  removed.  Use addLink() instead.
  
  === Deprecations in 1.32 ===
  * Use of a StartProfiler.php file is deprecated in favour of placing
    do your own lookup for page/content. mNewRev / mOldRev remains public.
  * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
    just enable the PHP extension, and it will be autodetected.
 +* The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
  
  === Other changes in 1.32 ===
  * (T198811) The following tables have had their UNIQUE indexes turned into