X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=5cd1bbc8112337c0b7c1d9799acabf7929f7279e;hb=b31b3519e9657ebbb3d060fef29d140f3b54e288;hp=a05f8d18e19bc3603046f537929ba3984c9833cf;hpb=a83b33582ae87efff13e68b67585ee0e1aeed036;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index a05f8d18e1..5cd1bbc811 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -75,10 +75,13 @@ For notes on 1.33.x and older releases, see HISTORY. * $wgDebugPrintHttpHeaders - The default of including HTTP headers in the debug log channel is no longer configurable. The debug log itself remains configurable via $wgDebugLogFile. +* $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values + stored in WANObjectCache. This is no longer configurable. * $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure password setups and deprecated since 1.24, is now removed. * $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf). +* $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead. === New user-facing features in 1.34 === * Special:Mute has been added as a quick way for users to block unwanted emails @@ -88,6 +91,10 @@ For notes on 1.33.x and older releases, see HISTORY. ([[Special:NewSection/Test]] redirects to creating a new section in "Test"). Otherwise, it displays a basic interface to allow the end user to specify the target manually. +* (T220447) Special:Contributions/newbies has been removed for performance and + usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead. +* Special:NewFiles/newbies has been removed for performance and usefulness + reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead. === New developer features in 1.34 === * The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification @@ -98,6 +105,10 @@ For notes on 1.33.x and older releases, see HISTORY. to add fields to Special:Mute. * (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths. See for details. +* (T229035) The GetUserBlock hook was added. Use this instead of + GetBlockedStatus. +* ObjectFactory is available as a service. When used as a service, the object + specs can now specify needed DI services. === External library changes in 1.34 === @@ -106,7 +117,8 @@ For notes on 1.33.x and older releases, see HISTORY. ==== Changed external libraries ==== * Updated Mustache from 1.0.0 to v3.0.1. -* Updated OOUI from v0.31.3 to v0.33.4. +* Updated OOUI from v0.31.3 to v0.34.0. +* Updated OOjs from v2.2.2 to v3.0.0. * Updated composer/semver from 1.4.2 to 1.5.0. * Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only). * Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only). @@ -347,6 +359,8 @@ because of Phabricator reports. MediaWikiTestCase::resetServices(). * SearchResult protected field $searchEngine is removed and no longer initialized after calling SearchResult::initFromTitle(). +* The UserIsBlockedFrom hook is only called if a block is found first, and + should only be used to unblock a blocked user. * … === Deprecations in 1.34 === @@ -403,6 +417,9 @@ 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 Profiler::setTemplated and Profiler::getTemplated methods have been + deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput + instead. * The Preprocessor_DOM implementation has been deprecated. It will be removed in a future release. Use the Preprocessor_Hash implementation instead. @@ -423,6 +440,8 @@ because of Phabricator reports. engines. * Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin template option 'searchaction' instead. +* Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated. + Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead. * LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have been deprecated. * FileBackend::getWikiId() has been deprecated. @@ -454,6 +473,12 @@ because of Phabricator reports. MediaWikiServices::getMessageCache(). * Constructing MovePage directly is deprecated. Use MovePageFactory. * TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead. +* wfIsBadImage() is deprecated. Use the BadFileLookup service instead. +* Building a new SearchResult is hard-deprecated, always call + SearchResult::newFromTitle(). This class is being refactored into an abstract + class. If you extend this class please be sure to override all its methods + or extend RevisionSearchResult. +* Skin::getSkinNameMessages() is deprecated and no longer used. === Other changes in 1.34 === * … @@ -461,7 +486,15 @@ because of Phabricator reports. == 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 -support. +support. It also requires the following PHP extensions: + +* ctype +* dom +* fileinfo +* iconv +* json +* mbstring +* xml MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, but support for them is somewhat less mature.