Legoktm has uploaded a new change for review.

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


Change subject: Add debug logging for bug 57464
......................................................................

Add debug logging for bug 57464

Bug: 57464
Change-Id: Iec240623ae73b647ed700fb5ce0ff3277152ddc7
---
M MassMessageJob.php
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassMessage 
refs/changes/08/101808/1

diff --git a/MassMessageJob.php b/MassMessageJob.php
index 07d9414..670bfac 100644
--- a/MassMessageJob.php
+++ b/MassMessageJob.php
@@ -13,10 +13,14 @@
 class MassMessageJob extends Job {
        public function __construct( Title $title, array $params, $id = 0 ) {
                parent::__construct( 'MassMessageJob', $title, $params, $id );
+               // More debug logging for bug 57464
+               wfDebugLog( 'MassMessage', "Before re-normalizing, title is 
\"{$this->title->getPrefixedText()}\", "
+                       . "interwiki is \"{$this->title->getInterwiki()}\", ns 
is \"{$this->title->getNamespace()}\"" );
                // Create a fresh Title object so namespaces are evaluated
                // in the context of the target site. Bug 57464
                $this->title = Title::newFromText( 
$this->title->getPrefixedText() );
-
+               wfDebugLog( 'MassMessage', "After re-normalizing, title is 
\"{$this->title->getPrefixedText()}\", "
+                       . "interwiki is \"{$this->title->getInterwiki()}\", ns 
is \"{$this->title->getNamespace()}\"" );
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iec240623ae73b647ed700fb5ce0ff3277152ddc7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MassMessage
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to