Module:Lang/data/doc: Difference between revisions
Appearance
< Module:Lang | data
Content deleted Content added
uses lua |
m ce; |
||
Line 3: | Line 3: | ||
This module holds various support tables used by [[Module:Lang]] |
This module holds various support tables used by [[Module:Lang]] |
||
* <code> |
* <code>lang_name_table</code> – this table provides language name data used in the creation of categories and, for the {{tld|lang-??}} templates, the language name annotation |
||
* <code>override</code> – this table overrides data in <code>lang_name_table</code>; commonly used when an en.wiki article title differs from the name for the standard's language |
|||
* <code>rtl_scripts</code> – a list of ISO 15924 scripts that are written right-to-left; data taken from the table at [[ISO 15924#List of codes]] |
* <code>rtl_scripts</code> – a list of ISO 15924 scripts that are written right-to-left; data taken from the table at [[ISO 15924#List of codes]] |
||
* <code>translit_title_table</code> – a table of tables that is used in the creation of the <code>title=</code> attribute of the {{tag|i}} tags that wrap transliterated text; data adapted from {{tlx|transl}} |
* <code>translit_title_table</code> – a table of tables that is used in the creation of the <code>title=</code> attribute of the {{tag|i}} tags that wrap transliterated text; data adapted from {{tlx|transl}} |
||
* <code>article_name</code> – this table overrides <code>lang_name_table</code> and <code>override</code> for (typically) disambiguated en.wiki article names |
|||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
Revision as of 13:50, 3 October 2020
![]() | This Lua module is used on approximately 1,620,000 pages, or roughly 3% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
![]() | This module depends on the following other modules: |
This module holds various support tables used by Module:Lang
lang_name_table
– this table provides language name data used in the creation of categories and, for the{{lang-??}}
templates, the language name annotationoverride
– this table overrides data inlang_name_table
; commonly used when an en.wiki article title differs from the name for the standard's languagertl_scripts
– a list of ISO 15924 scripts that are written right-to-left; data taken from the table at ISO 15924#List of codestranslit_title_table
– a table of tables that is used in the creation of thetitle=
attribute of the<i>...</i>
tags that wrap transliterated text; data adapted from{{transl}}
article_name
– this table overrideslang_name_table
andoverride
for (typically) disambiguated en.wiki article names