Reedy has uploaded a new change for review.

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

Change subject: Replace deprecated loadContent with fetchContent
......................................................................

Replace deprecated loadContent with fetchContent

Change-Id: I20ed445b1c0866960501489d3102f5486b1ea304
---
M SearchOracleText.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OracleTextSearch 
refs/changes/98/258898/1

diff --git a/SearchOracleText.php b/SearchOracleText.php
index a44e012..52d68b6 100644
--- a/SearchOracleText.php
+++ b/SearchOracleText.php
@@ -47,7 +47,7 @@
                if ( $localFile !=  null && in_array( 
$localFile->getMimeType(), $wgExIndexMIMETypes ) ) {
                        wfDebugLog( 'OracleTextSearch', 'Touching file page to 
force indexing');
                        $article = new Article( $localFile->getTitle() );
-                       $article->loadContent();
+                       $article->fetchContent();
                        $article->doEdit( $article->mContent, 
$article->mComment );
                }
                return true;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20ed445b1c0866960501489d3102f5486b1ea304
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OracleTextSearch
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

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

Reply via email to