Wikipedia:Lua/Modul/Multilingual/maintain/en
Vorlagenprogrammierung | Diskussionen | Lua | Test | Unterseiten | |||
Modul | Deutsch | English
|
Modul: | Dokumentation |
Multilingual/maintain
– Module with auxilary functions to support maintaintenance of language names and language codes.
Functions for templates
[Quelltext bearbeiten]- fetchLanguageNames
- Show all language names using one particular language (as defined in MediaWiki).
- Parameters:
- 1 – output language (default: in the respective language itself)
- 2 – extension of output
mw
(default),all
,mwfile
- Parameters correspond to Lua/PHP functions.
- forward
- Generate wikitable with synopsis
- leap – show open issues only
- learnt – show superfluous local entries only
- slang – limit to particular language (code)
Functions for Lua modules (API)
[Quelltext bearbeiten]All functions documented above are available by require()
and might be used within other modules.
Usage
[Quelltext bearbeiten]Maintaintenance issues.
Dependencies
[Quelltext bearbeiten]- Module:Multilingual/cldr – Reflection of current state in mw:CLDR for selected languages
- Module:Multilingual/names – suggestions for improvement and translation