X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=0a9db22ef742c8f13a65b14cbc75a88cd1ccbd20;hb=e65a5b58821873fdfdd15a4de6c1590fbea9a5fd;hp=247f48eb37d1930e54bf0b01de9aa228f3eda1f2;hpb=a1731db5abba7323eada8c11db2340cf0ecc3670;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 247f48eb37..0a9db22ef7 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -27,13 +27,27 @@ For notes on 1.33.x and older releases, see HISTORY. === Configuration changes for system administrators in 1.34 === ==== New configuration ==== -* … +* $wgAllowExternalReqID (T201409) - This configuration setting controls whether + Mediawiki accepts the request ID set by the incoming request via the + `X-Request-Id` header. If set to `true`, that value will be used throughout + the code as the request identificator. Otherwise, the sent header will be + ignored and the request ID will either be taken from Apache's mod_unique + module or will be generated by Mediawiki itself (depending on the set-up). ==== Changed configuration ==== +* $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four + CDN-related config variables have been renamed from being specific to Squid – + they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and + $wgSquidMaxage respectively. This aligns them with the related existing + variable $wgCdnMaxageLagged. The previous configuration variable names are + deprecated, but will be used as the fall back if they are still set. + Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated. * … ==== Removed configuration ==== -* … +* $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change + size threshold, please specify in php.ini, using the configuration variable + wikidiff2.moved_paragraph_detection_cutoff. === New user-facing features in 1.34 === * … @@ -54,9 +68,12 @@ For notes on 1.33.x and older releases, see HISTORY. * 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). * 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. * … ==== Removed external libraries ==== +* The jquery.async module, deprecated in 1.33, was removed. * … === Bug fixes in 1.34 === @@ -80,6 +97,9 @@ because of Phabricator reports. * (T152908) Added language support for N'Ko (nqo). === Breaking changes in 1.34 === +* The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in + 1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and + Wikimedia\AtEase\AtEase::restoreWarnings() directly. * Preferences class, deprecated in 1.31, has been removed. * The following parts of code, deprecated in 1.32, were removed in favor of built-in PHP functions: @@ -157,6 +177,16 @@ because of Phabricator reports. * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed. * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed. * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed. +* The Block typehint only refers to blocks stored in the database. It should be + updated to AbstractBlock in cases where any type of block could be expected. +* FileRepoStatus, deprecated in 1.25, has been removed. +* The LegacyHookPreAuthenticationProvider class, deprecated since its creation + in 1.27, has been removed. +* IP::isValidBlock(), deprecated in 1.30, has been removed. +* WikiPage::prepareContentForEdit now doesn't accept an integer for $revision, + was deprecated in 1.25. +* The jquery.byteLength module, deprecated in 1.31, was removed. + Use the mediawiki.String module instead. * … === Deprecations in 1.34 === @@ -192,6 +222,18 @@ because of Phabricator reports. * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated. Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage. * MWMessagePack class, no longer used, has been deprecated in 1.34. +* The Block class is separated into DatabaseBlock (for blocks stored in the + database), and SystemBlock (for temporary blocks created by the system). + SystemBlock should be used when creating any temporary blocks. Block is + a deprecated alias for DatabaseBlock. +* Parser::$mConf is deprecated. It will be removed entirely in a later version. + Some context can be found at T224165. +* Constructing Parser directly is deprecated. Obtain one from ParserFactory. +* Title::moveSubpages is deprecated. Use MovePage::moveSubpages or + MovePage::moveSubpagesIfAllowed. +* The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo. +* (T62260) Hard deprecate Language::getExtraUserToggles() method. +* … === Other changes in 1.34 === * …