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 @@
2548
2548
} else {
2549
2549
var msg;
2550
2550
if ( 'error' in data ) {
2551
- msg = data.error;
2551
+ msg = mw.msg( data.error );
2552
2552
} else {
2553
2553
msg = { info: mw.msg( 'articlefeedbackv5-error-unknown' ) };
2554
2554
}
Follow-up revisions
Revision
Commit summary
Author
Date
r108470
1.18wmf1: MFT
r108239
,
r108245
,
r108247
,
r108250
,
r108269
,
r108280
catrope
20:28, 9 January 2012
Status & tagging log
17:50, 6 January 2012
😂
(
talk
|
contribs
)
changed the
status
of r108245
[
removed:
new
added:
ok]