Wiktionary
siwiktionary
https://si.wiktionary.org/wiki/%E0%B7%80%E0%B7%92%E0%B6%9A%E0%B7%8A%E0%B7%82%E0%B6%B1%E0%B6%BB%E0%B7%92:%E0%B6%B8%E0%B7%94%E0%B6%BD%E0%B7%8A_%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%E0%B7%80
MediaWiki 1.48.0-wmf.5
case-sensitive
මාධ්යය
විශේෂ
සාකච්ඡාව
පරිශීලක
පරිශීලක සාකච්ඡාව
වික්ෂනරි
වික්ෂනරි සාකච්ඡාව
ගොනුව
ගොනුව සාකච්ඡාව
මාධ්යවිකි
මාධ්යවිකි සාකච්ඡාව
සැකිල්ල
සැකිලි සාකච්ඡාව
උදවු
උදවු සාකච්ඡාව
ප්රවර්ගය
ප්රවර්ග සාකච්ඡාව
TimedText
TimedText talk
Module
Module talk
Event
Event talk
Module:category tree/entry maintenance
828
6010
239420
239387
2026-11-23T04:30:24Z
Lee
19
[[:ප්රවර්ගය:සිංහල යෙදුම්, භාවිත නිදර්ශන සහිත]] තුළ ඇති වී තිබූ දෝෂය ඉවත් කිරීම සඳහා අමතර s අකුර ඉවත් කිරීම.
239420
Scribunto
text/plain
local m_sinhala = require("Module:sinhala")
local labels = {}
local raw_categories = {}
local raw_handlers = {}
local functions_module = "Module:fun"
local languages_module = "Module:languages"
local scripts_module = "Module:scripts"
local string_pattern_escape_module = "Module:string/patternEscape"
local string_replacement_escape_module = "Module:string/replacementEscape"
local table_module = "Module:table"
local extend = require(table_module).extend
local is_callable = require(functions_module).is_callable
local pattern_escape = require(string_pattern_escape_module)
local replacement_escape = require(string_replacement_escape_module)
local unpack = unpack or table.unpack -- Lua 5.2 compatibility
-----------------------------------------------------------------------------
-- --
-- LABELS --
-- --
-----------------------------------------------------------------------------
labels["ප්රවේශ නඩත්තුව"] = {
description = "{{{langname}}} entries, or entries in other languages containing {{{langname}}} terms, that are being tracked for attention and improvement by editors.",
parents = {{name = "{{{langcat}}}", raw = true}},
breadcrumb_base = "ප්රවේශ නඩත්තුව", -- so the word 'maintenance' doesn't get chopped off
umbrella_parents = {name = "ප්රවේශ නඩත්තුව", sort = " "},
}
labels["etymology maintenance"] = {
description = "{{{langname}}} etymology sections, or etymology sections in other languages containing {{{langname}}} terms, that are being tracked for attention and improvement.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella_parents = {name = "Etymology maintenance", sort = " "},
}
labels["link maintenance"] = {
description = "{{{langname}}} entries with internal links, or entries in other languages containing internal links to {{{langname}}} terms, that are being tracked for attention and improvement.",
additional = "Internal links are those specified using {{tl|l}}, {{tl|m}} or any other template linking to another Wiktionary term.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella_parents = {name = "Link maintenance", sort = " "},
}
labels["pronunciation maintenance"] = {
description = "{{{langname}}} pronunciation sections, or pronunciation sections in other languages containing {{{langname}}} terms, that are being tracked for attention and improvement.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella_parents = {name = "Pronunciation maintenance", sort = " "},
}
labels["ප්රවේශ, දෝෂ සහගත භාෂා ශීර්ෂක සහිත"] = {
description = "{{{langname}}} ප්රවේශ, වැරදි භාෂා ශීර්ෂක යටතේ දක්වා ඇති.",
additional = "හේතු කිහිපයක් නිසා මෙය සිදුවිය හැකිය:\n" ..
"* අක්ෂර වින්යාසය දෝෂ (Typos).\n" ..
"* විනාශ කිරීම් (Vandalism).\n" ..
"* වැරදි භාෂා කේතය භාවිතා කිරීම.\n" ..
"* භාෂාව සඳහා වන විකල්ප නාමයක් භාවිතා කිරීම.\n" ..
"* භාෂා දත්ත මොඩියුල තුළ භාෂා නාම සඳහා දක්වා නොමැති විශේෂ අනුකල්ෂණ භාවිතා කිරීම.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
labels["entries without References header"] = {
description = "{{{langname}}} entries without a References header.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
labels["entries without References or Further reading header"] = {
description = "{{{langname}}} entries without a References or Further reading header.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
labels["entries that don't exist"] = {
description = "{{{langname}}} terms that do not meet the [[Wiktionary:Criteria for inclusion|criteria for inclusion]] (CFI). They are added to the category with the template {{tl|no entry|{{{langcode}}}}}.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella_parents = "මූලධර්ම",
}
labels["ප්රවේශ, නිරුක්ති ශාඛා සහිත"] = {
description = "{{{langname}}} entries that display an etymology tree generated by the template {{tl|etymon}}.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries with etymology texts"] = {
description = "{{{langname}}} entries that display an etymology generated by the template {{tl|etymon}}.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries with etymon"] = {
description = "{{{langname}}} entries that use the template {{tl|etymon}}.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries with etymology text stop language not in chain"] = {
description = "{{{langname}}} entries where {{tl|etymon}} is used with {{para|text}} set to stop at a language but that language never appears in the rendered etymology chain.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing missing etymons"] = {
description = "Entries which use the {{tl|etymon}} template to reference an etymon that cannot be found, either because the target page does not exist (redlink) or because it has no {{tl|etymon}} template.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing ambiguous etymons"] = {
description = "Entries which use the {{tl|etymon}} template to reference an etymon without the ID, when the target page contains multiple {{tl|etymon}} templates, and an ID is therefore required to select the correct {{tl|etymon}}.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing etymons with mismatched IDs"] = {
description = "Entries which use the {{tl|etymon}} template with a mismatched ID. For example, {{code|lang:entry<id:mismatched ID>}}",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing pages with multiple etymons missing IDs"] = {
description = "Entries which use the {{tl|etymon}} template to link to a page that has more than one {{tl|etymon}} template for the same language, where at least one of those templates has no {{para|id}}. When several {{tl|etymon}} templates share a language section, each must have a distinct {{para|id}} so that links and descendants logic can tell them apart.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing pages with etymology sections missing etymons"] = {
description = "Entries which use the {{tl|etymon}} template to link to a page that has more than one etymology section for the same language, where at least one section contains a {{tl|etymon}} template for that language and at least one other etymology section does not.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing etymons without Descendants sections"] = {
description = "Entries which use the {{tl|etymon}} template to reference an etymon whose source entry has no Descendants section.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries referencing etymons without this term in Descendants sections"] = {
description = "Entries which use the {{tl|etymon}} template to reference an etymon whose source entry has a Descendants section, but does not list the current term there.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["ප්රවේශ, ඍජු එක් කිරීම මගින් භාෂා නාම ප්රවර්ග දක්වා ඇති"] = {
description = "{{{langname}}} entries that have been placed in a language name category using raw wiki markup (i.e. {{code|[[<nowiki/>Category:{{{langname}}} ...]]}}). They should be added using {{tl|cln|{{{langcode}}}|...}} instead.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella_parents = "Category maintenance",
can_be_empty = true,
hidden = true,
}
labels["ප්රවේශ, ඍජු එක් කිරීම මගින් මාතෘකා ප්රවර්ග දක්වා ඇති"] = {
description = "{{{langname}}} entries that have been placed in a topic category using raw wiki markup (i.e. {{code|[[<nowiki/>Category:{{{langcode}}}:...]]}}). They should be added using {{tl|C|{{{langcode}}}|...}} instead.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella_parents = "Category maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries with outdated source"] = {
description = "{{{langname}}} entries that have been partly or fully imported from an outdated source.",
parents = {"ප්රවේශ නඩත්තුව"},
}
labels["entries with inflection not matching pagename"] = {
description = "{{{langname}}} entries which have an inflection table whose lemma form does not match the page name.",
additional = "This is usually the result of incorrect or missing parameters.",
parents = {"ප්රවේශ නඩත්තුව"},
hidden = true,
can_be_empty = true,
}
labels["undefined derivations"] = {
description = "{{{langname}}} etymologies using {{tl|undefined derivation}}, where a more specific template such as {{tl|borrowed}} or {{tl|inherited}} should be used instead.",
parents = {"etymology maintenance"},
umbrella_parents = "Etymology maintenance",
can_be_empty = true,
hidden = true,
}
labels["descendants to be fixed in desctree"] = {
description = "Entries that use {{tl|desctree}} to link to {{{langname}}} entries with no Descendants section.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
labels["term requests"] = {
description = "Entries with {{tl|der}}, {{tl|inh}}, {{tl|m}} and similar templates lacking the parameter for linking to {{{langname}}} terms.",
parents = {"link maintenance"},
umbrella_parents = "Link maintenance",
can_be_empty = true,
hidden = true,
}
labels["රතු සබැඳි"] = {
description = "Links to {{{langname}}} entries that have not been created yet.",
parents = {"link maintenance"},
umbrella_parents = "Link maintenance",
catfix = false,
can_be_empty = true,
hidden = true,
}
labels["යෙදුම්, ස්වරශාස්ත්ර හෝඩි උච්චාරණ සහිත"] = {
description = "{{{langname}}} යෙදුම්, ජාත්යන්තර ස්වරශාස්ත්ර හෝඩිය (IPA) භාවිතා කොට උච්චාරණය දක්වා ඇති.",
additional = "මෙම ප්රවර්ගය හා සබැඳි ඉල්ලීම් සඳහා, [[:Category:Requests for pronunciation in {{{langname}}} entries]] වෙත යොමු වන්න.",
parents = {"pronunciation maintenance"},
umbrella_parents = "Pronunciation maintenance",
}
labels["terms with enPR pronunciation"] = {
description = "{{{langname}}} terms that include the pronunciation in the form of enPR.",
additional = "For requests related to this category, see [[:Category:Requests for pronunciation in {{{langname}}} entries]].",
parents = {"pronunciation maintenance"},
umbrella_parents = "Pronunciation maintenance",
}
labels["terms with Indic pronunciation"] = {
description = "{{langname}} terms that include the pronunciation in the form of ISO 15919.",
additional = "For requests related to this category, see [[:Category:Requests for pronunciation in {{{langname}}} entries]].",
parents = {"pronunciation maintenance"},
umbrella_parents = "Pronunciation maintenance",
}
labels["IPA pronunciations with invalid separators"] = {
description = "{{{langname}}} terms with IPA using invalid separators such as /.ˈ/, /.ˌ/, a dot followed by primary or secondary stress; or /ˈ / or /ˌ /, primary or secondary stress followed by a space.",
parents = {"pronunciation maintenance"},
umbrella_parents = "Pronunciation maintenance",
can_be_empty = true,
hidden = true,
}
labels["terms with hyphenation"] = {
description = "{{{langname}}} terms that include hyphenation.",
parents = {"pronunciation maintenance"},
umbrella_parents = "Pronunciation maintenance",
}
labels["යෙදුම්, ඕඩියෝ උච්චාරණ සහිත"] = {
description = "{{{langname}}} යෙදුම්, ඕඩියෝ ගොනුවක් භාවිතයෙන් උච්චාරණය දක්වා ඇති.",
additional = "For requests related to this category, see [[:Category:Requests for audio pronunciation in {{{langname}}} entries]].",
parents = {"pronunciation maintenance"},
umbrella_parents = "Pronunciation maintenance",
}
labels["terms with nonstandard or incorrect audio pronunciations"] = {
description = "{{{langname}}} terms which have been tagged as having audio pronunciations which are nonstandard or incorrect.",
parents = {"යෙදුම්, ඕඩියෝ උච්චාරණ සහිත"},
umbrella_parents = "Pronunciation maintenance",
can_be_empty = true,
hidden = true,
}
labels["entries missing Template:reconstructed"] = {
description = "Reconstructed {{{langname}}} entries which do not have the {{tl|reconstructed}} template.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
local function add_manual_param_category(label, desc, addl_intro, include_addl_continuation)
local breadcrumb_base, parents, umbrella_parents
if label:find("^links") then
parents = {"link maintenance"}
umbrella_parents = "Link maintenance"
breadcrumb_base = label:gsub("^links with ", "")
else
parents = {"ප්රවේශ නඩත්තුව"}
-- the call to finalize_labels() farther down will set the right breadcrumb, sortkey and umbrella_parents.
end
labels[label] = {
description = desc or "Pages containing {{{langname}}} " .. label .. ".",
additional = addl_intro .. (not include_addl_continuation and "" or "\n\n" ..
"Note that the pages in this category are not necessarily the same as the actual term in question. This " ..
"frequently happens, for example, with English pages with translation sections, where the term that " ..
"triggers the addition of the category is one of the translations."),
parents = parents,
breadcrumb_base = breadcrumb_base,
umbrella_parents = umbrella_parents,
-- Set catfix = false because the page will have a mixture of native-language and
-- non-native-language pages, but include the normal native-language table of contents headers
-- because most pages are in the native language.
catfix = false,
toc_template = "{{{langcode}}}-categoryTOC",
toc_template_full = "{{{langcode}}}-categoryTOC/full",
can_be_empty = true,
hidden = true,
}
end
add_manual_param_category("terms in nonstandard scripts", nil,
"Pages are placed here if they contain terms written in a script that isn't in the language's " ..
"list of scripts in the language data. This may mean the script should be added to the list, or that the wrong language code has been used.",
true)
add_manual_param_category("terms with non-redundant manual transliterations", nil,
"Pages are placed here if they contain terms whose transliteration has been specified manually using " ..
"{{para|tr}} or a similar parameter and is different from the transliteration which is automatically generated.",
true)
add_manual_param_category("terms with redundant transliterations", nil,
"Pages are placed here if they contain terms whose transliteration has been specified manually using " ..
"{{para|tr}} or a similar parameter and is the same as the transliteration which is automatically generated.",
true)
add_manual_param_category("terms with non-redundant manual script codes", nil,
"Pages are placed here if they contain terms whose script code has been specified manually using " ..
"{{para|sc}} or a similar parameter and is different from the script code which is automatically generated.",
true)
add_manual_param_category("terms with redundant script codes", nil,
"Pages are placed here if they contain terms whose script code has been specified manually using " ..
"{{para|sc}} or a similar parameter and is the same as the script code which is automatically generated.",
true)
add_manual_param_category("යෙදුම්, non-redundant non-automated සෝට්කී සහිත",
"{{{langname}}} terms with non-redundant non-automated sortkeys.",
"Terms are placed here if they have been sorted using a sortkey other than the one which is automatically " ..
"generated. This can happen for two reasons:\n# A different sortkey has been specified using the {{para|sort}} " ..
"parameter.\n# One or more categories have been added using raw wikitext, which means the page's default " ..
"sortkey is used for that category. If that default sortkey is different from the automatic sortkey, then the " ..
"page will also be added here.")
add_manual_param_category("යෙදුම්, අනු පිටපත් කළ සෝට්කී සහිත",
"{{{langname}}} terms with redundant sortkeys.",
"Terms are placed here if their sortkey has been specified using the {{para|sort}} parameter, and it the same " ..
"as the one which is automatically generated.")
add_manual_param_category("links with redundant target parameters",
"Pages containing {{{langname}}} links where the alt text could replace the link target, instead of being given " ..
"separately.",
"This occurs when the only difference between the link target and the alt text is that the alt text contains " ..
"diacritics (or other characters) which would have been ignored anyway had they been included in the link " ..
"target. For example, {{tl|l|la|amo|amō}} ({{l|la|amo|amō}}) is exactly the same as {{tl|l|la|amō}} " ..
"({{l|la|amō}}), because macrons are automatically stripped from Latin link targets, even though they're still " ..
"displayed.")
add_manual_param_category("links with ignored alt parameters",
"Pages containing {{{langname}}} links where the {{para|alt}} parameter has been ignored.",
"This occurs when the main linked text includes a wikilink.")
add_manual_param_category("links with redundant alt parameters",
"Pages containing {{{langname}}} links where the {{para|alt}} parameter is redundant.",
"This occurs when the alt text makes no difference to the output. For example, {{tl|l|en|foo|foo}} " ..
"({{l|en|foo|foo}}) is exactly the same as {{tl|l|en|foo}} ({{l|en|foo}}).")
add_manual_param_category("links with ignored id parameters",
"Pages containing {{{langname}}} links where the {{para|id}} parameter has been ignored.",
"This occurs when the main linked text includes a wikilink.")
add_manual_param_category("සබැඳි, අනු පිටපත් කළ විකි සබැඳි සහිත",
"Pages containing {{{langname}}} links which contain a redundant wikilink.",
"This occurs if link target consists of a single wikilink, which should instead be entered in the " ..
"conventional manner without link brackets. For example, {{tl|l|en|<nowiki>[[foo]]</nowiki>}} " ..
"is the same as {{tl|l|en|foo}}, and {{tl|l|en|<nowiki>[[foo|bar]]</nowiki>}} is the same as " ..
"{{tl|l|en|foo|bar}}.\n\nThis also occurs when link templates are nested inside each other " ..
"unnecessarily: e.g. {{tl|l|en|{{tl|l|en|foo}}}}")
add_manual_param_category("links with manual fragments",
"Pages containing {{{langname}}} links where a manual link fragment has been given.",
"This occurs when the link fragment has been specified using {{code|#}} after the term, " ..
"which overrides the normal fragment generated by link templates that points to the relevant " ..
"language section.\n\nLink fragments are used to point to a specific section on a target page, and " ..
"it is preferable to use the {{para|id}} parameter to do this, since it is less likely to break if " ..
"additional content is added to the target page: for example, the fragment {{code|#Adjective}} " ..
"will start pointing to the wrong section if another language with an adjective section is added above " ..
"the intended language.")
labels["descendant hubs"] = {
description = "{{{langname}}} terms that do not mean more than the sum of their parts but exist for listing two or more inclusion-worthy descendants.",
parents = {"ප්රවේශ නඩත්තුව"},
}
labels["terms needing to be assigned to a sense"] = {
description = "{{{langname}}} entries that have terms under headers such as \"Synonyms\" or \"Antonyms\" not assigned to a specific sense of the entry in which they appear. Use [[Template:syn]] or [[Template:ant]] to fix these.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
--[=[
labels["terms with inflection tables"] = {
description = "{{{langname}}} entries that contain inflection tables.".
additional = "For requests related to this category," see [[:Category:Requests for inflections in {{{langname}}} entries]].",
parents = {"ප්රවේශ නඩත්තුව"},
}
]=]
local function generate_category_with_illustrations(typ, link, example_templates, other_types_in_group)
local function make_other_request_cats()
if not other_types_in_group then
return nil
end
local cats = {}
for _, other_type in ipairs(other_types_in_group) do
table.insert(cats, ("[[:Category:Requests for %ss in {{{langname}}}]]"):format(other_type))
end
return require(table_module).serialCommaJoin(cats)
end
local function make_umbrella_other_request_cats()
if not other_types_in_group then
return nil
end
local cats = {}
for _, other_type in ipairs(other_types_in_group) do
table.insert(cats, ("[[:Category:Requests for %ss by language]]"):format(other_type))
end
return require(table_module).serialCommaJoin(cats)
end
labels[("යෙදුම්, %s සහිත"):format(typ)] = {
description = ("{{{langname}}} entries that contain %s that were added using templates such as %s."):format(link, example_templates),
additional = ("For requests related to this category, see [[:Category:Requests for %ss in {{{langname}}}]]. See also %s."):format(
typ, make_other_request_cats()),
parents = {"ප්රවේශ නඩත්තුව"},
umbrella = {
additional = ("For requests related to this category, see [[:Category:Requests for %ss by language]]. See also %s."):format(
typ, make_umbrella_other_request_cats()),
},
umbrella_parents = ("%s maintenance"):format(mw.getContentLanguage():ucfirst(typ)),
}
end
local function generate_related_categories_with_illustrations(info)
for typ, spec in pairs(info) do
local other_types = {}
for other_type, _ in pairs(info) do
if other_type ~= typ then
table.insert(other_types, other_type)
end
end
table.sort(other_types)
generate_category_with_illustrations(typ, spec.link, spec.example_templates, other_types)
end
end
generate_related_categories_with_illustrations {
collocation = {
link = "[[collocation]]s",
example_templates = "{{tl|co}}",
},
["භාවිත නිදර්ශන"] = {
link = "[[usage]] [[example]]s",
example_templates = "{{tl|ux}}",
},
["උපුටා දැක්වීම්"] = {
link = "[[quotation]]s",
example_templates = "{{tl|quote}}, {{tl|quote-book}}, {{tl|quote-journal}}, etc",
},
}
labels["terms with interlinear glossed text"] = {
description = "{{{langname}}} entries that contain interlinear glossed text added using {{tl|interlinear}}.",
parents = {"ප්රවේශ නඩත්තුව"},
}
labels["පද, අනු පිටපත් කළ යොමු පරාමිති සහිත"] = {
description = "{{{langname}}} terms that contain a redundant head= parameter in their headword (called using {{tl|head}} or a language-specific equivalent).",
additional = "Individual languages can prevent terms from being added to this category by setting `data.no_redundant_head_cat`.",
parents = {"ප්රවේශ නඩත්තුව"},
can_be_empty = true,
hidden = true,
}
labels["පද, යොමු වචන පේළි තුළ රතු සබැඳි සහිත"] = {
description = "{{{langname}}} terms that contain red links (i.e. uncreated forms) in their headword lines.",
parents = {"රතු සබැඳි"},
breadcrumb_base = "headword lines",
umbrella_parents = "Link maintenance",
can_be_empty = true,
hidden = true,
}
labels["terms with red links in their inflection tables"] = {
description = "{{{langname}}} terms that contain red links (i.e. uncreated forms) in their inflection tables.",
parents = {"රතු සබැඳි"},
breadcrumb_base = "inflection tables",
umbrella_parents = "Link maintenance",
can_be_empty = true,
hidden = true,
}
for _, quot_type in ipairs { "quotations", "usage examples" } do
local umbrella_parent = quot_type == "quotations" and "Quotation maintenance" or "Usage example maintenance"
labels[quot_type .. " with omitted translation"] = {
description = "{{{langname}}} " .. quot_type .. " where a translation would normally be required but the translation has explicitly been omitted by specifying {{code|-}}. The translation should be supplied instead.",
parents = {"ප්රවේශ නඩත්තුව"},
umbrella = {
parents = {name = umbrella_parent, sort = "omitted translation"},
breadcrumb = "with omitted translation",
},
can_be_empty = true,
hidden = true,
}
end
for _, pos in ipairs({"nouns", "proper nouns", "verbs", "adjectives", "adverbs", "participles", "determiners", "pronouns", "numerals", "suffixes", "contractions"}) do
labels[m_sinhala.sinhala(pos) .. ", යොමු වචන පේළි තුළ රතු සබැඳි සහිත"] = {
description = "{{{langname}}} " .. pos .. " that contain red links (i.e. uncreated forms) in their headword lines.",
parents = {"පද, යොමු වචන පේළි තුළ රතු සබැඳි සහිත"},
breadcrumb_base = pos,
umbrella_parents = "Link maintenance",
can_be_empty = true,
hidden = true,
}
labels[pos .. " with red links in their inflection tables"] = {
description = "{{{langname}}} " .. pos .. " that contain red links (i.e. uncreated forms) in their inflection tables.",
parents = {"terms with red links in their inflection tables"},
breadcrumb_base = pos,
umbrella_parents = "Link maintenance",
can_be_empty = true,
hidden = true,
}
end
for _, pos in ipairs { "nouns", "proper nouns", "pronouns" } do
local label = pos .. " with unknown or uncertain plurals"
labels[label] = {
description = "{{{langname}}} " .. label .. ".",
additional = "Terms are usually added to this category by specifying {{code|?}} as the plural. As much " ..
"is possible, a plural should be added or, if the noun is uncountable, indicated appropriately (usually " ..
"using {{code|-}} in place of the plural). Some languages support the value {{code|!}} to indicate " ..
"that a plural cannot be attested but the noun is theoretically countable.",
parents = {pos, "ප්රවේශ නඩත්තුව"},
}
end
-- Add breadcrumb by chopping off the parent (or the parent's parent, etc.) or the words 'entries (with/that/in)' or 'terms (with/that/in)' from the
-- beginning or end of the label, if possible. Further chop off with/that/in to form the sortkey, if possible.
require("Module:category tree/utilities").finalize_labels(labels, {
addl_terms_to_remove_for_breadcrumb_base = {"entries with", "terms with", "entries that", "terms that",
"entries in", "terms in", "entries", "terms", "maintenance"},
addl_terms_to_remove_for_sort = {"with", "that", "in"},
default_umbrella_parents = "භාෂාව අනුව ප්රවේශ නඩත්තු උපප්රවර්ග",
})
-----------------------------------------------------------------------------
-- --
-- RAW CATEGORIES --
-- --
-----------------------------------------------------------------------------
raw_categories["භාෂාව අනුව ප්රවේශ නඩත්තු උපප්රවර්ග"] = {
description = "Umbrella categories covering topics related to entry maintenance.",
additional = "{{{umbrella_meta_msg}}}",
parents = {
"ඡත්ර මෙටා ප්රවර්ග",
{name = "ප්රවේශ නඩත්තුව", is_label = true, sort = " "},
{name = "Entry maintenance", sort = " "},
},
}
raw_categories["Citation maintenance"] = {
description = "Categories for maintaining citations specified using {{tl|cite-*}}.",
parents = {"Entry maintenance", "Wiktionary maintenance"},
}
raw_categories["Collocation maintenance"] = {
description = "Categories for maintaining collocations specified using {{tl|co}}, {{tl|coi}} or {{tl|coa}}.",
parents = {"Entry maintenance", "Wiktionary maintenance"},
}
raw_categories["Link maintenance"] = {
description = "Categories for maintaining internal links, such as those specified using {{tl|l}}, {{tl|m}} or any other template linking to another Wiktionary term.",
parents = {"Entry maintenance", "Wiktionary maintenance"},
}
raw_categories["Pronunciation maintenance"] = {
description = "Categories for maintaining pronunciations specified in pronunciation sections.",
parents = {"Entry maintenance", "Wiktionary maintenance"},
}
raw_categories["Quotation maintenance"] = {
description = "Categories for maintaining quotations specified using {{tl|quote-*}}.",
parents = {"Entry maintenance", "Wiktionary maintenance"},
}
raw_categories["Usage example maintenance"] = {
description = "Categories for maintaining usage examples specified using {{tl|ux}}, {{tl|uxi}} or {{tl|uxa}}.",
parents = {"Entry maintenance", "Wiktionary maintenance"},
}
raw_categories["Citations using nocat parameter"] = {
description = "Instances of {{tl|cite-*}} templates using the {{para|nocat}} parameter, which should be eliminated (?).",
parents = {"Citation maintenance"},
can_be_empty = true,
hidden = true,
}
raw_categories["Quotation templates to be cleaned"] = {
description = "Instances of quotations using {{tl|quote-text}}.",
additional = "They should be converted to other '''[[:Category:Citation templates|quotation templates]]''' if relevant.",
parents = {"Quotation maintenance"},
can_be_empty = true,
hidden = true,
}
raw_categories["Quotations using nocat parameter"] = {
description = "Instances of {{tl|quote-*}} templates using the {{para|nocat}} parameter, which should be eliminated (?).",
parents = {"Quotation maintenance"},
can_be_empty = true,
hidden = true,
}
raw_categories["Quotations using quoted-in parameter"] = {
description = "Instances of {{tl|quote-*}} templates using the {{para|quoted_in}} parameter.",
additional = "It is recommended to restructure these template calls using the {{para|newversion}} parameter along with associated parameters {{para|2ndauthor}}, {{para|title2}}, {{para|year2}}, {{para|publisher2}} and the like, as described in the documentation for {{tl|quote-book}}.",
parents = {"Quotation maintenance"},
can_be_empty = true,
hidden = true,
}
raw_categories["ඉල්ලීම්"] = {
topright = "{{shortcut|WT:CR|WT:RQ}}",
description = "A parent category for the various request categories.",
parents = {"ප්රවර්ගය:වික්ෂනරිය"},
}
raw_categories["Requests by language"] = {
description = "Categories with requests in various specific languages.",
additional = "{{{umbrella_msg}}}",
parents = {
{name = "Request subcategories by language", sort = " "},
{name = "ඉල්ලීම්", sort = " "},
},
breadcrumb = "by language",
}
raw_categories["Request subcategories by language"] = {
description = "Umbrella categories covering topics related to requests.",
additional = "{{{umbrella_meta_msg}}}",
parents = {
"ඡත්ර මෙටා ප්රවර්ග",
{name = "ඉල්ලීම්", sort = " "},
},
}
raw_categories["Requests for quotations by source"] = {
description = "Categories with requests for quotation, broken out by the source of the quotation.",
additional = "Some abbreviated names of sources are explained at [[Wiktionary:Abbreviated Authorities in Webster]].",
parents = {"Requests for quotations"},
}
raw_categories["Requests for quotations"] = {
-- FIXME
description = "Words are added to this category by the inclusion in their entries of {{tl|rfv-quote}}.",
parents = {"ඉල්ලීම්", "Quotation maintenance"},
}
raw_categories["Requests for date"] = {
description = "Requests for a date to be added to a quotation.",
additional = "To add an article to this category, use {{tl|rfdate}} or {{tl|rfdatek}} to include the author. " ..
"Please remove the template from the article once the date has been provided.",
parents = {"ඉල්ලීම්", "Quotation maintenance"},
}
raw_categories["Requests for translations in user-competency categories by number of users"] = {
description = "Requests for translations to be added to user-competency categories, sorted by number of users with that competency.",
parents = {"ඉල්ලීම්"},
}
raw_categories["Requests for translations in user-competency categories by language"] = {
description = "Requests for translations to be added to user-competency categories, sorted by language.",
parents = {"ඉල්ලීම්"},
hidden = true,
}
raw_categories["භාෂාව අනුව යෙදුම්, පරිවර්තන සහිත"] = {
description = "Terms with translations, sorted by language.",
parents = {"භාෂාව අනුව ප්රවේශ නඩත්තු උපප්රවර්ග"},
breadcrumb_base = "පරිවර්තන",
}
raw_categories["Entries using missing taxonomic names"] = {
description = "Entries that link to wikispecies because there is no corresponding Wiktionary entry for the taxonomic name in the template {{tl|taxlink}}.",
additional = "The missing name is one or more of those enclosed in {{tl|taxlink}}. The entries are sorted by the missing taxonomic name." ..
"\n\nSee [[:Category:mul:Taxonomic names]].",
parents = {{name = "ප්රවේශ නඩත්තුව", is_label = true, lang = "mul"}},
breadcrumb_base = "missing taxonomic names",
hidden = true,
}
raw_categories["Entries with collapsible category lists for nonexistent categories"] = {
description = "Entries where [[Module:collapsible category list]] is used, but the requested category does not exist.",
additional = "Normally the culprit is a template like {{tl|prefixsee}} or {{tl|suffixsee}}.",
parents = {"Entry maintenance", "Category maintenance"},
hidden = true,
}
-- Add breadcrumb by chopping off the parent (or the parent's parent, etc.) or the words 'entries (with/that/in)' or 'terms (with/that/in)' from the
-- beginning or end of the label, if possible. Further chop off with/that/in to form the sortkey, if possible.
require("Module:category tree/utilities").finalize_raw_categories(raw_categories, {
addl_terms_to_remove_for_breadcrumb_base = {"entries with", "terms with", "entries that", "terms that",
"entries in", "terms in", "entries", "terms", "requests for", "citations", "quotations", "maintenance"},
addl_terms_to_remove_for_sort = {"with", "that", "in", "by", "using"},
})
-----------------------------------------------------------------------------
-- --
-- RAW HANDLERS --
-- --
-----------------------------------------------------------------------------
local function script_name_to_code(name)
local sc = require(scripts_module).getByCanonicalName(name)
if not sc then
error("Unrecognized script name '" .. name .. "'")
end
return sc:getCode()
end
--[=[
This array consists of category match specs. Each spec contains one or more properties, whose values are (a) strings
that may contain references to other properties using the {{{PROPERTY}}} syntax; (b) functions of one argument, an
`items` table of the same properties that are accessible using the {{{PROPERTY}} syntax. Each such spec should have at
least a `regex` property that matches the name of the category. Capturing groups in this regex can be referenced in
other properties using {{{1}}} for the first group, {{{2}}} for the second group, etc. (or using keys "1", "2", etc. in
functions). Property expansion happens recursively if needed (i.e. a property can reference another property, which in
turn references a third property).
If there is a `language_name` propery, it specifies the language name (and will typically be a reference to a capturing
group from the `regex` property); if not specified, it defaults to "{{{1}}}" unless the `nolang` property is set, in
which case there is no language name associated with the category name. The language name must be the canonical name of
a recognized full language, or an error is thrown; however, if the `allow_etym_lang` property is set, the language name
may also be the canonical name of an etymology-only language. Based on the language name, the `language_code` and
`language_object` properties are automatically filled in. If `language_name` is an etymology-only language, additional
properties `parent_language_name`, `parent_language_code` and `parent_language_object` are set for the parent full
language of the etymology-only language.
If the `regex` values of multiple category specs match, the first one takes precedence.
Recognized or predefined properties:
`pagename`: Current pagename.
`regex`: See above.
`1`, `2`, `3`, ...: See above.
`language_name`, `language_code`, `language_object`: See above.
`parent_language_name`, `parent_language_code`, `parent_language_object`: See above.
`nolang`: See above.
`allow_etym_lang`: Language names may be etymology-only languages. See above.
`description`: Override the description (normally taken directly from the pagename).
`template_name`: Name of template which generates this category.
`template_sample_call`: Syntax for calling the template. Defaults to "{{{template_name}}}|{{{language_code}}}". Used to
display an example template call and the output of this call.
`template_actual_sample_call`: Syntax for calling the template. Takes precedence over `template_sample_call` when
generating example template output (but not when displaying an example template call) and is intended for a template
call that uses the |nocat=1 parameter.
`template_example_output`: Override the text that displays example template output (see `template_sample_call`).
`additional_template_description`: Extra text to be displayed after the example template output.
`parents`: Parent categories. Should be a list of elements, each of which is an object containing at least a name= and
sort= field (same format as parents= for regular raw categories, except that the name= and sort= field will have
{{{PROPERTY}}} references expanded). If no parents are specified, and the pagename is of the form "Requests for FOO
by language", the parents will be "Request subcategories by language" with FOO as the sort key, along with any
parents specified in `additional_umbrella_parents`. Otherwise, the `language_name` property must exist, and the
parent will be "Requests concerning LANGNAME", with the pagename minus any initial "Requests for " as the sort key,
along with any parents specified in `additional_parents`. Note that this does *NOT* apply if an etymology-only
language is associated with the category, in which case `etym_parents` is used instead.
`additional_parents`: Additional parents to add to the per-language category along with "Requests concerning LANGNAME".
`etym_parents`: Parent categories for categories with associated etymology-only languages. The format is the same as
`parents`. If omitted, there are two parents by default: (1) The pagename (i.e. category name) with the language name
replaced by the corresponding parent language name, with the value of `language_name` as the sort key; (2) "Requests
concerning LANGNAME", with the pagename minus any initial "Requests for " as the sort key.
`umbrella`: Parent all-language category. Sort key is based on the language name. This applies *ONLY* if a full language
is associated with the category name (i.e. not if `nolang` is set or if `allow_etym_lang` is set and the associated
language is an etymology-only language); otherwise there will be no umbrella category.
`additional_umbrella_parents`: Additional parents to add to the umbrella (all-language) category along with
"Request subcategories by language".
`breadcrumb`: Specify the breadcrumb. If `parents` is given, there is no default (i.e. it will end up being the
pagename). Otherwise, if the pagename is of the form "Requests for FOO by language", the default breadcrumb will be
"FOO". Otherwise it is computed by removing the language name from the pagename and chopping out "Requests for" from
the beginning and "in entries" and "for terms" from the end. Note that this does *NOT* apply if an etymology-only
language is associated with the category, in which case `etym_breadcrumb` is used instead.
`etym_breadcrumb`: Specify the breadcrumb for categories with associated etymology-only languages. Defaults to the value
of `language_name`.
`not_hidden_category`: Don't hide the category.
`catfix`: Same as `catfix` in regular labels and raw categories, except that request-specific {{{PROPERTY}}} syntax is
expanded.
`toc_template`, `toc_template_full`: Same as the corresponding fields in regular labels and raw categories, except that
request-specific {{{PROPERTY}}} syntax is expanded.
In general, properties can contain references to templates (e.g. {{tl}} and {{para}}), which will be appropriately
expanded (this expansion happens in the poscatboiler code, not in this module). The major exception is in the
`template_sample_call` and `template_actual_sample_call` properties, which are surrounded by <pre>...</pre> when
inserted, so template references are not expanded. Triple-brace property references are still expanded in these
properties; but beware that if any of those property references contain template references, they won't be expanded.
(This actually happens in the handlers for 'Request for SCRIPT script for LANG terms'; the sample call references
{{{script_code}}}, whose definition therefore cannot contain template references. The solution is to define this
property using a function.)
]=]
local requests_categories = {
{
regex = "^Requests concerning (.+)$",
allow_etym_lang = true,
description = "Categories with {{{1}}} entries that need the attention of experienced editors.",
parents = {{name = "ප්රවේශ නඩත්තුව", is_label = true, sort = "requests"}},
etym_parents = {{name = "Requests concerning {{{parent_language_name}}}", sort = "{{{1}}}"},
{name = "{{{1}}}", sort = "ඉල්ලීම්"}},
umbrella = "Requests by language",
breadcrumb = "ඉල්ලීම්",
not_hidden_category = true,
},
{
regex = "^Requests for etymologies in (.+) entries$",
allow_etym_lang = true,
umbrella = "Requests for etymologies by language",
additional_parents = {{name = "etymology maintenance", is_label = true}},
additional_umbrella_parents = {"Etymology maintenance"},
template_name = "rfe",
},
{
regex = "^Requests for expansion of etymologies in (.+) entries$",
umbrella = "Requests for expansion of etymologies by language",
additional_parents = {{name = "etymology maintenance", is_label = true}},
additional_umbrella_parents = {"Etymology maintenance"},
template_name = "etystub",
},
{
regex = "^Requests for pronunciation in (.+) entries$",
umbrella = "Requests for pronunciation by language",
additional_parents = {{name = "pronunciation maintenance", is_label = true}},
additional_umbrella_parents = {"Pronunciation maintenance"},
template_name = "rfp",
},
{
regex = "^Requests for audio pronunciation in (.+) entries$",
umbrella = "Requests for audio pronunciation by language",
additional_parents = {{name = "pronunciation maintenance", is_label = true}},
additional_umbrella_parents = {"Pronunciation maintenance"},
template_name = "rfap",
},
{
regex = "^Requests for definitions in (.+) entries$",
umbrella = "Requests for definitions by language",
template_name = "rfdef",
},
{
regex = "^Requests for clarification of definitions in (.+) entries$",
umbrella = "Requests for clarification of definitions by language",
template_name = "rfclarify",
},
{
regex = "^Requests for English equivalent terms in (.+) entries$",
umbrella = "Requests for English equivalent terms by language",
template_name = "rfeq",
},
}
for _, spec_with_pos in ipairs {
{"inflections", "rfinfl"},
{"plural forms"},
{"tone", "rftone"},
{"accents"},
{"aspect", "rfaspect"},
{"animacy"},
{"gender", "rfgender"},
{"noun class"},
} do
local property, rftemplate = unpack(spec_with_pos)
table.insert(requests_categories,
{
-- This is for part-of-speech-specific categories such as
-- "Requests for inflections in Northern Ndebele noun entries" or
-- "Requests for accents in Ukrainian proper noun entries".
-- Here and below, we assume that the part of speech is begins with
-- a lowercase letter, while the preceding language name ends in a
-- capitalized word. Note that this entry comes before the
-- following one and takes precedence over it.
regex = ("^Requests for %s in (.-) ([a-z]+[a-z ]*) entries$"):format(property),
parents = {{name = ("Requests for %s in {{{language_name}}} entries"):format(property), sort = "{{{2}}}"}},
umbrella = ("Requests for %s of {{pluralize|{{{2}}}}} by language"):format(property),
breadcrumb = "{{{2}}}",
template_name = rftemplate,
template_sample_call = rftemplate and ("{{%s|{{{language_code}}}|{{{2}}}}}"):format(rftemplate) or nil,
}
)
table.insert(requests_categories,
{
regex = ("^Requests for %s in (.+) entries$"):format(property),
umbrella = ("Requests for %s by language"):format(property),
template_name = rftemplate,
}
)
table.insert(requests_categories,
{
regex = ("^Requests for %s of (.+) by language$"):format(property),
nolang = true,
}
)
end
extend(requests_categories, {
{
regex = "^Requests for example sentences in (.+)$",
umbrella = "Requests for example sentences by language",
additional_umbrella_parents = {"Usage example maintenance"},
template_name = "rfex",
},
{
regex = "^Requests for quotations in (.+)$",
umbrella = "Requests for quotations by language",
additional_umbrella_parents = {"Quotation maintenance"},
template_name = "rfquote",
},
{
regex = "^Requests for translations into (.+)$",
allow_etym_lang = true,
umbrella = "Requests for translations by language",
template_name = "t-needed",
catfix = "en",
},
{
regex = "^Requests for translations of (.+) usage examples$",
allow_etym_lang = true,
umbrella = "Requests for translations of usage examples by language",
additional_umbrella_parents = {"Usage example maintenance"},
template_name = "t-needed",
template_sample_call = "{{t-needed|{{{language_code}}}|usex}}",
template_actual_sample_call = "{{t-needed|{{{language_code}}}|usex|nocat=1}}",
additional_template_description = "The {{tl|ux}}, {{tl|uxi}}, {{tl|ja-usex}} and {{tl|zh-x}} templates automatically add the page to this category if the example is in a foreign language and the translation is missing."
},
{
regex = "^Requests for translations of (.+) quotations$",
allow_etym_lang = true,
umbrella = "Requests for translations of quotations by language",
additional_umbrella_parents = {"Quotation maintenance"},
template_name = "t-needed",
template_sample_call = "{{t-needed|{{{language_code}}}|quote}}",
template_actual_sample_call = "{{t-needed|{{{language_code}}}|quote|nocat=1}}",
additional_template_description = "The {{tl|quote}}, and {{tl|Q}} templates automatically add the page to this category if the example is in a foreign language and the translation is missing."
},
{
regex = "^Requests for review of (.+) translations$",
allow_etym_lang = true,
umbrella = "Requests for review of translations by language",
template_name = "t-check",
template_sample_call = "{{t-check|{{{language_code}}}|example}}",
template_example_output = "",
catfix = "en",
},
{
regex = "^Requests for transliteration of (.+) terms$",
umbrella = "Requests for transliteration by language",
template_name = "rftranslit",
additional_template_description = "The {{tl|head}} template, and the large number of language-specific variants of it, automatically add " ..
"the page to this category if the example is in a foreign language and no transliteration can be generated (particularly in languages without " ..
"automated transliteration, such as Hebrew and Persian).",
},
{
regex = "^Requests for transliteration of (.+) usage examples$",
umbrella = "Requests for transliteration of usage examples by language",
additional_umbrella_parents = {"Usage example maintenance"},
template_name = "rftranslit",
template_sample_call = "{{rftranslit|{{{language_code}}}}}",
template_actual_sample_call = "{{rftranslit|{{{language_code}}}|nocat=1}}",
catfix = false,
additional_template_description = "The {{tl|ux}} and {{tl|uxi}} templates automatically add the page to this category if the example " ..
"is in a foreign language and no transliteration can be generated (particularly in languages without automated transliteration, such as " ..
"Hebrew and Persian).",
},
{
regex = "^Requests for transliteration of (.+) quotations$",
umbrella = "Requests for transliteration of quotations by language",
additional_umbrella_parents = {"Quotation maintenance"},
catfix = false,
additional_template_description = "The {{tl|quote}} and {{code|<nowiki>{{quote-*}}</nowiki>}} templates automatically add the page to this category if the quotation " ..
"is in a foreign language and no transliteration can be generated (particularly in languages without automated transliteration, such as " ..
"Hebrew and Persian).",
},
{
regex = "^Requests for native script for (.+) terms$",
allow_etym_lang = true,
etym_parents = {
{name = "Requests for native script for {{{parent_language_name}}} terms", sort = "{{{1}}}"},
{name = "Requests concerning {{{language_name}}}", sort = "native script"},
},
umbrella = "Requests for native script by language",
template_name = "rfscript",
template_actual_sample_call = "{{rfscript|{{{language_code}}}|nocat=1}}",
catfix = false,
additional_template_description = "Many templates such as {{tl|l}}, {{tl|m}} and {{tl|t}} automatically place the page in this category when they are missing the term but have been provided with a transliteration."
},
{
regex = "^Requests for native script in (.+) usage examples$",
umbrella = "Requests for native script in usage examples by language",
additional_umbrella_parents = {"Usage example maintenance"},
template_name = "rfscript",
template_sample_call = "{{rfscript|{{{language_code}}}|usex=1}}",
template_actual_sample_call = "{{rfscript|{{{language_code}}}|usex=1|nocat=1}}",
catfix = false,
additional_template_description = "The {{tl|ux}} and {{tl|uxi}} templates automatically add the page to this category if the example itself is missing but the translation is supplied."
},
{
regex = "^Requests for native script in (.+) quotations$",
umbrella = "Requests for native script in quotations by language",
additional_umbrella_parents = {"Quotation maintenance"},
template_name = "rfscript",
template_sample_call = "{{rfscript|{{{language_code}}}|quote=1}}",
template_actual_sample_call = "{{rfscript|{{{language_code}}}|quote=1|nocat=1}}",
catfix = false,
additional_template_description = "The {{tl|quote}} and {{code|<nowiki>{{quote-*}}</nowiki>}} templates automatically add the page to this category if the quotation itself is missing but the translation is supplied."
},
{
regex = "^Requests for (.+) script for (.+) terms$",
language_name = "{{{2}}}",
allow_etym_lang = true,
parents = {{name = "Requests for native script for {{{language_name}}} terms", sort = "{{{1}}}"}},
etym_parents = {
{name = "Requests for native script for {{{language_name}}} terms", sort = "{{{1}}}"},
{name = "Requests for {{{1}}} script for {{{parent_language_name}}} terms", sort = "{{{language_name}}}"},
{name = "Requests concerning {{{language_name}}}", sort = "{{{1}}} script"},
},
umbrella = "Requests for {{{1}}} script by language",
breadcrumb = "{{{1}}}",
etym_breadcrumb = "{{{1}}}",
template_name = "rfscript",
-- NOTE: The following is used in `template_sample_call` and `template_actual_sample_call`, meaning the
-- conversion of script name to script code needs to be done using an inline function like this, instead of
-- a {{#invoke:...}} template call.
script_code = function(items)
return script_name_to_code(items["1"])
end,
template_sample_call = "{{rfscript|{{{language_code}}}|sc={{{script_code}}}}}",
template_actual_sample_call = "{{rfscript|{{{language_code}}}|sc={{{script_code}}}|nocat=1}}",
catfix = false,
additional_template_description = "Many templates such as {{tl|l}}, {{tl|m}} and {{tl|t}} automatically place the page in this category when they are missing the term but have been provided with a transliteration."
},
{
regex = "^Requests for (.+) script by language$",
parents = {{name = "Requests for script by language", sort = "{{{1}}}"}},
breadcrumb = "{{{1}}}",
nolang = true,
},
{
regex = "^Requests for script by language$",
nolang = true,
},
{
regex = "^Requests for images in (.+) entries$",
umbrella = "Requests for images by language",
template_name = "rfi",
},
{
regex = "^Requests for references for (.+) terms$",
umbrella = "Requests for references by language",
template_name = "rfref",
},
{
regex = "^Requests for references for etymologies in (.+) entries$",
parents = {{name = "Requests for references for {{{language_name}}} terms", sort = "etymologies"}},
umbrella = "Requests for references for etymologies by language",
additional_parents = {{name = "etymology maintenance", is_label = true}},
additional_umbrella_parents = {"Etymology maintenance"},
breadcrumb = "නිරුක්ති",
template_name = "rfv-etym",
},
{
regex = "^Requests for references for pronunciations in (.+) entries$",
parents = {{name = "Requests for references for {{{language_name}}} terms", sort = "pronunciations"}},
umbrella = "Requests for references for pronunciations by language",
additional_parents = {{name = "pronunciation maintenance", is_label = true}},
additional_umbrella_parents = {"Pronunciation maintenance"},
breadcrumb = "Pronunciations",
template_name = "rfv-pron",
},
{
regex = "^Requests for attention concerning (.+)$",
umbrella = "Requests for attention by language",
breadcrumb = "Attention",
template_name = "attention",
template_sample_call = "{{attention|{{{language_code}}}|insert a brief description of the request here}}",
template_example_output = "This template does not generate any text in entries, but can be visualised by enabling the Catch My Attention gadget. See {{section link|Template:attention#Visibility}}.",
-- These pages typically contain a mixture of English and native-language entries, so disable catfix.
catfix = false,
-- Setting catfix = false will normally trigger the English table of contents template.
-- We still want the native-language table of contents template, though.
toc_template = "{{{language_code}}}-categoryTOC",
toc_template_full = "{{{language_code}}}-categoryTOC/full",
},
{
regex = "^Requests for cleanup in (.+) entries$",
umbrella = "Requests for cleanup by language",
template_name = "rfc",
template_actual_sample_call = "{{rfc|{{{language_code}}}|nocat=1}}",
},
{
regex = "^Requests for cleanup of Pronunciation N headers in (.+) entries$",
umbrella = "Requests for cleanup of Pronunciation N headers by language",
additional_parents = {{name = "pronunciation maintenance", is_label = true}},
additional_umbrella_parents = {"Pronunciation maintenance"},
template_name = "rfc-pron-n",
template_actual_sample_call = "{{rfc-pron-n|{{{language_code}}}|nocat=1}}",
template_example_output = "This template does not generate any text in entries.",
additional_template_description = [=[
The purpose of this category is to tag entries that use headers with "Pronunciation" and a number.
While these headers and structure are sometimes used, they are not specifically prescribed by [[WT:ELE]]. No complete proposal has yet been made on how they should work, what the semantics are, or how they interact with multiple etymologies. As a result they should generally be avoided. Instead, merge the entries (possibly under multiple Etymology sections, if appropriate), and list all pronunciations, appropriately tagged, under a Pronunciation header.
[[User:KassadBot|KassadBot]] tags these entries (or used to tag these entries, when the bot was operational). At some point if a proposal is made and adopted as policy, these entries should be reviewed.
This category is hidden.]=],
},
{
regex = "^Requests for deletion in (.+) entries$",
umbrella = "Requests for deletion by language",
template_name = "rfd",
template_actual_sample_call = "{{rfd|{{{language_code}}}|nocat=1}}",
},
{
regex = "^Requests for verification in (.+) entries$",
umbrella = "Requests for verification by language",
template_name = "rfv",
},
{
regex = "^Requests for attention in (.+) etymologies$",
umbrella = "Requests for attention by language",
additional_parents = {{name = "etymology maintenance", is_label = true}},
additional_umbrella_parents = {"Etymology maintenance"},
},
{
regex = "^Requests for quotations/(.+)$",
description = "Requests for a quotation or for quotations from {{{1}}}.",
parents = {{name = "Requests for quotations by source", sort = "{{{1}}}"}},
breadcrumb = "{{{1}}}",
nolang = true,
template_name = "rfquotek",
template_sample_call = "{{rfquotek|LANGCODE|{{{1}}}}}",
template_example_output = "\n(where LANGCODE is the language code of the entry)\n\nIt results in the message below:\n\n{{rfquotek|und|{{{1}}}}}",
},
{
regex = "^Requests for date in (.+) entries$",
umbrella = "Requests for date by language",
additional_umbrella_parents = {"Quotation maintenance"},
template_name = "rfdate",
additional_template_description = "The quotation templates, such as {{tl|quote-book}} and {{tl|quote-journal}}, " ..
"automatically add the page to this category if neither {{para|date}} nor {{para|year}} is provided. Providing the " ..
"parameter in each case on the page automatically removes the article from this category. See " ..
"[[Wiktionary:Quotations]] for information about formatting dates and quotations.",
},
{
regex = "^Requests for date/(.+)$",
description = "{{rfd|section=Category:Requests for date by source}}Requests for a date for a quotation or quotations from {{{1}}}.",
parents = {{name = "Requests for date by source", sort = "{{{1}}}"}},
breadcrumb = "{{{1}}}",
nolang = true,
template_name = "rfdatek",
template_sample_call = "{{rfdatek|LANGCODE|{{{1}}}}}",
template_example_output = "\n(where LANGCODE is the language code of the entry)\n\nIt results in the message below:\n\n{{rfdatek|und|{{{1}}}}}",
},
{
regex = "^Requests for attestation of (.+) terms$",
umbrella = "Requests for attestation of terms by language",
breadcrumb = "Attestation",
additional_template_description = "The {{tl|LDL}} template adds this category when a language code is supplied in {{para|1}} (as it should be)."
},
})
local user_competency_additional_template_description = "This is added by user-competency categories such as " ..
"[[:Category:User fr-4]], which groups users who speak French at level 4 (near-native proficiency), when " ..
"the native-language text indicating this fact is missing. The appropriate translation should mirror the " ..
"English text also displayed (e.g. in this case \"These users speak French at a '''near native''' " ..
"level.\"), and should be supplied to {{tl|auto cat}} using the {{para|text}} parameter. The mention of the " ..
"language in the text should be surrounded by double angle brackets, e.g. \"<<français>>\", which " ..
"causes it to be automatically linked to the appropriate parent category."
local user_competency_parents = {{name = "Requests for translations in user-competency categories by number of users",
sort = function(items)
return " " .. ("%010d"):format(items["1"])
end,
}}
extend(requests_categories, {
{
regex = "^Requests for translations in user%-competency categories with ([0-9]+)%-([0-9]+) users$",
description = "Requests for translation of phrases indicating user competencies for specific languages and specific competency levels, for categories with {{{1}}}-{{{2}}} users.",
additional_template_description = user_competency_additional_template_description,
parents = user_competency_parents,
breadcrumb = "{{{1}}}-{{{2}}}",
nolang = true,
},
{
regex = "^Requests for translations in user%-competency categories with ([0-9]+) (users?)$",
description = "Requests for translation of phrases indicating user competencies for specific languages and specific competency levels, for categories with {{{1}}} {{{2}}}.",
additional_template_description = user_competency_additional_template_description,
parents = user_competency_parents,
breadcrumb = "{{{1}}}",
nolang = true,
}
})
table.insert(raw_handlers, function(data)
local items
local function init_items()
items = {pagename = data.category}
end
local function expand_value(item, val)
if not val then
return val
elseif is_callable(val) then
return expand_value(item .. " ⇒ function", val(items))
elseif type(val) == "table" then
for k, v in pairs(val) do
val[k] = expand_value(item .. " ⇒ " .. k, v)
end
return val
elseif type(val) == "number" then
val = tostring(val)
end
if type(val) ~= "string" then
error(("The item '%s' on page %s is of type %s and can't be concatenated"):format(
item, items.pagename, type(val)))
end
-- Replaces pseudo-template code {{{ }}} with the corresponding member of the "items" table. Has to be done
-- recursively, since some of the items are nested:
-- {{{template_sample_call_with_temp}}}
-- ⇓
-- {{{{{template_name}}}|{{{language_code}}}}}
-- ⇓
-- {{attention|en}}
if val:find("{{{") then
val = mw.ustring.gsub(val, "{{{([^%}%{]+)}}}", function(prop)
local propval = items[prop]
if not propval then
error(("The item '%s' (expanded from property '%s' on page %s) was not found in the 'items' table"):
format(prop, item, items.pagename))
end
return expand_value(item .. " ⇒ " .. prop, propval)
end
)
end
return val
end
local function expand_items_value(item)
return expand_value(item, items[item])
end
local function convert_items_to_category_data(items)
if not items.nolang then
items.language_name = items.language_name or "{{{1}}}"
items.language_name = expand_items_value("language_name")
items.language_object = require(languages_module).getByCanonicalName(items.language_name, true,
items.allow_etym_lang)
items.language_code = items.language_object:getCode()
items.is_etym_lang = items.language_object:hasType("etymology-only")
if items.is_etym_lang then
items.parent_language_object = items.language_object:getFull()
-- Reject weird cases where etymology language has no parent.
if not items.parent_language_object then
return nil
end
items.parent_language_code = items.parent_language_object:getCode()
items.parent_language_name = items.parent_language_object:getCanonicalName()
-- Reject weird cases where the parent language has the same name as the child etymology language. In
-- that case, we'll get an infinite parent-category loop. This actually happens, e.g. with Rudbari and
-- Bashkardi.
if items.parent_language_name == items.language_name then
return nil
end
else
end
end
if items.template_name then
items.template_sample_call = items.template_sample_call or "{{{{{template_name}}}|{{{language_code}}}}}"
items.full_text_about_the_template = "මෙම ඉල්ලීම කිරීම සඳහා, මෙම භාෂාව සඳහා, අදාළ ප්රවේශය තුළ මෙම කේතය භාවිතා කරන්න ([[Template:{{{template_name}}}]] සඳහා වන උපදෙස් පත්රිකාව වෙත ද අවධානය යොමු කරන්න):\n\n<pre>{{{template_sample_call}}}</pre>"
if items.template_example_output then
items.full_text_about_the_template = items.full_text_about_the_template .. " " .. items.template_example_output
else
items.template_actual_sample_call = items.template_actual_sample_call or items.template_sample_call
items.full_text_about_the_template = items.full_text_about_the_template .. "\nඑමගින් පහත දැක්වෙන නිවේදනය ප්රදර්ශනය වෙයි:\n\n{{{template_actual_sample_call}}}"
end
if items.additional_template_description then
items.full_text_about_the_template = items.full_text_about_the_template .. "\n\n" .. items.additional_template_description
end
else
items.full_text_about_the_template = items.additional_template_description
end
local parents, breadcrumb
if items.is_etym_lang then
parents = items.etym_parents
breadcrumb = expand_items_value("etym_breadcrumb") or items.language_name
else
parents = items.parents
breadcrumb = expand_items_value("breadcrumb")
end
if parents then
for _, parent in ipairs(parents) do
parent.name = expand_value("parent.name", parent.name)
parent.sort = {sort_base = expand_value("parent.sort", parent.sort), lang = "en"}
end
else
local umbrella_type = items.pagename:match("^Requests for (.+) by language$")
if umbrella_type then
breadcrumb = breadcrumb or umbrella_type
parents = {{name = "Request subcategories by language", sort = umbrella_type}}
if items.additional_umbrella_parents then
extend(parents, items.additional_umbrella_parents)
end
elseif not items.language_name then
error("Internal error: Don't know how to compute parents for non-language-specific category '" .. items.pagename .. "'")
else
local requests_concerning_breadcrumb = items.pagename:gsub(" " .. pattern_escape(items.language_name), "")
requests_concerning_breadcrumb =
requests_concerning_breadcrumb:gsub("^Requests for ", ""):gsub(" in entries$", ""):gsub(" for terms$", "")
local requests_concerning_parent =
{
name = "Requests concerning " .. items.language_name,
sort = {sort_base = requests_concerning_breadcrumb, lang = "en"}
}
if items.is_etym_lang then
local parent_lang_cat = items.pagename:gsub(pattern_escape(items.language_name), replacement_escape(items.parent_language_name))
parents = {
{name = parent_lang_cat, sort = {sort_base = items.language_name, lang = "en"}},
requests_concerning_parent
}
else
breadcrumb = breadcrumb or requests_concerning_breadcrumb
parents = {requests_concerning_parent}
if items.additional_parents then
extend(parents, items.additional_parents)
end
end
end
end
if not items.nolang and not items.is_etym_lang and items.umbrella ~= false then
table.insert(parents, {
name = expand_items_value("umbrella"),
sort = {sort_base = items.language_name, lang = "en"}
})
end
local additional = expand_items_value("full_text_about_the_template")
if items.pagename:find(" by language$") then
additional = "{{{umbrella_msg}}}" .. (additional and "\n\n" .. additional or "")
end
return {
description = expand_items_value("description") or items.pagename .. ".",
lang = items.parent_language_code or items.language_code,
additional = additional,
parents = parents,
-- If no breadcrumb= and not an etym-only language, it will default to the category name
breadcrumb = breadcrumb,
catfix = expand_items_value("catfix"),
toc_template = expand_items_value("toc_template"),
toc_template_full = expand_items_value("toc_template_full"),
hidden = not items.nolang and not items.not_hidden_category,
can_be_empty = true,
}
end
-- First look for a regular (usually language or script-specific) category.
for _, category in ipairs(requests_categories) do
local matchvals = {mw.ustring.match(data.category, category.regex)}
if #matchvals > 0 then
init_items()
for key, value in pairs(category) do
items[key] = value
end
for key, value in ipairs(matchvals) do
items["" .. key] = value
end
local catdata = convert_items_to_category_data(items)
if catdata then
return catdata
end
end
end
-- Now look for umbrella categories.
for _, category in ipairs(requests_categories) do
if data.category == category.umbrella then
init_items()
items.nolang = true
items.additional_umbrella_parents = category.additional_umbrella_parents
local catdata = convert_items_to_category_data(items)
if catdata then
return catdata
end
end
end
return nil
end)
table.insert(raw_handlers, function(data)
local langname = data.category:match("^යෙදුම්, (.+) පරිවර්තන සහිත$")
local lang = langname and require(languages_module).getByCanonicalName(langname, true, true)
if lang then
local langcode = lang:getCode()
local parents, breadcrumb_and_first_sort_key
if lang:hasType("etymology-only") then
parents = {
"යෙදුම්, " .. lang:getFullName() .. " පරිවර්තන සහිත",
{name = langname, sort = "පරිවර්තන"},
}
breadcrumb_and_first_sort_key = lang:getCanonicalName()
else
parents = {
{name = "ප්රවේශ නඩත්තුව", is_label = true, lang = langcode},
{
name = "භාෂාව අනුව යෙදුම්, පරිවර්තන සහිත",
sort = {sort_base = langname, lang = "en"}
},
}
breadcrumb_and_first_sort_key = "පරිවර්තන"
end
return {
description = "Entries that contain translations into " .. langname .. " which were added using one of the translation templates, such as {{tl|t|" .. langcode .. "|...}}, {{tl|t+|" .. langcode .. "|...}}, etc.",
parents = parents,
breadcrumb_and_first_sort_key = breadcrumb_and_first_sort_key,
catfix = false,
can_be_empty = true,
hidden = true,
}
end
end)
local recognized_taxtypes = require(table_module).listToSet {
"ambiguous",
"binomial",
"branch",
"clade",
"cladus",
"class",
"cohort",
"convariety",
"cultivar group",
"cultivar",
"division",
"empire",
"epifamily",
"epithet",
"family",
"form taxon",
"form",
"genus",
"grade",
"grandorder",
"group",
"hybrid",
"informal group",
"infraclass",
"infracohort",
"infrakingdom",
"infraorder",
"infraphylum",
"infraspecies",
"infratribe",
"kingdom",
"magnorder",
"megacohort",
"mirorder",
"morph",
"nothogenus",
"nothospecies",
"nothosubspecies",
"nothovariety",
"obsolete",
"oofamily",
"order",
"parvclass",
"parvorder",
"phylum",
"section",
"series",
"serovar",
"species group",
"species",
"stem",
"stirps",
"strain",
"subclass",
"subcohort",
"subdivision",
"subfamily",
"subgenus",
"subgroup",
"subinfraorder",
"subkingdom",
"suborder",
"subphylum",
"subsection",
"subseries",
"subspecies",
"subterclass",
"subtribe",
"superclass",
"supercohort",
"superfamily",
"supergroup",
"superorder",
"superphylum",
"supertribe",
"taxon",
"tribe",
"trinomial",
"undescribed species",
"unknown",
"unranked group",
"variety",
"virus complex",
}
table.insert(raw_handlers, function(data)
local taxtype = data.category:match("^Entries using missing taxonomic name %((.*)%)$")
if taxtype and recognized_taxtypes[taxtype] then
return {
description = "Entries that link to wikispecies because there is no corresponding Wiktionary entry for the taxonomic name in the template {{tl|taxlink}}.",
additional = "The missing name is one or more of those enclosed in {{tl|taxlink}}. The entries are sorted by the missing taxonomic name.",
parents = {{name = "Entries using missing taxonomic names", sort = {sort_base = taxtype, lang = "en"}}},
breadcrumb = taxtype,
hidden = true,
}
end
end)
return {LABELS = labels, RAW_CATEGORIES = raw_categories, RAW_HANDLERS = raw_handlers}
iasi3f7f8uogizz2x3rx32lg6cpkmtp
සැකිල්ල:විකිපීඩියා/documentation
10
9794
239417
201038
2026-11-23T04:13:24Z
Lee
19
ඉංග්රීසි ව්යාපෘතියේ නව කේතය
239417
wikitext
text/x-wiki
{{documentation subpage}}
{{shortcut|wp}}
{{uses lua|interproject}}
This template shows a right-floating sister-project box with a link to a Wikipedia page.
The template should be placed inside the section it refers to, immediately after the header. In the default case (a reference to the English Wikipedia) that is immediately following the <code>==English==</code> header. If there are also images, box templates such as this should appear first. Alternatively, consider linking to Wikipedia in the "Further reading" section using the inline template {{temp|pedia}}.<ref>Some editors prefer inline linking in all cases, but there is currently no consensus for one approach over the other. See, for example, [[Wiktionary:Beer_parlour/2017/June#Where_to_place_%7B%7Bwikipedia%7D%7D_templates?|this 2017 Beer Parlour discussion]]. As of Feb 2021, {{temp|wikipedia}} had about 225,000 mainspace transclusions compared to about 28,000 for inline {{temp|pedia}}.</ref>
==Parameters==
All parameters are optional.
; {{para|1}}
: Specifies the Wikipedia page(s) to link to, comma-separated (with no space following the comma). By default, this is the same as the name of the current Wiktionary page. More specifically:
:# If the language is other than English, prefix the page with the Wikimedia language code (see [[Wiktionary:Wikimedia language codes]]) of the Wikipedia version to link to. This is not necessarily the same as the Wiktionary-internal language code; it supports language codes that are not allowed on Wiktionary itself, such as {{cd|hr}} for Croatian, and occasionally different codes are used for the same language.
:# Separate multiple pages with a comma (with no space following). If a language code is specified for a given page, it becomes the default for the next page, so e.g. {{tl|wp|de:Laubach,Landkreis Gießen}} (or just {{tl|wp|de:,Landkreis Gießen}}, if used on the Wiktionary page [[Laubach]]) will link to two articles {{w|lang=de|Laubach}} and {{w|lang=de|Landkreis Gießen}} on the German Wikipedia. The default for the first specified page is English ({{cd|en:}}). If the Wikipedia page contains a literal comma not followed by a space, put brackets around the link. For example, to link to an article {{w|lang=it|1,2-dicloroetano}} on the Italian Wikipedia, use {{tl|wp|<nowiki>it:[[1,2-dicloroetano]]</nowiki>}}.
:# Use the syntax <code><nowiki>[[</nowiki><var>page</var>|<var>display-form</var><nowiki>]]</nowiki></code> to link to a page named <code><var>page</var></code> but display it as <code><var>display-form</var></code>. Language codes go outside the brackets; thus, use {{tl|<nowiki>yo:[[Bùrúndì|Bùrúńdì]]</nowiki>}} to link to the Yoruba Wikipedia article {{w|lang=yo|Bùrúndì}} while displaying it as {{cd|Bùrúńdì}} (note the difference between the article and the display form: the display form has an acute accent over the ''n'').
:# To link to a specific section of a given article, place the section name after a {{cd|#}}, e.g. {{tl|wp|Edward#People surnamed Edward}} to link to the section titled {{cd|People surnamed Edward}} on the page {{w|Edward}}.
:# A {{cd|+}} anywhere in a given Wikipedia link is replaced with the name of the current Wiktionary page. Thus, {{tl|wp|+#People surnamed +}} is equivalent to {{tl|wp|Edward#People surnamed Edward}} if used on the Wiktionary page [[Edward]], and {{tl|wp|<nowiki>[[+#Places in the United States|+ (places)]]</nowiki>}} is equivalent to {{tl|wp|<nowiki>[[English#Places in the United States|English (places)]]</nowiki>}} if used on the Wiktionary page [[English]]. The {{cd|+}} does not have to be a word by itself; e.g. on the page [[October]], {{tl|wp|+ing}} links to {{w|Octobering}}. To include a literal {{cd|+}} sign in a link, prefix it with a backslash, i.e. {{cd|\+}}.
:# The inline modifier {{cd|<dab>}} placed after an article name links to a disambiguation page. The inline modifier {{cd|<dab!>}} is similar but includes the text {{cd| (disambiguation)}} in the display form, while {{cd|<dab>}} does not. Thus, on the page [[GDP]], {{tl|wp|<dab>}} or {{tl|wp|+<dab>}} is equivalent to writing {{tl|wp|<nowiki>[[GDP (disambiguation)|GDP]]</nowiki>}}, and on the page [[pie]], {{tl|wp|<dab!>}} or {{tl|wp|+<dab!>}} is equivalent to writing {{tl|wp|<nowiki>[[pie (disambiguation)]]</nowiki>}}. The text will be localized for the target language with [[Module:interproject/data/disambiguation]]; missing languages default to English.
; {{para|cat}} or {{para|category}}
: Specifies the Wikipedia category or categories to link to. The syntax is identical to that used in {{para|1}}.
; {{para|portal}}
: Specifies the Wikipedia portal page(s) to link to. The syntax is identical to that used in {{para|1}}.
Currently, you cannot mix article links with category and/or portal links; to do this, use separate invocations of {{tl|wp}}.
==Examples==
{| class="wikitable"
! Wikicode
! Output
|-
| {{demo2c|<nowiki>{{wp|afterlife}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|[[Trunk (botany)|trunk]]}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|it:Roma}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|wrong<dab>}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|monarchy,kingdom (biology)}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|[[monarchy|tyranny]],[[kingdom (biology)|lionny]]}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|cat=colors}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|cat=colors,national colours}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|cat=es:[[colores|colors]],[[pintura|painting]]}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|portal=energy}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|Trial#Mistrials}}</nowiki>}}
|-
| {{demo2c|<nowiki>{{wp|zh:,yue:,lzh:,gan:,hak:súi,cdo:cūi,nan:chúi,wuu:|pagename=水}}</nowiki>}}
|}
==See also==
* {{temp|slim-wikipedia}} — visually slimmer version of this template
* {{temp|w}} — plain inline link
* {{temp|pedia}} — for citing pages
* {{temp|quote-wikipedia}} — for quoting pages
* {{temp|uw-notwikipedia}}
==Notes==
{{reflist}}
==TemplateData==
{{TemplateData header}}
<templatedata>
{
"params": {
"1": {
"label": "Article to link",
"example": "color",
"type": "line",
"description": "Article to link to on the Wikipedia",
"default": "{{subst:BASEPAGENAME}}",
"suggested": true
},
"2": {
"label": "Link label",
"description": "If provided, overrides the displayed form of the link",
"type": "line",
"example": "colors",
"deprecated": true
},
"lang": {
"label": "Language code",
"description": "Wikipedia language code for the Wikipedia language to link",
"example": "es",
"type": "line",
"default": "en",
"deprecated": true
},
"mul": {
"label": "Second article to link",
"description": "Provides a second article to link to",
"example": "painting",
"type": "line",
"deprecated": true
},
"mullabel": {
"label": "Second article label",
"description": "Overrides the displayed form of the second link.",
"example": "paintings",
"type": "line",
"deprecated": true
},
"cat": {
"aliases": [
"category"
],
"label": "Category to link",
"description": "Category to link on Wikipedia, instead of an article",
"example": "colors",
"type": "line"
},
"portal": {
"label": "Portal to link",
"description": "Portal to link on Wikipedia, instead of an article",
"example": "energy",
"type": "line"
},
"mulcat": {
"label": "Second category to link",
"description": "Second category to link on Wikipedia, replacing the second article link",
"type": "line",
"deprecated": true
},
"mulcatlabel": {
"label": "Second category label",
"description": "If provided, overrides the displayed form of the second category",
"type": "line",
"deprecated": true
},
"section": {
"label": "Section",
"description": "Section to link on Wikipedia",
"type": "string",
"deprecated": true
}
},
"description": "Links Wikipedia in a box that floats to the right",
"format": "{{_| _ = _}}\n",
"paramOrder": [
"1",
"cat",
"portal",
"2",
"lang",
"section",
"mul",
"mullabel",
"mulcat",
"mulcatlabel"
]
}
</templatedata>
<includeonly>
[[Category:Sidebar interwiki link templates]]
</includeonly>
04rjf994puhim5m1rho7pmmmqp0pam1
වින්කලය
0
13101
239415
237739
2026-11-23T04:05:28Z
Lee
19
239415
wikitext
text/x-wiki
{{see also|වික්ෂනරි:වින්කලය}}
== සිංහල ==
=== නිරුක්තිය ===
{{rfe|si}}
=== නාම පදය ===
{{si-noun}}
# [[පා පැදි]] [[අලුත්වැඩියා]] කරන [[ස්ථාන]]<ref>{{cite-web
|author=කුමාරි දිසානායක
|authorlink=
|title=දුප්පතාගේ හිතවතාට සරු කලදසාවක්
|url=https://archives1.silumina.lk/2022/06/11/විශේෂාංග/දුප්පතාගේ-හිතවතාට-සරු-කලදසාවක්
|archiveurl=https://web.archive.org/web/20231113165150/https://archives1.silumina.lk/2022/06/11/%E0%B7%80%E0%B7%92%E0%B7%81%E0%B7%9A%E0%B7%82%E0%B7%8F%E0%B6%82%E0%B6%9C/%E0%B6%AF%E0%B7%94%E0%B6%B4%E0%B7%8A%E0%B6%B4%E0%B6%AD%E0%B7%8F%E0%B6%9C%E0%B7%9A-%E0%B7%84%E0%B7%92%E0%B6%AD%E0%B7%80%E0%B6%AD%E0%B7%8F%E0%B6%A7-%E0%B7%83%E0%B6%BB%E0%B7%94-%E0%B6%9A%E0%B6%BD%E0%B6%AF%E0%B7%83%E0%B7%8F%E0%B7%80%E0%B6%9A%E0%B7%8A
|archivedate=1699894310
|work=සිළුමිණ ජාතික පුවත් පත
|publisher=ලංකාවේ එක්සත් ප්රවෘත්ති පත්ර සමාගම
|date=2023-09-23
|access-date=2023-09-29
|text=
}}</ref>
=== මූලාශ්ර ===
<references/>
kgkk04e4rx03ai88fzs3vvw8qsumuaw
වෙසක්
0
113665
239416
225975
2026-11-23T04:06:16Z
Lee
19
/* සිංහල */
239416
wikitext
text/x-wiki
== සිංහල ==
{{විකිපීඩියාව|[[වෙසක් (බහුරුත්හරණය)|වෙසක්]]}}
=== නිරුක්තිය 1 ===
{{etymon|id=වෙසක් මාසය|si|lbor|pi>වෙසාඛ>වෙසක් මාසය|tree=1}}
{{lbor|si|pi|වෙසාඛ}}.
===උච්චාරණය===
* {{IPA|si|/ˈʋesak/}}
=== නාම පදය 1 ===
{{si-noun}}
# {{l|si|වෙසක් මාසය}} නම් වන {{m|si|මාසය}}
# {{l|si|වෙසක් උත්සවය}} නම් වන {{m|si|උත්සවය}}
# {{l|si|වෙසක් පුර පසළොස්වක පෝය}} නම් වන {{m|si|පෝය}}
==== ආශ්රිත යෙදුම් ====
* {{list:lunar months/si}}
=== නිරුක්තිය 2 ===
{{rfe|si}}
===නාම පදය 2===
{{head|si|noun form}}
# {{l|si|වේශයක්}}
#:* සඳදස් කෝපරහේවා, ''විවිසු විවිසුව - 4'' [https://www.ahubudu.lk/assets/pdf/EDIYA_Veluma5_Kalaba12.pdf], 2509 වෙසක් - 1965 මැයි
#:*: ''බෝසත්හු වරෙකැ සූ?වාස්තු දෙසැ රජ වැ, සිටියාහු යැ. ඔවුන් කුලුණු ගුණය විමසනු කැමැති සක් දෙව් රජහු, උකුසු '''වෙසක්''' ගෙනැ තව ද දෙවියකු කොබෙයි '''වෙසක්''' ගන්වා ඌ ලුහුබඳවා ගතු. බිය පත් කොබෙයියා ලහියේ දිවැ අවුත් බෝසත් සරණ සෙවී. ''
n2zz80scq2xqndsqam529bunavbs8wp
Module:category tree/poscatboiler/data/lang-specific/jpx
828
136972
239396
238265
2026-11-22T15:59:16Z
Xqbot
3528
Fixing double redirect from [[Module:category tree/lang/jpx]] to [[Module:category tree/fam/jpx]]
239396
Scribunto
text/plain
return require [[Module:category tree/fam/jpx]]
plyyad33bq6xb7tys32dq8sjuh7h8eb
Module:category tree/topic cat/data/Sciences
828
137138
239397
220919
2026-11-22T15:59:21Z
Xqbot
3528
Fixing double redirect from [[Module:category tree/topic/Sciences]] to [[Module:category tree/topic/Science and technology]]
239397
Scribunto
text/plain
return require [[Module:category tree/topic/Science and technology]]
pzuu9gp2rt9gbbd4iib6w02a1fb92rd
Module:category tree/lang-specific/jpx
828
137216
239395
221075
2026-11-22T15:59:11Z
Xqbot
3528
Fixing double redirect from [[Module:category tree/lang/jpx]] to [[Module:category tree/fam/jpx]]
239395
Scribunto
text/plain
return require [[Module:category tree/fam/jpx]]
plyyad33bq6xb7tys32dq8sjuh7h8eb
ゴミ
0
143663
239400
234287
2026-11-23T03:58:13Z
Lee
19
239400
wikitext
text/x-wiki
{{also|コミ}}
== ජපන් ==
{{ja-kanjitab|alt=塵,芥}}
=== නිරුක්තිය ===
{{unc|ja}}. ''Nihon Kokugo Daijiten'' cites numerous theories from earlier dictionaries.<ref>{{R:Kokugo Dai Jiten}}</ref> These include:
* Shortened from {{lang|ja|チリゴミ}} (''chirigomi'' “dispersed in; scattered upon”); see {{ja-r|散る|ちる}}, {{ja-r|込む|こむ}}
* From {{lang|ja|コミ}} (''komi'' “flooding”), perhaps from waste dispersed in flood waters
* Shortened from {{lang|ja|コヅミ}} (''kozumi'' “stacks; that which accumulates”); see {{ja-r|積|つむ}}
* From {{lang|ja|クヅツミ(屑積)}} (''kuzutsumi'' “waste”); see {{ja-r|屑|くず}}
* From {{lang|ja|ゴ}} (''go''), a regionalism meaning “pine needles”
Other authors note that ''go'' is used for “leaves” as well as “pine needles” in various regions of Japan.<ref>{{cite-web|title=Gomi|titleurl=https://gogen-yurai.jp/gomi/|work=Gogen yurai jiten [Etymological dictionary]|access-date=2024-03-01}}</ref>
=== උච්චාරණය ===
{{ja-pron|ゴミ|acc=2}}
=== නාම පදය ===
{{ja-noun|ゴミ|ごみ}}
# [[කුණු]], [[trash]], [[rubbish]], [[garbage]]
#: {{syn|ja|あくた|塵芥|塵#Etymology 2|tr1=akuta|tr2=jinkai|tr3=chiri}}
#* {{quote-av|ja|year=1986|director=ja:宮崎駿 [Miyazaki Hayao]|title=ja:天空の城ラピュタ|trans-title={{w|Laputa: Castle in the Sky}}|role=ja:ムスカ [Musuka]}}
#*: {{ja-usex|見ろ!人が'''ゴミ'''のようだ!|みろ!ひと が '''ゴミ''' の よう だ!|Look! The people look just like '''garbage'''!}}
==== භාවිත සටහන් ====
In a survey conducted by the Agency of Cultural Affairs in 2019, respondents were asked whether they preferred writing {{lang|ja|ゴミを捨てる}} or {{lang|ja|ごみを捨てる}} (“throw out trash”). 73.0% of respondents said they preferred the spelling {{m|ja||ゴミ}} while 20.8% preferred {{m|ja||ごみ}}.<ref>{{cite-web|title={{lj|平成30年度「国語に関する世論調査」の結果の概要}}|work=Agency for Cultural Affairs|url=https://www.bunka.go.jp/tokei_hakusho_shuppan/tokeichosa/kokugo_yoronchosa/pdf/r1393038_02.pdf|access-date=2022-05-16}}</ref>
=== මූලාශ්ර ===
<references/>
4v22sodk9tbdb64gojpny2yue1db032
concessions
0
145932
239392
2026-06-07T21:50:50Z
en>~2026-17637-29
0
/* French */
239392
wikitext
text/x-wiki
==English==
===Noun===
{{head|en|noun form}}
# {{plural of|en|concession}}
# A [[concessions stand]]. {{rfex|en}} <!--might need own separate Noun header, depending on if it's "a concessions" singular-->
===Verb===
{{head|en|verb form}}
# {{infl of|en|concession||s-verb-form}}
==Catalan==
===Pronunciation===
* {{ca-IPA|ó}}
===Noun===
{{head|ca|noun form}}
# {{plural of|ca|concessió}}
==French==
===Pronunciation===
* {{fr-IPA}}
* {{audio|fr|LL-Q150 (fra)-Poslovitch-concessions.wav|a=<<France>> (<<Vosges>>)}}
===Noun===
{{head|fr|noun form|g=f}}
# {{plural of|fr|concession}}
6bwhn7x5doe3oiqipf3bwcenmzmy61s
239393
239392
2026-11-22T14:22:36Z
Lee
19
[[:en:concessions]] වෙතින් එක් සංශෝධනයක්
239392
wikitext
text/x-wiki
==English==
===Noun===
{{head|en|noun form}}
# {{plural of|en|concession}}
# A [[concessions stand]]. {{rfex|en}} <!--might need own separate Noun header, depending on if it's "a concessions" singular-->
===Verb===
{{head|en|verb form}}
# {{infl of|en|concession||s-verb-form}}
==Catalan==
===Pronunciation===
* {{ca-IPA|ó}}
===Noun===
{{head|ca|noun form}}
# {{plural of|ca|concessió}}
==French==
===Pronunciation===
* {{fr-IPA}}
* {{audio|fr|LL-Q150 (fra)-Poslovitch-concessions.wav|a=<<France>> (<<Vosges>>)}}
===Noun===
{{head|fr|noun form|g=f}}
# {{plural of|fr|concession}}
6bwhn7x5doe3oiqipf3bwcenmzmy61s
239394
239393
2026-11-22T14:23:03Z
Pinthura
2424
යොමු තොරතුරු පරිවර්තනය
239394
wikitext
text/x-wiki
== ඉංග්රීසි ==
=== නාම පදය ===
{{head|en|noun form}}
# {{plural of|en|concession}}
# A [[concessions stand]]. {{rfex|en}} <!--might need own separate Noun header, depending on if it's "a concessions" singular-->
=== ක්රියා පදය ===
{{head|en|verb form}}
# {{infl of|en|concession||s-verb-form}}
==Catalan==
=== උච්චාරණය ===
* {{ca-IPA|ó}}
=== නාම පදය ===
{{head|ca|noun form}}
# {{plural of|ca|concessió}}
== ප්රංශ ==
=== උච්චාරණය ===
* {{fr-IPA}}
* {{audio|fr|LL-Q150 (fra)-Poslovitch-concessions.wav|a=<<France>> (<<Vosges>>)}}
=== නාම පදය ===
{{head|fr|noun form|g=f}}
# {{plural of|fr|concession}}
tpwobixcb6vett1oqa31gz8jxyf7pr5
අක්කරපත්තුව
0
145933
239398
2026-11-22T16:56:40Z
WrdSrchSi
3305
Page created.
239398
wikitext
text/x-wiki
== සිංහල ==
=== නිරුක්තිය ===
{{rfe|si}}
=== සංඥා නාම පදය ===
{{si-proper noun}}
# {{rfdef|si}}
<!--
==== පරිවර්තන ====
{{trans-top|පරිවර්තන}}
* ඉංග්රීසි: {{t|en|<<ඉංග්රීසි වචනය>>}}
{{trans-bottom}}
=== අමතර අවධානයට ===
* {{l|si|<<ආශ්රිත පවතින වෙනත් වචන>>}}
-->
nux94z7u1xh09yjmo9wf0a63ueuyg8x
ලෝස් ඇන්ගිලීස්
0
145934
239399
2026-11-22T17:00:36Z
WrdSrchSi
3305
Page created.
239399
wikitext
text/x-wiki
== සිංහල ==
=== නිරුක්තිය ===
{{rfe|si}}
=== සංඥා නාම පදය ===
{{si-proper noun}}
# {{rfdef|si}}
<!--
==== පරිවර්තන ====
{{trans-top|පරිවර්තන}}
* ඉංග්රීසි: {{t|en|<<ඉංග්රීසි වචනය>>}}
{{trans-bottom}}
=== අමතර අවධානයට ===
* {{l|si|<<ආශ්රිත පවතින වෙනත් වචන>>}}
-->
nux94z7u1xh09yjmo9wf0a63ueuyg8x
සැකිල්ල:lj
10
145935
239401
2024-04-27T13:30:39Z
en>SurjectionBot
0
Protected "[[Template:lj]]": (bot) automatically protect highly visible templates/modules (reference score: 1069+ >= 1000) ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
239401
wikitext
text/x-wiki
#redirect [[Template:ruby/ja]]
h3y1hcrna4y21u4outrv2cyk43jwo9e
239402
239401
2026-11-23T03:58:48Z
Lee
19
[[:en:Template:lj]] වෙතින් එක් සංශෝධනයක්
239401
wikitext
text/x-wiki
#redirect [[Template:ruby/ja]]
h3y1hcrna4y21u4outrv2cyk43jwo9e
සැකිල්ල:ruby/ja
10
145936
239403
2024-04-27T13:53:54Z
en>SurjectionBot
0
Protected "[[Template:ruby/ja]]": (bot) automatically protect highly visible templates/modules (reference score: 1155+ >= 1000) ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
239403
wikitext
text/x-wiki
<includeonly>{{lang|ja|{{#invoke:ja-ruby/template|show_from_markup}}}}</includeonly><noinclude>{{documentation}}</noinclude>
4vwmo9iziq4ehe5snk2ha251m7kfqos
239404
239403
2026-11-23T03:59:00Z
Lee
19
[[:en:Template:ruby/ja]] වෙතින් එක් සංශෝධනයක්
239403
wikitext
text/x-wiki
<includeonly>{{lang|ja|{{#invoke:ja-ruby/template|show_from_markup}}}}</includeonly><noinclude>{{documentation}}</noinclude>
4vwmo9iziq4ehe5snk2ha251m7kfqos
සැකිල්ල:ruby
10
145937
239405
2024-04-27T13:53:53Z
en>SurjectionBot
0
Protected "[[Template:ruby]]": (bot) automatically protect highly visible templates/modules (reference score: 1938+ >= 1000) ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
239405
wikitext
text/x-wiki
<includeonly>{{#invoke:ja-ruby/template|show_from_markup}}</includeonly><noinclude>{{documentation}}</noinclude>
r8d9brovyq4kxixs0c91yzgywse7gv2
239406
239405
2026-11-23T03:59:23Z
Lee
19
[[:en:Template:ruby]] වෙතින් එක් සංශෝධනයක්
239405
wikitext
text/x-wiki
<includeonly>{{#invoke:ja-ruby/template|show_from_markup}}</includeonly><noinclude>{{documentation}}</noinclude>
r8d9brovyq4kxixs0c91yzgywse7gv2
සැකිල්ල:ruby/documentation
10
145938
239407
2026-02-02T03:17:56Z
en>Ookap
0
239407
wikitext
text/x-wiki
{{documentation subpage}}
This template generates [[w:ruby character|ruby character]]s from <code>[]()</code> markups (see below).
==Examples==
* <code><nowiki>{{ruby|ab[c](d)ef[g](h)ij}}</nowiki></code> → {{ruby|ab[c](d)ef[g](h)ij}}
* <code><nowiki>{{ruby|Ruby can contain [[[link]]s](click [[link|me]]!).}}</nowiki></code> → {{ruby|Ruby can contain [[[link]]s](click [[link|me]]!).}}
<includeonly>[[Category:Text format templates]]</includeonly>
liz64d288bztvfg349oy3xv17qe7jmo
239408
239407
2026-11-23T04:00:31Z
Lee
19
[[:en:Template:ruby/documentation]] වෙතින් එක් සංශෝධනයක්
239407
wikitext
text/x-wiki
{{documentation subpage}}
This template generates [[w:ruby character|ruby character]]s from <code>[]()</code> markups (see below).
==Examples==
* <code><nowiki>{{ruby|ab[c](d)ef[g](h)ij}}</nowiki></code> → {{ruby|ab[c](d)ef[g](h)ij}}
* <code><nowiki>{{ruby|Ruby can contain [[[link]]s](click [[link|me]]!).}}</nowiki></code> → {{ruby|Ruby can contain [[[link]]s](click [[link|me]]!).}}
<includeonly>[[Category:Text format templates]]</includeonly>
liz64d288bztvfg349oy3xv17qe7jmo
සැකිල්ල:ruby/ja-w2
10
145939
239409
2023-03-24T04:04:31Z
en>JoeyChen
0
documentation
239409
wikitext
text/x-wiki
{{#if:{{{2|}}}|{{lw|ja|{{{1}}}|{{ruby|{{{2}}}}}|sc=Jpan}}|{{lw|ja|{{{1}}}|sc=Jpan}}}}<noinclude>{{documentation}}</noinclude>
slvpsrxmvfve0ciat2g6l0q0uvdeymr
239410
239409
2026-11-23T04:00:38Z
Lee
19
[[:en:Template:ruby/ja-w2]] වෙතින් එක් සංශෝධනයක්
239409
wikitext
text/x-wiki
{{#if:{{{2|}}}|{{lw|ja|{{{1}}}|{{ruby|{{{2}}}}}|sc=Jpan}}|{{lw|ja|{{{1}}}|sc=Jpan}}}}<noinclude>{{documentation}}</noinclude>
slvpsrxmvfve0ciat2g6l0q0uvdeymr
සැකිල්ල:ruby/ja-w2/documentation
10
145940
239411
2023-03-24T04:07:49Z
en>JoeyChen
0
Created page with "{{documentation subpage}} {{shortcut|Template:jarw|Template:wj}} {{documentation needed}} <includeonly> [[Category:Japanese templates]] </includeonly>"
239411
wikitext
text/x-wiki
{{documentation subpage}}
{{shortcut|Template:jarw|Template:wj}}
{{documentation needed}}
<includeonly>
[[Category:Japanese templates]]
</includeonly>
0sszhcxjnsy7ehkr2gzaye1fqzs1ajz
239412
239411
2026-11-23T04:00:46Z
Lee
19
[[:en:Template:ruby/ja-w2/documentation]] වෙතින් එක් සංශෝධනයක්
239411
wikitext
text/x-wiki
{{documentation subpage}}
{{shortcut|Template:jarw|Template:wj}}
{{documentation needed}}
<includeonly>
[[Category:Japanese templates]]
</includeonly>
0sszhcxjnsy7ehkr2gzaye1fqzs1ajz
සැකිල්ල:ruby/ja/documentation
10
145941
239413
2023-03-28T04:00:17Z
en>Huhu9001
0
239413
wikitext
text/x-wiki
{{documentation subpage}}
{{shortcut|Template:jaru|Template:lj}}
[[Template:ruby]] wrapped in {{temp|lang|ja}}.
<includeonly>
[[Category:Japanese templates]]
</includeonly>
hp3heoxoujm7fg8bl81bmax4goesm0p
239414
239413
2026-11-23T04:00:53Z
Lee
19
[[:en:Template:ruby/ja/documentation]] වෙතින් එක් සංශෝධනයක්
239413
wikitext
text/x-wiki
{{documentation subpage}}
{{shortcut|Template:jaru|Template:lj}}
[[Template:ruby]] wrapped in {{temp|lang|ja}}.
<includeonly>
[[Category:Japanese templates]]
</includeonly>
hp3heoxoujm7fg8bl81bmax4goesm0p
ප්රවර්ගය:Sidebar interwiki link templates
14
145942
239418
2025-10-17T18:41:32Z
en>Juwan
0
Created page with "{{auto cat}}"
239418
wikitext
text/x-wiki
{{auto cat}}
eomzlm5v4j7ond1phrju7cnue91g5qx
239419
239418
2026-11-23T04:14:05Z
Lee
19
[[:en:Category:Sidebar_interwiki_link_templates]] වෙතින් එක් සංශෝධනයක්
239418
wikitext
text/x-wiki
{{auto cat}}
eomzlm5v4j7ond1phrju7cnue91g5qx