X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.27;h=f674d598d32c06cc7eab017fe0ab81edd793f7f4;hb=67753f1ad049c5d0af348230ec5c939fb71659a2;hp=e124832be8ed8431be5c8bca735b6c211c048c54;hpb=ca5c234d189fbbf348e3e5a74d0070ac4ee1db4b;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index e124832be8..f674d598d3 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -51,6 +51,16 @@ production. a thumbnail handler. See $wgForeignFileRepos documentation for tweaks. * (T27397) WebP is enabled by default as an uploadable filetype. * (T48998) $wgArticlePath must now be either a full url, or start with a "/". +* $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead. +* Deprecated API formats dbg, txt, and yaml have been removed. +* CLDRPluralRule* classes have been replaced with wikimedia/cldr-plural-rule-parser. +* Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort, + $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID, $wgStatsFormatString, + and $wgProfileCallTree (deprecated since 1.20). +* For proper operation of LocalIdLookup with shared user tables, ensure that + $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki + that all others are sharing from and that $wgLocalDatabases is set to the + full list of sharing wikis on all those wikis. === New features in 1.27 === * $wgDataCenterId and $wgDataCenterRoles where added, which will serve as @@ -78,8 +88,31 @@ production. and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create cross-browser-compatible FlexBox rules. Users will still need to add fallback float rules or the like for compatibility with IE9- separately. - -==== External libraries ==== +* Added MWTimestamp::getTimezoneString() which returns the localized timezone + string, if available. To localize this string, see the comments of + $wgLocaltimezone in includes/DefaultSettings.php. +* Added CentralIdLookup, a service that allows extensions needing a concept of + "central" users to get that without having to know about specific central + authentication extensions. +* $wgMaxUserDBWriteDuration added to limit huge user-generated transactions. + Regular web request transactions that takes longer than this are aborted. +* Added a new hook, 'TitleMoveCompleting', which runs before a page move is committed. +* $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs + from CDN to mitigate DB replication lag and WAN cache purge lag. + +=== External library changes in 1.27 === +==== Upgraded external libraries ==== +* Updated oojs/oojs-ui from v0.12.12 to v0.13.3. +* Updated composer/semver from v1.0.0 to v1.2.0. +* Update liuggio/statsd-php-client to 1.0.18. + +==== New external libraries ==== +* Added wikimedia/base-convert v1.0.1. +* Added wikimedia/cldr-plural-rule-parser v1.0.0. +* Added wikimedia/relpath v1.0.3. +* Added wikimedia/running-stat v1.1.0. + +==== Removed and replaced external libraries ==== === Bug fixes in 1.27 === * Special:Upload will now display correct maximum allowed file size when running @@ -95,15 +128,28 @@ production. "was-deleted" warning. * Added difftotextpst to query=revisions which preforms a pre-save transform on the text before diffing it. +* Deprecated formats dbg, txt, and yaml have been removed. +* (T47988) The protect log event details now use new-style formatting. +* The following response properties from action=login are deprecated, and may + be removed in the future: lgtoken, cookieprefix, sessionid. Clients should + handle cookies to properly manage session state. === Action API internal changes in 1.27 === * ApiQueryORM removed. +* The following classes have been removed: +** ApiFormatDbg +** ApiFormatTxt +** ApiFormatYaml +* ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and + ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24). +* ApiQueryBase::checkRowCount() was removed (deprecated since 1.24). +* ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25). === Languages updated in 1.27 === MediaWiki supports over 350 languages. Many localisations are updated regularly. Below only new and removed languages are listed, as well as -changes to languages because of Bugzilla reports. +changes to languages because of Phabricator reports. * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale. @@ -117,6 +163,33 @@ changes to languages because of Bugzilla reports. * WikiPage::doQuickEdit() was removed (deprecated since 1.21). * Removed SiteObject and SiteArray classes (deprecated in 1.21). * MessageBlobStore::getInstance() was removed (deprecated since 1.25). +* (T84937) Free external links ("autolinked" urls) will now be terminated + by   and HTML entity encodings of  , <, and >. +* (T36948) The default file revert message's timestamp is now in $wgLocaltimezone, + instead of UTC. +* The default name of the 'suppress' group page has been changed from + 'Project:Oversight' to 'Project:Suppress'. +* DatabaseBase::resultObject() is now protected (use outside Database classes + not necessary since 1.11). +* Calling ResourceLoaderFileModule::readStyleFiles() without a + ResourceLoaderContext instance is deprecated. +* ResourceLoader::getLessCompiler() now takes an optional parameter of + additional LESS variables to set for the compiler. +* wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly instead. +* Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php + were removed. The underlying data is sent to StatsD (see $wgStatsdServer). +* Removed msg_resource_links database table and associated code. +* Removed msg_resource database table and associated code. +* Skin::getNamespaceNotice() was removed. +* wfIsConfiguredProxy() was removed (deprecated since 1.24). +* wfDebugTimer() was removed (deprecated since 1.25). +* wfIsTrustedProxy() was removed (deprecated since 1.24). +* wfGetIP() was removed (deprecated since 1.19). +* MWHookException was removed. +* OutputPage::appendSubtitle() was removed (deprecated since 1.19). +* OutputPage::loginToUse() was removed (deprecated since 1.19). +* Article::loadContent() was removed (deprecated since 1.19). +* User::editToken() was removed (deprecated since 1.19). == Compatibility ==