jenkins-bot has submitted this change and it was merged.

Change subject: Replace Revision::getText()
......................................................................


Replace Revision::getText()

Bug: T147380
Change-Id: Iebbf85d4103f13f94f06dcf5cd40465594e20a55
---
M includes/index/ProofreadIndexPage.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tpt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/index/ProofreadIndexPage.php 
b/includes/index/ProofreadIndexPage.php
index 5f8f028..fd6f63d 100644
--- a/includes/index/ProofreadIndexPage.php
+++ b/includes/index/ProofreadIndexPage.php
@@ -110,7 +110,7 @@
                        if ( $rev === null ) {
                                $this->text = '';
                        } else {
-                               $this->text = $rev->getText();
+                               $this->text = ContentHandler::getContentText( 
$rev->getContent() );
                        }
                }
                return $this->text;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iebbf85d4103f13f94f06dcf5cd40465594e20a55
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ProofreadPage
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>
Gerrit-Reviewer: Tpt <thoma...@hotmail.fr>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to