X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=4ab44c93ffcfe2fc8aefb8b8f5d5a06bccd5ffca;hp=8d9b06ed365db6aadf710fb1e1d9f5e6efab5b1c;hb=3c2e8a0f6176f9b8215b274ff3565d42030836be;hpb=b450bf0bd6551ec8f6a7c054d6e66b29cb71e43d diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 8d9b06ed36..4ab44c93ff 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -63,6 +63,9 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; * Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type detection heuristic on upload, which is more conservative than the checks that were changed above. +* $wgExternalDiffEngine — Setting this to a string value of 'wikidiff', + 'wikidiff2', or 'wikidiff3' will no longer work. This legacy behaviour was + deprecated in MediaWiki 1.27, 1.32, and 1.27, respectively. * $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now hard-deprecated. * $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in @@ -455,6 +458,8 @@ because of Phabricator reports. * User::setNewpassword(), deprecated in 1.27 has been removed. * The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance functions, deprecated since 1.28, have been removed. +* Language::$dataCache has been removed (without prior deprecation, for + practical reasons). Use MediaWikiServices instead to get a LocalisationCache. === Deprecations in 1.34 === * The MWNamespace class is deprecated. Use NamespaceInfo. @@ -564,6 +569,10 @@ because of Phabricator reports. * IDatabase::bufferResults() has been deprecated. Use query batching instead. * MessageCache::singleton() is deprecated. Use MediaWikiServices::getMessageCache(). +* ObjectCache::getWANInstance() is deprecated. Use + MediaWikiServices::getMainWANObjectCache() instead. +* ObjectCache::newWANCacheFromParams() is deprecated. Use + MediaWikiServices::getMainWANObjectCache() instead. * Constructing MovePage directly is deprecated. Use MovePageFactory. * TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead. * wfIsBadImage() is deprecated. Use the BadFileLookup service instead. @@ -576,6 +585,8 @@ because of Phabricator reports. * Specifying a SpecialPage object for the list of special pages (either through the SpecialPage_initList hook or by adding to $wgSpecialPages) is now deprecated. +* WebInstaller::getInfoBox(), getWarningBox() and getErrorBox() are deprecated. + Use Html::errorBox() or Html::warningBox() instead. * Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user', 'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted to use the corresponding actor fields directly. Note that use with @@ -596,14 +607,28 @@ because of Phabricator reports. $wgGroupPermissions['sysop']['blockemail'] = true; * ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use ApiQueryBlockInfoTrait instead. +* PasswordReset is now a service, its direct instantiation is deprecated. +* RESTBagOStuff users should specify either "JSON" or "PHP" serialization type. +* The global function wfIsHHVM() is deprecated and will now always return false + regardless of the runtime environment. This is part of the continuing work to + remove HHVM support from MediaWiki, which started in MediaWiki 1.31. +* Language::getLocalisationCache() is deprecated. Use MediaWikiServices + instead. +* The following Language methods are deprecated: isSupportedLanguage, + isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames, + fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName. + Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s) + are called getLanguageName(s) in the new class.) === Other changes in 1.34 === +* Added option to specify "Various authors" as author in extension credits using + "..." as the only author name. If the "author" array contains more than one + entry and "..." is one of the entries in the array, "..." will be parsed as + "others" (version-poweredby-others i18n message) like previously. * … == Compatibility == -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: +MediaWiki 1.34 requires PHP 7.2.9 or later, and the following PHP extensions: * ctype * dom