Index: trunk/extensions/CustomUserSignup/CustomUserSignup.hooks.php |
— | — | @@ -116,7 +116,7 @@ |
117 | 117 | } |
118 | 118 | |
119 | 119 | public static function addNewAccount( $user, $byEmail ){ |
120 | | - global $wgRequest; |
| 120 | + global $wgRequest, $wgTitle; |
121 | 121 | $buckets = ClickTrackingHooks::unpackBucketInfo(); |
122 | 122 | if(isset($buckets['AccountCreation']) && $buckets['AccountCreation'][0] != "none"){ |
123 | 123 | |
— | — | @@ -132,6 +132,7 @@ |
133 | 133 | 'eventid' => 'account-created', |
134 | 134 | 'token' => $session, |
135 | 135 | 'info' => 'account-activity', |
| 136 | + 'namespacenumber' => $wgTitle->getNamespace(), |
136 | 137 | ) ); |
137 | 138 | $api = new ApiMain( $params, true ); |
138 | 139 | $api->execute(); |