API: Use ApiBlockInfoTrait in ApiQueryUsers and AllUsers
[lhc/web/wiklou.git] / RELEASE-NOTES-1.34
index 173a5da..af87e2b 100644 (file)
@@ -176,6 +176,9 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;
   set. Fields that are supported even if the file is missing include:
   'canonicaltitle', ''archivename' (deleted files only), 'descriptionurl',
   'descriptionshorturl'.
+* The 'blockexpiry' result property in list=users and list=allusers will now be
+  returned in the same format used by the rest of the API: ISO 8601 for
+  expiring blocks, and "infinite" for non-expiring blocks.
 
 === Action API internal changes in 1.34 ===
 * The exception thrown in ApiModuleManager::getModule has been changed
@@ -183,7 +186,7 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;
   ApiModuleManager::getModule now also throws InvalidArgumentExceptions when
   ObjectFactory is presented with an invalid spec or incorrectly constructed
   objects.
-* 
+* Added ApiQueryBlockInfoTrait.
 
 === Languages updated in 1.34 ===
 MediaWiki supports over 350 languages. Many localisations are updated regularly.
@@ -587,6 +590,8 @@ because of Phabricator reports.
 * Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban
   users from sending emails, use
   $wgGroupPermissions['sysop']['blockemail'] = true;
+* ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use
+  ApiQueryBlockInfoTrait instead.
 
 === Other changes in 1.34 ===
 * …