r86953 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86952‎ | r86953 | r86954 >
Date:17:07, 26 April 2011
Author:nimishg
Status:deferred
Tags:
Comment:
namespace fix
Modified paths:
  • /trunk/extensions/CustomUserSignup/CustomUserSignup.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CustomUserSignup/CustomUserSignup.hooks.php
@@ -116,7 +116,7 @@
117117 }
118118
119119 public static function addNewAccount( $user, $byEmail ){
120 - global $wgRequest;
 120+ global $wgRequest, $wgTitle;
121121 $buckets = ClickTrackingHooks::unpackBucketInfo();
122122 if(isset($buckets['AccountCreation']) && $buckets['AccountCreation'][0] != "none"){
123123
@@ -132,6 +132,7 @@
133133 'eventid' => 'account-created',
134134 'token' => $session,
135135 'info' => 'account-activity',
 136+ 'namespacenumber' => $wgTitle->getNamespace(),
136137 ) );
137138 $api = new ApiMain( $params, true );
138139 $api->execute();

Status & tagging log