dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4868ccb
)
Fold Avars Nogomatch extension into core
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 21 Jan 2011 19:02:17 +0000
(19:02 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 21 Jan 2011 19:02:17 +0000
(19:02 +0000)
No need for an extension just for a wfDebugLog call
includes/specials/SpecialSearch.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialSearch.php
b/includes/specials/SpecialSearch.php
index
64394b6
..
5188c8f
100644
(file)
--- a/
includes/specials/SpecialSearch.php
+++ b/
includes/specials/SpecialSearch.php
@@
-118,6
+118,8
@@
class SpecialSearch extends SpecialPage {
if( !is_null( $t ) ) {
global $wgGoToEdit;
wfRunHooks( 'SpecialSearchNogomatch', array( &$t ) );
+ wfDebugLog( 'nogomatch', $t->getText(), false );
+
# If the feature is enabled, go straight to the edit page
if( $wgGoToEdit ) {
$wgOut->redirect( $t->getFullURL( array( 'action' => 'edit' ) ) );