Module:Special page interlanguage links/doc

From Bonkipedia
< Module:Special page interlanguage links
Revision as of 21:19, 5 March 2021 by [[mw:]]>Tacsipacsi (Created page with "{{Shared Template Warning|Module:{{subst:BASEPAGENAME}}}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:W...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Special page interlanguage links

warning Warning:Do not edit. This page is maintained by an automated tool. All edits should be done at mediawiki.org. (translate this warning)

Module Quality

Module:Special page interlanguage links success: 0, error: 1, skipped: 0
Module:Special page interlanguage links/sandbox success: 0, error: 1, skipped: 0

Documentation

This module allows displaying interlanguage links to all existing languages on special pages. It’s a custom to show such interlanguage links on Special:RecentChanges, but it can be used on any other special page as well that exists on all wikis of that project.

Functions

p.main(frame)

Main entry point from wikitext. The first unnamed parameter should contain the canonical (English) special page name, for example

{{#invoke:Special page interlanguage links|main|RecentChanges}}

p._main(specialPageName)

Main entry point from other modules. The first argument should contain the canonical (English) special page name, for example

local interlanguageLinks = p._main('RecentChanges')