--[=[ Lua support for the {{lang}}, {{lang-xx}}, and {{transl}} templates and replacement of various supporting templates. ]=] require('strict'); ...
ссылку и нормализованный код языка (или пустые строки) local function get_lang_data(code) local l = languages[code]; if l ~= nil then return...
between the domain name and the project's article titles. -- takes_lang_prefix = true -- Whether the project has separate subdomains...
local function constructLink(label, link, lang) if link then if label then if lang and lang ~= i18n.lang then return lib.formatTextInLanguage(mw...
local lang, label = args.lang if lang then label = mw.wikibase.getLabelByLang(id, lang) else label, lang = mw.wikibase.getLabelWithLang(id) end...
links in articles. These rows are structured as follows: --lang="lua" inline>{ prop='Pnnnn', message="$3 [$2 ''$1''] ", short="[$2...
arguments -- to the wiki markup in the current content language. -- Use lang=xx to set language. Example: -- -- {{#invoke:TNT | msg -- | I18n/Template:Graphs...
-- This module powers {{interval}}. local p = {} -- Constants local lang = mw.language.getContentLanguage() local getArgs = require('Module:Arguments')...
installation of the module ['__call'] = function (self, lang) self.messages = messages[lang] self.arguments = arguments return self end } -- install...
lang() -- The language code. local lang = args.lang or args.Lang if not lang then return nil end if mw.language.isKnownLanguageTag(lang)...
The text between the domain name and the project's article titles. takes_lang_prefix - Whether the project has separate subdomains for different languages...
args.tag or 'span' style = args.style comment = args.comment lang = args.lang sister = args.sister textInPlaceOfName = args.text namePrefix...
stripZero(date, lang, year) -- удалить ведущие нули (год < 1000 и > -1000) return mw.ustring.gsub( date, lang:formatNum(0) .. '+(' .. lang:formatNum(year...
_genitive local contLang = mw.language.getContentLanguage() local cmodule = {} local conf = require 'Module:External links/conf'(contLang:getCode()) local...
(%s)', formatted, frame:callParserFunction('#language', language, i18n.lang)) else return formatted end end function p.getRawValue(value, options)...
function(id, lang) if lang == "default" then lang = findLang().code end local label if lang then label = mw.wikibase.getLabelByLang(id, lang) else ...
Any ISO code. Multilingual.isLang( ask ) Multilingual.isLangWiki( ask ) Multilingual.kannDeutsch( ask ) Multilingual.userLang( accept, frame ) accept – string...
props = { begin = { 'P569', 'P580' }, ending = { 'P570', 'P582' }, lang = { 'P364', 'P407' }, point = { 'P571', 'P577', 'P585' }, }, datatypeToValueType...
isQuote( c ) Text.listToText( table, format ) Text.quote( s, lang, mode ) Text.quoteUnquoted( s, lang, mode ) Text.removeDiacritics( s ) Text.sentenceTerminated(...
* getLang() * getName() * i18n() * int() * isLang() * isLangWiki() * isMinusculable() * isRTL() * message() * sitelink() * tabData() * userLang() * userLangCode()...