r84707 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84706‎ | r84707 | r84708 >
Date:20:59, 24 March 2011
Author:tparscal
Status:ok
Tags:
Comment:
Added tracking for saves on edit pages visited from the feedback tool's edit call to action.
Modified paths:
  • /trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js
@@ -277,7 +277,9 @@
278278 window.location = trackClickURL(
279279 mediaWiki.config.get( 'wgScript' ) + '?' + $.param( {
280280 'title': mediaWiki.config.get( 'wgPageName' ),
281 - 'action': 'edit'
 281+ 'action': 'edit',
 282+ 'clicktrackingsession': $.cookie( 'clicktracking-session' ),
 283+ 'clicktrackingevent': 'ext.articleFeedback-pitch-edit-save'
282284 } ), 'pitch-edit' );
283285 return false;
284286 },

Status & tagging log