r87054 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87053‎ | r87054 | r87055 >
Date:22:54, 27 April 2011
Author:nimishg
Status:ok
Tags:
Comment:
changing MW to mw as per r86976
Modified paths:
  • /trunk/extensions/CustomUserSignup/modules/AccountCreationUserBucket.js (modified) (history)

Diff [purge]

Index: trunk/extensions/CustomUserSignup/modules/AccountCreationUserBucket.js
@@ -1,9 +1,8 @@
22 //checks
3 -if(typeof(MW) == "undefined"){ MW={};}
4 -if(!MW.activeCampaigns){ MW.activeCampaigns ={}; }
 3+if(!mw.activeCampaigns){ mw.activeCampaigns ={}; }
54
65 //define new active campaign
7 -MW.activeCampaigns.AccountCreation =
 6+mw.activeCampaigns.AccountCreation =
87
98 {
109 //Treatment name
@@ -79,7 +78,7 @@
8079
8180 "all": function(){
8281 //add up all rates
83 - var campaign = MW.activeCampaigns.AccountCreation;
 82+ var campaign = mw.activeCampaigns.AccountCreation;
8483 if( $j.cookie('userbuckets') &&
8584 $j.parseJSON( $j.cookie('userbuckets') )["AccountCreation"]){
8685 var buckets = $j.parseJSON( $j.cookie('userbuckets') );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86976* Replace MW (inexistant) with mw (global alias to the mediaWiki object)...krinkle19:35, 26 April 2011

Status & tagging log