LukBukkit has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/327923 )

Change subject: Removed usages of a deprecated method Revision::getText
......................................................................

Removed usages of a deprecated method
Revision::getText

Bug: T151973
Change-Id: Ie4b990f1f7266e37ad803ad9b9741bfa85edcf62
---
M IndexAbstracts.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/IndexFunction 
refs/changes/23/327923/1

diff --git a/IndexAbstracts.php b/IndexAbstracts.php
index 4082606..4926001 100644
--- a/IndexAbstracts.php
+++ b/IndexAbstracts.php
@@ -99,7 +99,7 @@
                $rev = Revision::newFromTitle( $title );
 
                if ( $rev ) {
-                       $text = substr( $rev->getText(), 0, 16384 );
+                       $text = substr( $rev->getContent(), 0, 16384 );
 
                        // Ok, first note this is a TERRIBLE HACK. :D
                        //

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4b990f1f7266e37ad803ad9b9741bfa85edcf62
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/IndexFunction
Gerrit-Branch: master
Gerrit-Owner: LukBukkit <[email protected]>

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

Reply via email to