X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=508ba089553194e9d9ac021bd92645912e617df0;hp=c4bbd4af949e6fb2ade87a28f93795f6d368d10b;hb=28f9e6277efda6635c1a73122f047557d6a64edb;hpb=1aac226b92a73a7be6787c6eb425e680bf1335b6 diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index c4bbd4af94..508ba08955 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -141,7 +141,7 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; * Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only). * Updated cssjanus/cssjanus from 1.2.1 to 1.3.0. * Updated wikimedia/at-ease from 1.2.0 to 2.0.0. -* Updated wikimedia/remex-html from 2.0.1 to 2.0.3. +* Updated wikimedia/remex-html from 2.0.1 to 2.1.0. * Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only). * Updated wikimedia/object-factory from 1.0.0 to 2.1.0. * Updated wikimedia/timestamp from 2.2.0 to 3.0.0. @@ -164,6 +164,21 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; deprecated in 1.25, has been removed. * (T60993) action=query list=filearchive, list=alldeletedrevisions and prop=deletedrevisions no longer require the 'deletedhistory' user right. +* In the response to queries that use 'prop=imageinfo', entries for + non-existing files (indicated by the 'filemissing' field) now omit the + following fields, since they are meaningless in this context: + 'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width', + 'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment', + 'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime', + 'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata', + 'mime', 'mediadtype', 'bitdepth'. + Clients that process these fields should first check if 'filemissing' is + 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 @@ -171,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. @@ -305,6 +320,8 @@ because of Phabricator reports. * The jquery.colorUtil module was removed. Use jquery.color instead. * The jquery.checkboxShiftClick module was removed. The functionality is provided by mediawiki.page.ready instead (T232688). +* The 'jquery.accessKeyLabel' module has been removed. This jQuery + plugin now ships as part of the 'mediawiki.util' module bundle. * EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit() directly. * HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use @@ -489,8 +506,6 @@ because of Phabricator reports. * ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have been deprecated. Inside ResourceLoaderModule subclasses, use the local methods instead. Elsewhere, use the methods from the ResourceLoader class. -* The 'jquery.accessKeyLabel' module has been deprecated. This jQuery - plugin is now ships as part of the 'mediawiki.util' module bundle. * The Profiler::setTemplated and Profiler::getTemplated methods have been deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput instead. @@ -572,6 +587,11 @@ because of Phabricator reports. * StreamFile::send404Message() and StreamFile::parseRange() are now deprecated. Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange() respectively instead. +* 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 === * …