X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=09195e162cef041e2ebbab437cf14ab602969d5a;hp=828d0fb80711ac7c37f531ee1803d879816c0307;hb=7e49f068f0dfdae09ad87438a9a85a7350e45153;hpb=509b2f7fe247bfe89c6bedd21d4bfd22d435aa4d diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 828d0fb807..09195e162c 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -80,6 +80,7 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; * $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change size threshold, please specify in php.ini, using the configuration variable wikidiff2.moved_paragraph_detection_cutoff. +* $wgUseESI - This experimental setting, deprecated in 1.33, is now removed. * $wgDebugPrintHttpHeaders - The default of including HTTP headers in the debug log channel is no longer configurable. The debug log itself remains configurable via $wgDebugLogFile. @@ -90,6 +91,8 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; * $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. +* $wgActorTableSchemaMigrationStage has been removed. Extension code for + MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW. === New user-facing features in 1.34 === * Special:Mute has been added as a quick way for users to block unwanted emails @@ -117,6 +120,12 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; GetBlockedStatus. * ObjectFactory is available as a service. When used as a service, the object specs can now specify needed DI services. +* (T222388) Special pages can now be specified as an ObjectFactory spec, + allowing the construction of special pages that require services to be + injected in their constructor. +* (T222388) API modules can now be specified as an ObjectFactory spec, + allowing the construction of modules that require services to be injected + in their constructor. === External library changes in 1.34 === @@ -153,8 +162,15 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; === Action API changes in 1.34 === * The 'recenteditcount' response property from action=query list=allusers, deprecated in 1.25, has been removed. +* (T60993) action=query list=filearchive, list=alldeletedrevisions and + prop=deletedrevisions no longer require the 'deletedhistory' user right. === Action API internal changes in 1.34 === +* The exception thrown in ApiModuleManager::getModule has been changed + from an MWException to an UnexpectedValueException, thrown by ObjectFactory. + ApiModuleManager::getModule now also throws InvalidArgumentExceptions when + ObjectFactory is presented with an invalid spec or incorrectly constructed + objects. * … === Languages updated in 1.34 === @@ -174,6 +190,34 @@ because of Phabricator reports. * CryptRand class * CryptRand service * Functions of the MWCryptRand class: singleton(), wasStrong() and generate(). +* Various Special Page PHP Classes were renamed (mostly casing changes): + * SpecialAncientpages => SpecialAncientPages + * SpecialConfirmemail => SpecialConfirmEmail + * SpecialDeadendpages => SpecialDeadendPages + * SpecialFewestrevisions => SpecialFewestRevisions + * SpecialListredirects => SpecialListRedirects + * SpecialLonelypages => SpecialLonelyPages + * SpecialLongpages => SpecialLongPages + * SpecialMIMEsearch => SpecialMIMESearch + * SpecialMostcategories => SpecialMostCategories + * SpecialMostinterwikis => SpecialMostInterwikis + * SpecialMostlinked => SpecialMostLinked + * SpecialMostlinkedcategories => SpecialMostLinkedCategories + * SpecialMostlinkedtemplates => SpecialMostLinkedTemplates + * SpecialMostrevisions => SpecialMostRevisions + * SpecialNewimages => SpecialNewFiles + * SpecialShortpages => SpecialShortPages + * SpecialUncategorizedcategories => SpecialUncategorizedCategories + * SpecialUncategorizedimages => SpecialUncategorizedImages + * SpecialUncategorizedpages => SpecialUncategorizedPages + * SpecialUncategorizedtemplates => SpecialUncategorizedTemplates + * SpecialUnusedcategories => SpecialUnusedCategories + * SpecialUnusedimages => SpecialUnusedImages + * SpecialUnusedtemplates => SpecialUnusedTemplates + * SpecialUnwatchedpages => SpecialUnwatchedPages + * SpecialWantedcategories => SpecialWantedCategories + * SpecialWantedtemplates => SpecialWantedTemplates + * SpecialWithoutinterwiki => SpecialWithoutInterwiki * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to create a new Language object with a different language code. * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter @@ -369,7 +413,21 @@ because of Phabricator reports. 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. -* … +* Parameters for index.php from PATH_INFO, such as the title, are no longer + written to $_GET. +* The selectFields() methods on classes LocalFile, ArchivedFile, OldLocalFile, + DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use + the corresponding getQueryInfo() methods instead. +* The following methods on Revision, deprecated since 1.31, have been removed. + Use RevisionStore::getQueryInfo() or RevisionStore::getArchiveQueryInfo() + instead. + * Revision::userJoinCond() + * Revision::pageJoinCond() + * Revision::selectFields() + * Revision::selectArchiveFields() + * Revision::selectTextFields() + * Revision::selectPageFields() + * Revision::selectUserFields() === Deprecations in 1.34 === * The MWNamespace class is deprecated. Use NamespaceInfo. @@ -425,6 +483,8 @@ 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. @@ -487,6 +547,22 @@ because of Phabricator reports. 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. +* The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp() instead. +* Specifying a SpecialPage object for the list of special pages (either through + the SpecialPage_initList hook or by adding to $wgSpecialPages) is now + deprecated. +* 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 + 'rev_user' is *not* deprecated at this time. +* Specifying both the class and factory parameters for + ApiModuleManager::addModule is now deprecated. The ObjectFactory spec should + be used instead. +* The UserIsHidden hook is deprecated. Use GetUserBlock instead, and add a + system block that hides the user. +* The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or + remove a block. +* $wgContentHandlerUseDB is deprecated and should always be true. === Other changes in 1.34 === * …