edits in the last $wgActiveUserDays days.
* (bug 13702) Add Special:MissingFiles to list places where an image link is
used but no such file exists.
+* SpecialSearchResults hook now passes results by reference, so they can be
+ changed by extensions.
=== Bug fixes in 1.13 ===
'SpecialSearchResults': called before search result display when there are matches
$term: string of search term
-$titleMatches: empty or SearchResultSet object
-$textMatches: empty or SearchResultSet object
+&$titleMatches: empty or SearchResultSet object
+&$textMatches: empty or SearchResultSet object
'SpecialSearchNoResults': called before search result display when there are no matches
$term: string of search term
array( 'search' => $term ) ),
($num < $this->limit) );
$wgOut->addHTML( "<p class='mw-search-pager-top'>{$prevnext}</p>\n" );
- wfRunHooks( 'SpecialSearchResults', array( $term, $titleMatches, $textMatches ) );
+ wfRunHooks( 'SpecialSearchResults', array( $term, &$titleMatches, &$textMatches ) );
} else {
wfRunHooks( 'SpecialSearchNoResults', array( $term ) );
}