Nemo bis has uploaded a new change for review.

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

Change subject: Output local search results before interwiki results
......................................................................

Output local search results before interwiki results

Untested.

Bug: T87631
Change-Id: Ia85c39a8b59a1fe7eefe1869a2b18f1b5f55f005
---
M includes/specials/SpecialSearch.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/15/186915/1

diff --git a/includes/specials/SpecialSearch.php 
b/includes/specials/SpecialSearch.php
index 55be2c2..1201096 100644
--- a/includes/specials/SpecialSearch.php
+++ b/includes/specials/SpecialSearch.php
@@ -381,14 +381,14 @@
                                $out->wrapWikiMsg( "==$1==\n", 'textmatches' );
                        }
 
-                       // show interwiki results if any
-                       if ( $textMatches->hasInterwikiResults() ) {
-                               $out->addHTML( $this->showInterwiki( 
$textMatches->getInterwikiResults(), $term ) );
-                       }
                        // show results
                        if ( $numTextMatches > 0 ) {
                                $out->addHTML( $this->showMatches( $textMatches 
) );
                        }
+                       // show interwiki results if any
+                       if ( $textMatches->hasInterwikiResults() ) {
+                               $out->addHTML( $this->showInterwiki( 
$textMatches->getInterwikiResults(), $term ) );
+                       }
 
                        $textMatches->free();
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia85c39a8b59a1fe7eefe1869a2b18f1b5f55f005
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>

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

Reply via email to