Module:category tree: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 63: | Line 63: | ||
return require("Module:message box").maintenance( | return require("Module:message box").maintenance( | ||
"red", | "red", | ||
"[[File:Codex icon | "[[File:Codex icon alert red.svg|40px|alt=alert]]", | ||
"This category is not defined in Contionary's category tree.", | "This category is not defined in Contionary's category tree.", | ||
text | text | ||
| Line 445: | Line 445: | ||
"Double-check the category name for typos. <br>" .. | "Double-check the category name for typos. <br>" .. | ||
"[[Special:Search/Category: " .. current_title.text:gsub("^.+:", ""):gsub(" ", "~2 ") .. '~2|Search existing categories]] to check if this category should be created under a different name (for example, "Fruits" instead of "Fruit"). <br>' .. | "[[Special:Search/Category: " .. current_title.text:gsub("^.+:", ""):gsub(" ", "~2 ") .. '~2|Search existing categories]] to check if this category should be created under a different name (for example, "Fruits" instead of "Fruit"). <br>' .. | ||
"To request the definition of a new category in Contionary's category tree, please contact the [[ | "To request the definition of a new category in Contionary's category tree, please contact the [[:Category:Administrator|admins]].")) | ||
-- Exit here, as all code beyond here relies on current not being nil | -- Exit here, as all code beyond here relies on current not being nil | ||