dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Change 'editfont' default preference to 'monospace'"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialSearch.php
diff --git
a/includes/specials/SpecialSearch.php
b/includes/specials/SpecialSearch.php
index
eeb8823
..
85b4572
100644
(file)
--- a/
includes/specials/SpecialSearch.php
+++ b/
includes/specials/SpecialSearch.php
@@
-352,7
+352,7
@@
class SpecialSearch extends SpecialPage {
$out->addHTML( $dymWidget->render( $term, $textMatches ) );
}
$out->addHTML( $dymWidget->render( $term, $textMatches ) );
}
- $hasErrors = $textStatus && $textStatus->getErrors();
+ $hasErrors = $textStatus && $textStatus->getErrors()
!== []
;
$hasOtherResults = $textMatches &&
$textMatches->hasInterwikiResults( SearchResultSet::INLINE_RESULTS );
$hasOtherResults = $textMatches &&
$textMatches->hasInterwikiResults( SearchResultSet::INLINE_RESULTS );
@@
-555,7
+555,7
@@
class SpecialSearch extends SpecialPage {
* Extract "power search" namespace settings from the request object,
* returning a list of index numbers to search.
*
* Extract "power search" namespace settings from the request object,
* returning a list of index numbers to search.
*
- * @param WebRequest $request
+ * @param WebRequest
&
$request
* @return array
*/
protected function powerSearch( &$request ) {
* @return array
*/
protected function powerSearch( &$request ) {