function(<span class="searchmatch">sortkey</span><span class="searchmatch">Module</span>) local langs = {} for code, data in pairs(require("<span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>/data/all")) do if data.sort_key == <span class="searchmatch">sortkey</span><span class="searchmatch">Module</span> then ...
elseif <span class="searchmatch">module</span>_type == "<span class="searchmatch">Sortkey</span>-generating" then langs = require("<span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>/<span class="searchmatch">bySortkeyModule</span>")(pagename) end local <span class="searchmatch">sortkey</span> = <span class="searchmatch">module</span>_type...
name-generating"] = "Module:<span class="searchmatch">languages</span>/byEntryName<span class="searchmatch">Module</span>", ["<span class="searchmatch">Sortkey</span>-generating"] = "<span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>/<span class="searchmatch">bySortkeyModule</span>", } local <span class="searchmatch">module</span>_type_patterns = { {"/data%f[-/%z]"...
<span class="searchmatch">sortkey</span> = gsub(<span class="searchmatch">sortkey</span>, "([^0-9²³⁴⁵⁶])$", "%1¹") <span class="searchmatch">sortkey</span> = gsub(<span class="searchmatch">sortkey</span>, "([^0-9²³⁴⁵⁶])(%s)", "%1¹%2") local example = "\n* <code>" .. <span class="searchmatch">sortkey</span> ....
m_<span class="searchmatch">sortkey</span> = require("<span class="searchmatch">Module</span>:Hani-<span class="searchmatch">sortkey</span>") local m_<span class="searchmatch">sortkey</span>_sandbox = require("<span class="searchmatch">Module</span>:sandbox/Hani-<span class="searchmatch">sortkey</span>") local lang = require("<span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>")...
other <span class="searchmatch">modules</span>. To use it from a template, use {{<span class="searchmatch">sortkey</span>}}. Within a <span class="searchmatch">module</span>, use <span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>#<span class="searchmatch">Language</span>:makeSortKey. For testcases, see <span class="searchmatch">Module</span>:Laoo-sortkey/testcases...
other <span class="searchmatch">modules</span>. To use it from a template, use {{<span class="searchmatch">sortkey</span>}}. Within a <span class="searchmatch">module</span>, use <span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>#<span class="searchmatch">Language</span>:makeSortKey. For testcases, see <span class="searchmatch">Module</span>:Lana-sortkey/testcases...
from a template, use {{<span class="searchmatch">sortkey</span>}}. Within a <span class="searchmatch">module</span>, use <span class="searchmatch">Module</span>:<span class="searchmatch">languages</span>#<span class="searchmatch">Language</span>:makeSortKey. For testcases, see <span class="searchmatch">Module</span>:Hrkt-<span class="searchmatch">sortkey</span>/testcases. makeSortKey(text...
"This <span class="searchmatch">module</span> will sort " .. <span class="searchmatch">sortkey</span>_input .. (explanation and " " .. explanation or "") .. ". " .. require "<span class="searchmatch">Module</span>:documentation".<span class="searchmatch">sortkey</span><span class="searchmatch">Module</span>LangList({args...
it is a -- valid <span class="searchmatch">language</span> name, generate a <span class="searchmatch">sortkey</span> for it. Return all <span class="searchmatch">sortkeys</span>. local function generate_<span class="searchmatch">sortkeys</span>(title) local <span class="searchmatch">sortkeys</span> = {} local success...