jenkins-bot has submitted this change and it was merged.
Change subject: Properly create interwiki redirect titles
......................................................................
Properly create interwiki redirect titles
When rendering interwiki results this wasn't taking the interwiki
prefix into account.
Change-Id: I508531bbfd58b957816cddb1d76606517cd633eb
---
M includes/Search/Result.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Smalyshev: Looks good to me, but someone else must approve
Cindy-the-browser-test-bot: Looks good to me, but someone else must approve
DCausse: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Search/Result.php b/includes/Search/Result.php
index df85ecd..04b1bdb 100644
--- a/includes/Search/Result.php
+++ b/includes/Search/Result.php
@@ -190,7 +190,7 @@
);
return null;
}
- return Title::makeTitleSafe( $best[ 'namespace' ], $best[
'title' ] );
+ return Title::makeTitleSafe( $best[ 'namespace' ], $best[
'title' ], '', $this->interwiki );
}
private function findSectionTitle() {
--
To view, visit https://gerrit.wikimedia.org/r/236199
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I508531bbfd58b957816cddb1d76606517cd633eb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Cindy-the-browser-test-bot <[email protected]>
Gerrit-Reviewer: DCausse <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: Smalyshev <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits