This allows additional HTML to be included below search results. This
will be used to optionally include a feedback link fter search results.
Bug: T101783
Change-Id: I5c4bab12ed0b022c84aa6b50ab72635e9dd0bd0c
* ':' (colon) is now invalid in usernames for new accounts. Existing accounts
are not affected.
* Added a new hook, 'LogException', to log exceptions in nonstandard ways.
+* Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of
+ search results are rendered. The initial use case is to append a "give us
+ feedback" link beneath the search results.
+
==== External libraries ====
* Update es5-shim from v4.0.0 to v4.1.5.
== IRC help ==
There's usually someone online in #mediawiki on irc.freenode.net.
+
$output: $wgOut
$term: Search term specified by the user
+'SpecialSearchResultsAppend': Called immediately before returning HTML
+on the search results page. Useful for including a feedback link.
+$specialSearch: SpecialSearch object ($this)
+$output: $wgOut
+
'SpecialSearchSetupEngine': Allows passing custom data to search engine.
$search: SpecialSearch special page object
$profile: String: current search profile
if ( $prevnext ) {
$out->addHTML( "<p class='mw-search-pager-bottom'>{$prevnext}</p>\n" );
}
+
+ Hooks::run( 'SpecialSearchResultsAppend', array( $this, $out ) );
+
}
/**