X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=2cebf99a48982b07938bb537db08f0d7b4a94c5c;hb=02f35caa16fa574bb36a1d22eea62c3b250de235;hp=9ac26e8389a0bf97ffd46a733a8c4a0503d63b18;hpb=a59448846eefc2ae7276ead0478a6743c0a00f9b;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 9ac26e8389..2cebf99a48 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -123,6 +123,9 @@ $wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; * (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 === @@ -159,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 no longer requires 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 === @@ -180,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 @@ -517,6 +555,11 @@ because of Phabricator reports. '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. === Other changes in 1.34 === * …