From 6a469c3b05c51f24fc92033ed1872898dd027cf2 Mon Sep 17 00:00:00 2001 From: Thalia Date: Mon, 13 May 2019 18:19:51 +0100 Subject: [PATCH 1/1] Update release notes following the refactor of Block This is a follow-up to I83bceb5. Bug: T222737 Change-Id: Ic01a4bb196733a719860c21b7c9b8a41a2e1257a --- RELEASE-NOTES-1.34 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 247f48eb37..ea7898949c 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -157,6 +157,8 @@ because of Phabricator reports. * JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed. * MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed. * SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed. +* The Block typehint only refers to blocks stored in the database. It should be + updated to AbstractBlock in cases where any type of block could be expected. * … === Deprecations in 1.34 === @@ -192,6 +194,9 @@ because of Phabricator reports. * The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated. Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage. * MWMessagePack class, no longer used, has been deprecated in 1.34. +* The Block class is separated into Block (for blocks stored in the database), + and SystemBlock (for temporary blocks created by the system). SystemBlock + should be used when creating any temporary blocks. === Other changes in 1.34 === * … -- 2.20.1