r77467 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77466‎ | r77467 | r77468 >
Date:10:30, 30 November 2010
Author:catrope
Status:ok
Tags:
Comment:
1.16wmf4: MFT r77466
Modified paths:
  • /branches/wmf/1.16wmf4/extensions/UploadWizard (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UploadWizard/resources/combined.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UploadWizard/resources/combined.min.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UploadWizard/resources/language/mw.Language.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UploadWizard/resources/mw.LanguageUpWiz.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/extensions/UploadWizard/resources/language/mw.Language.js
@@ -52,7 +52,7 @@
5353 mw.getMsg = function( messageKey , args ) {
5454
5555 // Check for missing message key
56 - if ( ! messageCache[ messageKey ] ) {
 56+ if ( ! messageCache[ messageKey ] && 'msg' in mediaWiki ) {
5757 // Try the ResourceLoader's message store
5858 // FIXME: The two message stores should be unified in the future
5959 var rlMsg = mediaWiki.msg( messageKey );
Property changes on: branches/wmf/1.16wmf4/extensions/UploadWizard/resources/mw.LanguageUpWiz.js
___________________________________________________________________
Modified: svn:mergeinfo
6060 Merged /trunk/extensions/UploadWizard/resources/mw.LanguageUpWiz.js:r77466
Index: branches/wmf/1.16wmf4/extensions/UploadWizard/resources/combined.js
@@ -7478,7 +7478,7 @@
74797479 mw.getMsg = function( messageKey , args ) {
74807480
74817481 // Check for missing message key
7482 - if ( ! messageCache[ messageKey ] ) {
 7482+ if ( ! messageCache[ messageKey ] && 'msg' in mediaWiki ) {
74837483 // Try the ResourceLoader's message store
74847484 // FIXME: The two message stores should be unified in the future
74857485 var rlMsg = mediaWiki.msg( messageKey );
Index: branches/wmf/1.16wmf4/extensions/UploadWizard/resources/combined.min.js
@@ -7478,7 +7478,7 @@
74797479 mw.getMsg=function(messageKey,args){
74807480
74817481
7482 -if(!messageCache[messageKey]){
 7482+if(!messageCache[messageKey]&&'msg'in mediaWiki){
74837483
74847484
74857485 var rlMsg=mediaWiki.msg(messageKey);
Property changes on: branches/wmf/1.16wmf4/extensions/UploadWizard
___________________________________________________________________
Modified: svn:mergeinfo
74867486 Merged /trunk/extensions/UploadWizard:r77466

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77466UploadWizard: Account for the fact that mediaWiki.msg might not exist (in pre...catrope10:29, 30 November 2010

Status & tagging log