Author: avarab
Description:
Currently we just do:
case when "name:$code" is not null then "name:$code" else name end as name
But some languages would like to have more complex fallbacks, e.g. "hsb" would like to fallback to "de" and then the generic name.
So we need a machine-readable list of such language fallbacks, or make one if it doesn't exist.
In the latter case it might be conductive to completeness to implement it via a extension i18n message so people can translate it via the MediaWiki namespace, e.g.:
hsb:MediaWiki:SlippyMap-rendering-language-fallbacks: de, _generic
Then we can periodically run a script which pulls those messages down & updates our list of fallbacks.
Version: unspecified
Severity: enhancement
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/osm-tools/osm2pgsql-style/create-language-views.pl?view=markup