r111432 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111431‎ | r111432 | r111433 >
Date:23:18, 13 February 2012
Author:werdna
Status:ok
Tags:
Comment:
Fix click tracking
Modified paths:
  • /trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.user/ext.articleCreation.user.js
@@ -92,7 +92,8 @@
9393 return;
9494 }
9595
96 - ac.trackAction( $(this).data('ac-button' ) + '-interstitial' );
 96+ var article = wgPageName.substr( wgPageName.indexOf('/') + 1 );
 97+ ac.trackAction( article, $(this).data('ac-button' ) + '-interstitial' );
9798
9899 $( this )
99100 //make it green

Status & tagging log