Rename Block to MediaWiki\Block\DatabaseBlock
[lhc/web/wiklou.git] / RELEASE-NOTES-1.34
index 85b7536..0a9db22 100644 (file)
@@ -185,6 +185,8 @@ because of Phabricator reports.
 * IP::isValidBlock(), deprecated in 1.30, has been removed.
 * WikiPage::prepareContentForEdit now doesn't accept an integer for $revision,
   was deprecated in 1.25.
+* The jquery.byteLength module, deprecated in 1.31, was removed.
+  Use the mediawiki.String module instead.
 * …
 
 === Deprecations in 1.34 ===
@@ -220,9 +222,10 @@ 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.
+* The Block class is separated into DatabaseBlock (for blocks stored in the
+  database), and SystemBlock (for temporary blocks created by the system).
+  SystemBlock should be used when creating any temporary blocks. Block is
+  a deprecated alias for DatabaseBlock.
 * Parser::$mConf is deprecated. It will be removed entirely in a later version.
   Some context can be found at T224165.
 * Constructing Parser directly is deprecated. Obtain one from ParserFactory.