Index: trunk/extensions/UploadWizard/resources/mw.LanguageUpWiz.js |
— | — | @@ -1,8 +1,7 @@ |
2 | 2 | ( function( mw ) { |
3 | | - |
4 | | -mw.addMessages({ |
| 3 | +mediaWiki.messages.set( { |
5 | 4 | "mwe-upwiz-code-unknown": "Unknown language" |
6 | | -}); |
| 5 | +} ); |
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Utility class which knows about languages, and how to construct HTML to select them |