Page MenuHomePhabricator

Add a global variable or function returning all language codes supported by MediaWiki
Closed, ResolvedPublic

Description

Original title:
"Add a global variable (table) or function returning all language codes supported by MediaWiki"

This will be required to avoid template constructions like https://commons.wikimedia.org/w/index.php?title=Template:Lle&action=edit
or local maintained lists of available language codes in a module


Version: unspecified
Severity: enhancement

Details

Reference
bz47833

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz47833.
bzimport added a subscriber: Unknown Object (MLST).
Rillke created this task.Apr 29 2013, 4:25 PM

darklama wrote:

https://commons.wikimedia.org/wiki/Module:Languages can be used in the
meantime as a workaround, which doesn't depend on a local maintained
list of language codes nor on checking that each page exists
individually, but there are still some limitations as noted in
Bug 47137

Change 100589 had a related patch set uploaded by Anomie:
Add access to Language::fetchLanguageNames

https://gerrit.wikimedia.org/r/100589

Change 100589 merged by jenkins-bot:
Add access to Language::fetchLanguageNames

https://gerrit.wikimedia.org/r/100589

Change merged. It should be deployed to WMF wikis with 1.23wmf7, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.