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

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(-)

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



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: merged
Gerrit-Change-Id: I20ed445b1c0866960501489d3102f5486b1ea304
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OracleTextSearch
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Freakolowsky <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to