Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I make interlanguage links work, like they do on Wikipedia?

LINKS Wikipedia
0
10 Posted

How do I make interlanguage links work, like they do on Wikipedia?

0

The interlanguage link feature on Wikipedia presents links in the sidebar when the user types text such as [[fr:Accueil]]. This feature is strongly biased towards a multi-wiki setup, with one language per wiki. It’s not recommended for the case where multiple languages are contained on the same wiki. If you’re still sure you want to use it, here’s how it works: a link such as [[xx:Pagename]] will be considered an interlanguage link if the following three conditions are satisfied: • $wgInterwikiMagic is enabled (which it is by default) • xx is listed as a language code in languages/Names.php (which most ISO 639-2 codes are) • xx is listed as an interwiki prefix in the interwiki table of the wiki database.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.