Page MenuHomePhabricator

wfLoadExtensionMessages does not use $fallback from MessagesXx.php
Closed, ResolvedPublic


Almost all extensions in SVN now use wfLoadExtensionMessages to load messages. In some i18n files a hack has been implemented to allow some sort of fallback using something like "$messages['kk'] = $messages['kk-cyrl'];" This needs to be added for all extensions. Those extensions not using wfLoadExtensionMessages do not support fallback languages or have their own implementation.

It would be a Good Thing if fallback was supported using the $fallback defined in MessagesXx.php files at least for extensions using wfLoadExtensionMessages.

Version: 1.12.x
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:04 PM
bzimport set Reference to bz12880.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in r30440 by Nikerabbit.