Robert Vogel has uploaded a new change for review. ( 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/21/325921/1 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: newchange 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> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits