Index: trunk/extensions/UploadWizard/resources/mediawiki.language.parser.js |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | getAst: function( key ) { |
126 | 126 | if ( typeof this.astCache[ key ] === 'undefined' ) { |
127 | 127 | var wikiText = this.settings.messages.get( key ); |
128 | | - if ( wikiText === null ) { |
| 128 | + if ( typeof wikiText !== 'string' ) { |
129 | 129 | wikiText = "\\[" + key + "\\]"; |
130 | 130 | } |
131 | 131 | this.astCache[ key ] = this.wikiTextToAst( wikiText ); |