r113056 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113055‎ | r113056 | r113057 >
Date:18:13, 5 March 2012
Author:catrope
Status:ok
Tags:
Comment:
1.19wmf1: MFT r113054
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/CustomUserSignup (modified) (history)
  • /branches/wmf/1.19wmf1/extensions/CustomUserSignup/CustomUserSignup.hooks.php (modified) (history)
  • /branches/wmf/1.19wmf1/extensions/CustomUserSignup/modules/AccountCreationUserBucket.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/CustomUserSignup/CustomUserSignup.hooks.php
@@ -114,6 +114,12 @@
115115 $out->addModules( 'ext.UserBuckets' );
116116 return true;
117117 }
 118+
 119+ public static function makeGlobalVariablesScript( &$vars ) {
 120+ global $wgCustomUserSignupTrackAccountCreations;
 121+ $vars['wgCustomUserSignupTrackAccountCreations'] = $wgCustomUserSignupTrackAccountCreations;
 122+ return true;
 123+ }
118124
119125 public static function addNewAccount( $user, $byEmail ){
120126 global $wgRequest, $wgTitle, $wgCustomUserSignupTrackAccountCreations;
Index: branches/wmf/1.19wmf1/extensions/CustomUserSignup/modules/AccountCreationUserBucket.js
@@ -60,6 +60,7 @@
6161 // "allActive" is reserved.
6262 // If this function exists, it will be apply to every user not in the "none" bucket
6363 "allActive": function(){
 64+ if ( !mw.config.get( 'wgCustomUserSignupTrackAccountCreations' ) ) { return; }
6465
6566 //track account creation attempts
6667 $j("#wpCreateaccount").click(function(){ $j.trackAction('submit-signup-data'); });
Property changes on: branches/wmf/1.19wmf1/extensions/CustomUserSignup
___________________________________________________________________
Modified: svn:mergeinfo
6768 Merged /trunk/extensions/CustomUserSignup:r113054

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113054Followup r112267: make $wgCustomUserSignupTrackAccountCreations enable/disabl...catrope18:09, 5 March 2012

Status & tagging log