From: Alexandre Emsenhuber Date: Thu, 6 Feb 2014 00:14:51 +0000 (+0100) Subject: Send the full title to the 'nogomatch' debug log group X-Git-Tag: 1.31.0-rc.0~16590^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=ee667c0a98b61fb7ab23e047f42aff37eec5c677;p=lhc%2Fweb%2Fwiklou.git Send the full title to the 'nogomatch' debug log group Otherwise the namespace gets lost when the user provides one. Change-Id: I73f63e936ba53993ba40c89d7fa3d2b218a796a2 --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index b89522def1..7787b05323 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -198,7 +198,7 @@ class SpecialSearch extends SpecialPage { if ( !is_null( $t ) ) { global $wgGoToEdit; wfRunHooks( 'SpecialSearchNogomatch', array( &$t ) ); - wfDebugLog( 'nogomatch', $t->getText(), 'private' ); + wfDebugLog( 'nogomatch', $t->getFullText(), 'private' ); # If the feature is enabled, go straight to the edit page if ( $wgGoToEdit ) {