Topic on Manual talk:How to make a MediaWiki skin

Summary by Jdlrobson

Languages and variants can be rendered via the data-portlets object (Manual:SkinMustache.php#DataPortletsObject).

If you need to be able to test this locally on a wiki without languages you can use Extension:MobileFrontendContentProvider or skins.wmflabs.org.

Nasirkhan (talkcontribs)

I was following the skinlabs starter skin and found the following line in the ContentHeading.mustache file. can you please tell me what it does and how it works?

<a href="#lang" class="mw-interlanguage-selector mw-ui-button content__language-btn">{{msg-otherlanguages}}</a>


I added a interwiki language and added the language in the article. But that showed up below the main content via Languages.mustache. I also want to about the variants

Jdlrobson (talkcontribs)
Jdlrobson (talkcontribs)