Module:InterwikiTable/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
9 revisions imported
(create)
 
m (9 revisions imported)
 
(8 intermediate revisions by 7 users not shown)
Line 7:
The module cannot be accessed directly from #invoke. It should be loaded from another Lua module using <code>mw.loadData</code>, like this:
 
<sourcesyntaxhighlight lang="lua">
local interwiki_table = mw.loadData('Module:InterwikiTable')
</syntaxhighlight>
</source>
 
== Table fields ==
Line 29:
* <code>interwiki_table.wikibooks.title_prefix</code> &rarr; "/wiki/"
* <code>interwiki_table.meta.takes_lang_prefix</code> &rarr; false
 
== See also ==
 
*[[Special:SiteMatrix]]
*[[mw:Extension:SiteMatrix]]
 
<includeonly>{{sandbox other||
[[Category:Lua metamodules]]
}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu