I think this would work as well:
```php
JSMessages::registerPackage( 'WikiaInteractiveMapsCreateMap', [
   'wikia-interactive-maps-map-placeholder-error',
   'wikia-interactive-maps-create-map',
   'wikia-interactive-maps-create-map-*',
] );
```
Let's double check it and if there is nothing against let's save few lines of code ;)