Page MenuHomePhabricator

Give maplink maps the same internationalization features as mapframe maps
Closed, ResolvedPublic


Mapframe maps are internationalized, and have two new parameters: lang="xx" and lang="local". The maps users get when they click on maplink links should have these same behaviors and capabilities. E.g., one should be able to put the following on a page:

<maplink zoom=9 latitude=37.8013 longitude=-122.3988 lang="ja"></maplink>

And the map that pops up when users click on the link created should be in Japanese.

Event Timeline

Change 428861 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/extensions/Kartographer@master] [wip] Add lang= attribute to maplink

Change 428861 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Add lang= parameter to maplink

Checked in testwiki - lang attribute works as expected - see with sample maplinks (with lang attributes).

Waiting on resolving T193583: [betalabs] mapframe without lang attribute not displayed in wiki lang.

Using the sample (see below), the map will be displayed in Russian on ruwiki betalabs (e.g. and in Hebrew on hewiki betalabs (

<mapframe  zoom=9 width=500 height=300 latitude=31.925 longitude=34.62 />

QA Recommendation: Resolve