r108156 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108155‎ | r108156 | r108157 >
Date:18:04, 5 January 2012
Author:rmoen
Status:ok
Tags:
Comment:
use existing mw function for getting user edit token in fbd. follow up r108155
Modified paths:
  • /trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js
@@ -618,7 +618,7 @@
619619 'action':'feedbackdashboardresponse',
620620 'useragent': clientData.name + '/' + clientData.versionNumber,
621621 'system': clientData.platform,
622 - 'token': mw.config.get('mbEditToken'),
 622+ 'token': mw.user.tokens.get( 'editToken' ),
623623 'response': fbResponse,
624624 'feedback': item_id,
625625 'format':'json'

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108155remove redundant mbEditToken config. use existing mw functions for getting us...rmoen18:03, 5 January 2012

Status & tagging log