Daniel Kinzler has uploaded a new change for review.

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

Change subject: Emit deprecation warnings from Article::fetchContent
......................................................................

Emit deprecation warnings from Article::fetchContent

Bug: T145734
Change-Id: Ia70dedc729fc4724b773a29d8789ace344ae0df9
---
M includes/page/Article.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/41/311741/1

diff --git a/includes/page/Article.php b/includes/page/Article.php
index 449c9ff..067879d 100644
--- a/includes/page/Article.php
+++ b/includes/page/Article.php
@@ -335,7 +335,7 @@
        function fetchContent() {
                // BC cruft!
 
-               ContentHandler::deprecated( __METHOD__, '1.21' );
+               wfDeprecated( __METHOD__, '1.21' );
 
                if ( $this->mContentLoaded && $this->mContent ) {
                        return $this->mContent;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia70dedc729fc4724b773a29d8789ace344ae0df9
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