模組:Category tree/poscatboiler/data/modules


此數據子模塊定義了維基詞典分類結構的一部分。

關於poscatboiler系統的介紹以及如何添加或更改分類,請參見Module:category tree/poscatboiler/data/documentation


local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------


labels["模塊"] = {
	description = "{{{langname}}}的[[模塊]]/[[模組]],包含可重用的Lua脚本,便於建立和管理詞條。",
	umbrella = {
		parents = {{name = "模塊", sort = " "}},
		breadcrumb = "各語言",
	},
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["資料模塊"] = {
	description = "{{{langname}}} [[Wiktionary:Modules|modules]] containing data used by other modules.",
	umbrella = {
		parents = {{name = "資料模塊", sort = " "}},
		breadcrumb = "各語言",
	},
	parents = {"模塊"},
}



-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories["模塊"] = {
	description = "This is a general holder category for modules.",
	additional = "For more information on what modules are and how they work, see [[Wiktionary:Scribunto]]. For a complete list of all modules, see [[Special:PrefixIndex/Module:|here]].",
	parents = {"Category:維基詞典"},
}

raw_categories["未分類模塊"] = {
	description = "Uncategorized modules.",
	additional = "Modules are placed here by [[MediaWiki:Scribunto-doc-page-does-not-exist]]. The default documentation page, [[Template:documentation/preloadModule]], also adds this category.",
	parents = { {name = "模塊", sort = " "} },
}

raw_categories["模塊單元測試"] = {
	description = "模塊的單元測試。",
	parents = { {name = "模塊", sort = "1測試模塊"} },
}

raw_categories["附錄模塊"] = {
	description = "Modules with functions that generate content for or extract information from pages in the Appendix namespace.",
	parents = { "模塊" },
}

raw_categories["Bot support modules"] = {
	description = "Modules for supporting individual bot accounts.",
	parents = { "模塊" },
}

raw_categories["分類模塊"] = {
	intro = "{{also|:Category:Category templates}}",
	description = "Modules for adding categories to pages or generating the description and subcategories of category pages.",
	parents = { "模塊" },
}

raw_categories["資料模塊"] = {
	description = "Modules that do not contain functions, but only export a table of data that is used by other modules. Modules that are in this category should be imported using <code>mw.loadData</code> rather than <code>require</code>.",
	parents = { "模塊" },
}

raw_categories["Character insertion data modules"] = {
	description = "Modules containing data for use by {{temp|chars}}.",
	parents = { "資料模塊" },
	breadcrumb = "character insertion",
}

raw_categories["Debugging modules"] = {
	description = "Modules used for debugging.",
	additional = "Some should only be used in sandbox modules or when using the [[mw:Extension:TemplateSandbox|{{MediaWiki:Templatesandbox-editform-legend}}]] button in the edit page of modules and templates.",
	parents = { "Lua metamodules", "Modules" },
}

raw_categories["定義模塊"] = {
	description = "Modules that fuel templates that are used in [[Wiktionary:Glossary#definition line|definition lines]] of entries.",
	parents = { "模塊" },
}

raw_categories["棄用模塊"] = {
	description = "Modules that should not be used, as their functions are performed by newer modules.",
	parents = { "模塊", "Category:Wiktionary maintenance" },
}

raw_categories["討論模塊"] = {
	description = "Modules concerning discussion pages.",
	parents = { "模塊" },
}

raw_categories["文檔模塊"] = {
	description = "Modules for generating documentation pages.",
	parents = { "模塊" },
}

raw_categories["Entry-generating modules"] = {
	description = "Modules with functions that are used to generate new entries.",
	parents = { "模塊" },
}

raw_categories["詞源模塊"] = {
	description = "Modules that fuel templates that define the etymology of entries.",
	parents = { "模塊" },
}

raw_categories["之形式模塊"] = {
	description = "Modules that generate the definition line of non-lemma forms, e.g. verb forms and noun forms.",
	parents = { "定義模塊", "模塊" },
}

raw_categories["通用模塊"] = {
	description = "Modules that serve some sort of utility purpose in various entries but are used by multiple languages. Modules only used by one language should be at [[:Category:Utility modules]].",
	parents = { "模塊" },
}

raw_categories["標題行模塊"] = {
	description = "Modules that support [[:Category:Headword-line templates by language|headword-line templates]] for a specific language.",
	additional = "See also [[:Category:Headword-line templates]].",
	parents = { "模塊" },
}

raw_categories["屈折模塊"] = {
	description = "用於支援特定語言的[[:Category:變格表模板|屈折模板]]的模塊。",
	parents = { "模塊" },
}

labels["測試用例模塊"] = {
	description = "{{{langname}}} [[testcase]] [[Wiktionary:Modules|modules]], which contain Lua code for testing other modules.",
	umbrella = {
		parents = {{name = "Testcase modules", sort = " "}},
		breadcrumb = "各語言",
	},
	breadcrumb = "測試用例",
	parents = {"模塊"},
}

raw_categories["內鏈模塊"] = {
	description = "Modules that are used in [[:Category:Internal link templates|internal link templates]].",
	parents = { "通用模塊", "模塊" },
}

raw_categories["JSON-generating modules"] = {
	description = "Modules with functions that generate data in JSON format.",
	parents = { "模塊" },
}

raw_categories["語言和文字模塊"] = {
	description = "Modules that process language and script codes and return data on them.",
	parents = { "模塊" },
}

raw_categories["列表模塊"] = {
	description = "Modules that generate lists and tables of entries.",
	parents = { "模塊" },
}

raw_categories["Lua元模塊"] = {
	description = "Modules that have exported functions that are only used by other modules: that is, cannot be called using {{temp|#invoke:}}.",
	parents = { "模塊" },
}

raw_categories["維護模塊"] = {
	description = "Modules that fuel templates used for maintaining entries, such as cleanup templates (e.g. {{temp|attention}}), deletion templates (e.g. {{temp|rfd}}) and verification templates (e.g. {{temp|rfv}}).",
	parents = { "模塊" },
}

raw_categories["發音模塊"] = {
	description = "Modules that fuel templates that are used to create the language-specific pronunciation of entries.",
	parents = { "模塊" },
}

raw_categories["引文和使用例模塊"] = {
	description = "Modules that fuel templates that are used to format quotations and usage examples.",
	parents = { "Definition modules", "Modules" },
	breadcrumb = "quotation and usage example",
}

raw_categories["參考模塊"] = {
	description = "Modules that are used for [[:Category:Reference templates|reference templates]].",
	parents = { "模塊" },
}

raw_categories["沙盒模塊"] = {
	description = "Test versions of modules intended for production use.",
	parents = { "模塊" },
}

raw_categories["Sortkey-generating modules"] = {
	description = "Modules that are used to generate sortkeys.",
	additional = "Sortkeys determine the order of entry names in categories.",
	parents = { "模塊" },
}

raw_categories["斯氏核心詞模塊"] = {
	description = "收錄[[w:斯瓦迪士核心詞列表|斯氏核心詞]]的模塊。",
	parents = { "模塊" },
}

raw_categories["模板介面模塊"] = {
	description = "Modules whose purpose is to provide an interface between templates and the functions of a module.",
	additional = "They are usually named <code>.../templates</code>, and the functions present within them usually all have only a \"frame\" parameter.",
	parents = { "模塊" },
}

raw_categories["追蹤模塊"] = {
	description = "Modules that add tracking templates.",
	parents = { "模塊" },
}

raw_categories["轉寫模塊"] = {
	description = "Modules that automatically convert text in one script to another.",
	additional = "Most of them convert non-Latin scripts to Latin (romanisation/romanization), and are used by " ..
	"templates or modules to generate transliteration of text that is tagged with a particular language. Each " ..
	"language's transliteration module is specified in its data table (for which, see the category {{catlink|Language data modules}}).",
	parents = { "模塊" },
}

raw_categories["轉寫測試用例模塊"] = {
	description = "Modules used to test other transliteration modules.",
	parents = { "測試用例模塊", {name = "轉寫模塊", sort = "Testcase"} },
}

raw_categories["Unused modules"] = {
	description = "Unused modules.",
	parents = { "模塊" },
}

raw_categories["User sandbox modules"] = {
	description = "Modules that are for personal use and testing by individual editors.",
	additional = "These should all begin with <code>User:</code> followed by the user's name. If several sandbox modules are needed by a single user, subpages can be created. These modules should not be used in real Wiktionary content pages, as all content on those pages should be editable by anyone and, if necessary, edit protected.",
	parents = { "沙盒模塊", "模塊" },
}

raw_categories["Utility modules"] = {
	description = "Modules that deal with several utilities needed by a certain language.",
	additional = "Usually their names end with -utilities or -common (preceded by the language code), although more specific utility modules that one language uses may reside here as well. If a utility is used by many languages, it should be in [[:Category:General utility modules]].",
	parents = { "模塊" },
}

raw_categories["投票模塊"] = {
	description = "Modules used to manage Wiktionary votes.",
	parents = { "模塊" },
}

raw_categories["Wikitext parsing modules"] = {
	description = "Modules that contain functions that grab the wikitext of a page and get information from it by performing string operations on it.",
	parents = { "模塊" },
}

return {LABELS = labels, RAW_CATEGORIES = raw_categories}