Api requests can throw a ApiUsageException, and that should be expected
[lhc/web/wiklou.git] / RELEASE-NOTES-1.31
index 75d7b7a..ad4f1b1 100644 (file)
@@ -74,6 +74,8 @@ production.
   and non-MySQL ::replace() and ::upsert() no longer roll back the whole
   transaction on failure.
 * (T189785) Added a monthly heartbeat ping to the pingback feature.
+* The CLI installer (maintenance/install.php) learned to detect and include
+  extensions. Pass --with-extensions to enable that feature.
 
 === External library changes in 1.31 ===
 
@@ -203,8 +205,8 @@ changes to languages because of Phabricator reports.
   * OutputPage::enableSectionEditLinks()
   * OutputPage::sectionEditLinksEnabled()
   * The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens are also deprecated.
-* The following methods and constants from the WatchedItem class were deprecated in
-  1.27 have been removed.
+* The following methods and constants from the WatchedItem class, which were deprecated in
+  1.27, have been removed.
   * WatchedItem::getTitle()
   * WatchedItem::fromUserTitle()
   * WatchedItem::addWatch()
@@ -288,6 +290,10 @@ changes to languages because of Phabricator reports.
   * ::clearCookie()
   * ::setExtendedLoginCookie()
   Note that User::setCookies() remains, and is not deprecated.
+* Also in User, some auth-related methods which were deprecated in 1.27, have been removed:
+  * ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp()
+  * ::getPasswordFactory() – create a PasswordFactory directly
+  * ::passwordChangeInputAttribs()
 * The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have been removed.
 * The following methods related to caching of half-parsed HTML were deprecated:
   * Parser::serializeHalfParsedText()