Module:User:AnomieBOT/LanguageCategoryCreator/doc
![]() | This is a documentation subpage for Module:User:AnomieBOT/LanguageCategoryCreator. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | This module depends on the following other modules: |
This module is used by AnomieBOT's LanguageCategoryCreator task as on-wiki configuration of categories to create and the wikitext for those categories, and to validate categories before creating them based on other module data.
It likely has no on-wiki transclusions, since the bot uses it via the action API action=parse
.
Usage
{{#invoke:User:AnomieBOT/LanguageCategoryCreator|list_cat_likes}}
Returns SQL LIKE
patterns for categories that may need creating, one per line.
{{#invoke:User:AnomieBOT/LanguageCategoryCreator|generate_cat_wikitext|cat=title}}
Returns the wikitext to use when creating the named category. title is the category name, without the Category:
prefix, using spaces rather than underscores. If the category is invalid, returns an error message prefixed with ERROR:
.