jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/325921 )

Change subject: ExtendesSearch.class.php onArticleSaveComplete
......................................................................


ExtendesSearch.class.php onArticleSaveComplete

Fix for NSFileRepo: now using wfFindFile()

Change-Id: I173b9fb7a21971030d4aadcac604c1f284da9703
---
M ExtendedSearch/ExtendedSearch.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/ExtendedSearch/ExtendedSearch.class.php 
b/ExtendedSearch/ExtendedSearch.class.php
index 77dd0e6..e52a460 100644
--- a/ExtendedSearch/ExtendedSearch.class.php
+++ b/ExtendedSearch/ExtendedSearch.class.php
@@ -393,7 +393,7 @@
                        //in turn means that we need to update the index entry 
of the file
                        //with the new categories
                        if ( $oTitle->getNamespace() === NS_FILE ) {
-                               $oFile = LocalFile::newFromTitle( $oTitle, 
RepoGroup::singleton()->getLocalRepo() );
+                               $oFile = wfFindFile( $oTitle );
 
                                //Unfortunately 
BuildIndexMwSingleFile::indexCrawledDocuments
                                //checks if the file is already on the index. 
If so it does not

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I173b9fb7a21971030d4aadcac604c1f284da9703
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_27
Gerrit-Owner: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
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