Merge "API: Use U+001F (Unit Separator) for separating multi-valued parameters"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 30 Aug 2016 01:45:03 +0000 (01:45 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 30 Aug 2016 01:45:03 +0000 (01:45 +0000)
1  2 
RELEASE-NOTES-1.28

diff --combined RELEASE-NOTES-1.28
@@@ -26,9 -26,9 +26,9 @@@ production
    https://www.mediawiki.org/beacon with basic information about the local
    MediaWiki installation. This data includes, for example, the type of system,
    PHP version, and chosen database backend. This behavior is off by default.
 -* When $wgEditButtonPublishNotSave is true, MediaWiki will label the button to
 -  store-to-database-and-show-to-others as "Publish page"/"Publish changes"; if
 -  false, the default, they will be "Save page"/"Save changes".
 +* When $EditSubmitButtonLabelPublish is true, MediaWiki will label the button
 +  to store-to-database-and-show-to-others as "Publish page"/"Publish changes";
 +  if false, the default, they will be "Save page"/"Save changes".
  
  === New features in 1.28 ===
  * User::isBot() method for checking if an account is a bot role account.
@@@ -47,6 -47,9 +47,9 @@@
    collation, you will need to run the updateCollation.php maintenance script.
  * Two new codes have been added to #time parser function: "xit" for days in current
    month, and "xiz" for days passed in the year, both in Iranian calendar.
+ * mw.Api has a new option, useUS, to use U+001F (Unit Separator) when
+   appropriate for sending multi-valued parameters. This defaults to true when
+   the mw.Api instance seems to be for the local wiki.
  
  === External library changes in 1.28 ===
  
@@@ -84,6 -87,9 +87,9 @@@
    action=createaccount, action=linkaccount, and action=changeauthenticationdata
    in the query string is now deprecated and outputs a warning. They should be
    submitted in the POST body instead.
+ * (T141960) Multi-valued parameters may now be separated using U+001F (Unit Separator)
+   instead of the pipe character. This will be useful if some of the multiple
+   values need to contain pipes, e.g. for action=options.
  
  === Action API internal changes in 1.28 ===
  * Added a new hook, 'ApiMakeParserOptions', to allow extensions to better