IoannisKydonis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/264585

Change subject: In ParserOutput::addSecondaryDataUpdate() TODO: remove in 1.26
......................................................................

In ParserOutput::addSecondaryDataUpdate()
TODO: remove in 1.26

Change-Id: Ia50f3fa4b759c553b52988ad73b4ab5c1b367325
---
M RELEASE-NOTES-1.27
M includes/parser/ParserOutput.php
2 files changed, 1 insertion(+), 23 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/85/264585/1

diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27
index d1952c8..650992f 100644
--- a/RELEASE-NOTES-1.27
+++ b/RELEASE-NOTES-1.27
@@ -284,6 +284,7 @@
 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
 * User::generateToken() was removed (deprecated since 1.20).
 * WikiPage::getRawText() was removed (deprecated since 1.21).
+* ParserOutput::addSecondaryDataUpdate was removed (deprecated since 1.25).
 
 == Compatibility ==
 
diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php
index e4c287a..79b1bec 100644
--- a/includes/parser/ParserOutput.php
+++ b/includes/parser/ParserOutput.php
@@ -856,29 +856,6 @@
        }
 
        /**
-        * @deprecated since 1.25. Instead, store any relevant data using 
setExtensionData,
-        *    and implement Content::getSecondaryDataUpdates() if possible, or 
use the
-        *    'SecondaryDataUpdates' hook to construct the necessary update 
objects.
-        *
-        * @note Hard deprecation and removal without long deprecation period, 
since there are no
-        *       known users, but known conceptual issues.
-        *
-        * @todo remove in 1.26
-        *
-        * @param DataUpdate $update
-        *
-        * @throws MWException
-        */
-       public function addSecondaryDataUpdate( DataUpdate $update ) {
-               wfDeprecated( __METHOD__, '1.25' );
-               throw new MWException(
-                       'ParserOutput::addSecondaryDataUpdate() is no longer 
supported. ' .
-                               'Override Content::getSecondaryDataUpdates() ' .
-                               'or use the SecondaryDataUpdates hook instead.'
-               );
-       }
-
-       /**
         * @deprecated since 1.25.
         *
         * @note Hard deprecation and removal without long deprecation period, 
since there are no

-- 
To view, visit https://gerrit.wikimedia.org/r/264585
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia50f3fa4b759c553b52988ad73b4ab5c1b367325
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: IoannisKydonis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to