= "mathematical notation", ["Zsym"] = "symbol", ["Zyyy"] = "undetermined", ["Zzzz"] = "uncoded", } -- <span class="searchmatch">To</span> update, go <span class="searchmatch">to</span> [[Module:<span class="searchmatch">scripts</span>/print]]....
exports a number of functions that are used <span class="searchmatch">to</span> find <span class="searchmatch">scripts</span>. getBy<span class="searchmatch">Code</span>(<span class="searchmatch">code</span>) Finds the script whose <span class="searchmatch">code</span> matches the one provided. If it exists, it returns...
require('Module:languages/<span class="searchmatch">code</span> <span class="searchmatch">to</span> <span class="searchmatch">canonical</span> <span class="searchmatch">name</span>') local m_language_<span class="searchmatch">canonical</span>_names = require('Module:languages/<span class="searchmatch">canonical</span> names') local m_etym_language_data...
language_<span class="searchmatch">code</span>_<span class="searchmatch">to</span>_<span class="searchmatch">name</span> = require("Module:languages/<span class="searchmatch">code</span> <span class="searchmatch">to</span> <span class="searchmatch">canonical</span> <span class="searchmatch">name</span>") -- fa-Arab -> Arab-fa local function rearrange_lang_and_script(script_<span class="searchmatch">code</span>) local...
"script <span class="searchmatch">code</span>", nil, "not real lang") end return retval end function export.getBy<span class="searchmatch">Canonical</span><span class="searchmatch">Name</span>(<span class="searchmatch">name</span>) local <span class="searchmatch">code</span> = mw.loadData("Module:<span class="searchmatch">scripts</span>/by <span class="searchmatch">name</span>")[name]...
Use this <span class="searchmatch">to</span> update Module:<span class="searchmatch">scripts</span>/by <span class="searchmatch">name</span> and Module:<span class="searchmatch">scripts</span>/<span class="searchmatch">code</span> <span class="searchmatch">to</span> <span class="searchmatch">canonical</span> <span class="searchmatch">name</span>. return { ["adlam"] = "Adlm", ["afaka"] = "Afak", ["ahom"] = "Ahom"...
example, <span class="searchmatch">to</span> request the default (<span class="searchmatch">canonical</span>) <span class="searchmatch">name</span> of the script whose <span class="searchmatch">code</span> is Latn: {{#invoke:<span class="searchmatch">scripts</span>/templates|getBy<span class="searchmatch">Code</span>|Latn|get<span class="searchmatch">Canonical</span><span class="searchmatch">Name</span>}} Result:...
generate_table(<span class="searchmatch">name</span>_<span class="searchmatch">to</span>_<span class="searchmatch">code</span>) local result = {} local script_data = mw.loadData("Module:<span class="searchmatch">scripts</span>/data") local iterate if <span class="searchmatch">name</span>_<span class="searchmatch">to</span>_<span class="searchmatch">code</span> then for <span class="searchmatch">code</span>, data...
error("Script <span class="searchmatch">code</span> has not been specified. Please pass parameter 1 <span class="searchmatch">to</span> the module invocation.") sc = require("Module:<span class="searchmatch">scripts</span>").getBy<span class="searchmatch">Code</span>(sc) if sc...
check <span class="searchmatch">to</span> check for errors in this data module. Every entry in the table must contain the following properties: <span class="searchmatch">canonical</span><span class="searchmatch">Name</span> The "<span class="searchmatch">canonical</span>" <span class="searchmatch">name</span> of the...