Daniel Kinzler has uploaded a new change for review.

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

Change subject: Deprecfate WikiRevision::getText
......................................................................

Deprecfate WikiRevision::getText

Bug: T146162
Change-Id: I60249d687ac74baca146ed28d57c9a8ebcd79fba
---
M includes/import/WikiRevision.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/36/311736/1

diff --git a/includes/import/WikiRevision.php b/includes/import/WikiRevision.php
index d78d61a..1e866f3 100644
--- a/includes/import/WikiRevision.php
+++ b/includes/import/WikiRevision.php
@@ -319,7 +319,7 @@
         * @deprecated Since 1.21, use getContent() instead.
         */
        function getText() {
-               ContentHandler::deprecated( __METHOD__, '1.21' );
+               wfDeprecated( __METHOD__, '1.21' );
 
                return $this->text;
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I60249d687ac74baca146ed28d57c9a8ebcd79fba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Daniel Kinzler <daniel.kinz...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to