Page MenuHomePhabricator
Authored By
bzimport
Nov 21 2014, 11:05 PM
Size
771 B
Referenced Files
None
Subscribers
None

diff.txt

*** new/SpecialSearch.php 2010-04-15 16:19:15.000000000 -0400
--- specials/SpecialSearch.php 2010-04-15 16:20:05.000000000 -0400
***************
*** 93,98 ****
--- 93,99 ----
# If there's an exact or very near match, jump right there.
$t = SearchEngine::getNearMatch( $term );
if( !is_null( $t ) ) {
+ wfRunHooks( 'SpecialSearchGomatch', array( $t, $term ) );
$wgOut->redirect( $t->getFullURL() );
return;
}
***************
*** 886,891 ****
--- 887,893 ----
# If there's an exact or very near match, jump right there.
$t = SearchEngine::getNearMatch( $term );
if( !is_null( $t ) ) {
+ wfRunHooks( 'SpecialSearchGomatch', array( $t, $term ) );
$wgOut->redirect( $t->getFullURL() );
return;
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6290
Default Alt Text
diff.txt (771 B)

Event Timeline