IAlex has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/111663

Change subject: Send the full title to the 'nogomatch' debug log group
......................................................................

Send the full title to the 'nogomatch' debug log group

Otherwise the namespace gets lost when the user provides one.

Change-Id: I73f63e936ba53993ba40c89d7fa3d2b218a796a2
---
M includes/specials/SpecialSearch.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/63/111663/1

diff --git a/includes/specials/SpecialSearch.php 
b/includes/specials/SpecialSearch.php
index 588a313..0a1d41d 100644
--- a/includes/specials/SpecialSearch.php
+++ b/includes/specials/SpecialSearch.php
@@ -199,7 +199,7 @@
                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 ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/111663
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I73f63e936ba53993ba40c89d7fa3d2b218a796a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: IAlex <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to