X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=RELEASE-NOTES-1.34;h=9231380f768af0327367d00f1a419b5f338051e2;hb=6b91bcdf782bdd6391595c753e4eefcdd5f57a18;hp=1775645b58ef98a89eb56aa1ed826ffd626ca958;hpb=133766e92042fdb603079d9d9bc4eccca9c551ae;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 1775645b58..9231380f76 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -25,6 +25,7 @@ Some specific notes for MediaWiki 1.34 upgrades are below: For notes on 1.33.x and older releases, see HISTORY. === Configuration changes for system administrators in 1.34 === + ==== New configuration ==== * … @@ -41,6 +42,7 @@ For notes on 1.33.x and older releases, see HISTORY. * … === External library changes in 1.34 === + ==== New external libraries ==== * … @@ -53,7 +55,10 @@ For notes on 1.33.x and older releases, see HISTORY. * … === Bug fixes in 1.34 === -* … +* (T222529) If a log entry or page revision is recorded in the database with an + empty username, attempting to display it will log an error and return a "no + username available" to the user instead of silently displaying nothing or + invalid links. === Action API changes in 1.34 === * The 'recenteditcount' response property from action=query list=allusers, @@ -67,7 +72,7 @@ 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 Phabricator reports. -* … +* (T152908) Added language support for N'Ko (nqo). === Breaking changes in 1.34 === * Preferences class, deprecated in 1.31, has been removed. @@ -104,13 +109,50 @@ because of Phabricator reports. * User::randomPassword() method, deprecated in 1.27, have been removed. * MWNamespace::canTalk(), deprecated in 1.30, have been removed. * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed. +* wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been + removed. +* wfMakeUrlIndexes() function, deprecated in 1.33, have been removed. +* Method signatures in WatchedItemQueryServiceExtension have changed from taking + User objects to taking UserIdentity objects. Extensions implementing this + interface need to be changed accordingly. +* User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been + removed. Use UserGroupMembership::getGroupPage and ::getLink instead. +* User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use + UserGroupMembership::getLink() instead. * … === Deprecations in 1.34 === -* The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo. +* The MWNamespace class is deprecated. Use NamespaceInfo. * ExtensionRegistry->load() is deprecated, as it breaks dependency checking. Instead, use ->queue(). -* … +* User::isBlocked() is deprecated since it does not tell you if the user is + blocked from editing a particular page. Use User::getBlock() or + PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead. +* User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved + to the BlockManager as private helper methods. +* User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted + instead. +* The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled + is deprecated. Pass only the User argument. +* WatchedItem::getUser is deprecated. Use getUserIdentity. +* Passing a Title as the first parameter to the getTimestampById method of + RevisionStore is deprecated. Omit it, passing only the remaining parameters. +* Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use + RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision. +* The Title parameter to RevisionLookup::getPreviousRevision and + RevisionLookup::getNextRevision is deprecated and should be omitted. +* MWHttpRequest::factory is deprecated. Use HttpRequestFactory. +* The Http class is deprecated. For the request, get, and post methods, use + HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI. For + getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a + MultiHttpClient directly. +* Http::$httpEngine is deprecated and has no replacement. The default 'guzzle' + engine will eventually be made the only engine for HTTP requests. +* RepoGroup::singleton(), RepoGroup::destroySingleton(), + RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all + deprecated. Use MediaWikiServices instead. +* The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated. + Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage. === Other changes in 1.34 === * …