X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=173a5da20ec5c03801c6eec706a35ab1b824432e;hb=8c30c3704fa144f6d09cd27b127cef507d59d753;hp=09195e162cef041e2ebbab437cf14ab602969d5a;hpb=99f611d07087ad0ec9ffc2d1919cad45c131002d;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 09195e162c..173a5da20e 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -164,6 +164,18 @@ $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'. === Action API internal changes in 1.34 === * The exception thrown in ApiModuleManager::getModule has been changed @@ -302,6 +314,11 @@ because of Phabricator reports. Use the mediawiki.String module instead. * mw.language.specialCharacters, deprecated in 1.33, has been removed. Use require( 'mediawiki.language.specialCharacters' ) instead. +* 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 @@ -428,6 +445,9 @@ because of Phabricator reports. * Revision::selectTextFields() * Revision::selectPageFields() * Revision::selectUserFields() +* User::setNewpassword(), deprecated in 1.27 has been removed. +* The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance + functions, deprecated since 1.28, have been removed. === Deprecations in 1.34 === * The MWNamespace class is deprecated. Use NamespaceInfo. @@ -483,8 +503,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. @@ -563,13 +581,19 @@ because of Phabricator reports. * The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or remove a block. * $wgContentHandlerUseDB is deprecated and should always be true. +* 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; === Other changes in 1.34 === * … == Compatibility == -MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is -supported, it is generally advised to use PHP 7.0.13 or later for long term +MediaWiki 1.34 requires PHP 7.2.0 or later. Although HHVM 3.18.5 or later is +supported, it is generally advised to use PHP 7.2.0 or later for long term support. It also requires the following PHP extensions: * ctype