r108245 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108244‎ | r108245 | r108246 >
Date:16:03, 6 January 2012
Author:rsterbin
Status:ok
Tags:
Comment:
Bug fix: when an error comes back from the submit api, it's a message token, not a translated message
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js
@@ -2547,7 +2547,7 @@
25482548 } else {
25492549 var msg;
25502550 if ( 'error' in data ) {
2551 - msg = data.error;
 2551+ msg = mw.msg( data.error );
25522552 } else {
25532553 msg = { info: mw.msg( 'articlefeedbackv5-error-unknown' ) };
25542554 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r1084701.18wmf1: MFT r108239, r108245, r108247, r108250, r108269, r108280catrope20:28, 9 January 2012

Status & tagging log