From 68006fe65e61e059679203b4c78f72a2dc2e1ae9 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 8 May 2008 20:41:20 +0000 Subject: [PATCH] Move heading to a more appropriate place, improves navigation for screenreader too. --- includes/SpecialSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index 2c50b49a3d..ea1532be18 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -102,6 +102,8 @@ class SpecialSearch { return; } } + + $wgOut->wrapWikiMsg( "==$1==\n", 'notitlematches' ); if( $t->quickUserCan( 'create' ) && $t->quickUserCan( 'edit' ) ) { $wgOut->addWikiMsg( 'noexactmatch', wfEscapeWikiText( $term ) ); } else { @@ -231,8 +233,6 @@ class SpecialSearch { if( $titleMatches->numRows() ) { $wgOut->wrapWikiMsg( "==$1==\n", 'titlematches' ); $wgOut->addHTML( $this->showMatches( $titleMatches ) ); - } else { - $wgOut->wrapWikiMsg( "==$1==\n", 'notitlematches' ); } $titleMatches->free(); } -- 2.20.1