置顶公告:【置顶】关于临时开启评论区所有功能的公告(2022.10.22) | 【置顶】关于本站Widget恢复使用的公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Module:Category handler/blacklist

贴贴♀百科,万娘皆可贴的百科全书!转载请标注来源页面的网页链接,并声明引自贴贴百科。内容不可商用。
跳到导航 跳到搜索
Template-info.svg 模块文档  [创建] [刷新]
  1. -- This module contains the blacklist used by [[Module:Category handler]].
  2. -- Pages that match Lua patterns in this list will not be categorised unless
  3. -- categorisation is explicitly requested.
  4. return {
  5. '^Main Page$', -- don't categorise the main page.
  6. -- Don't categorise the following pages or their subpages.
  7. -- "%f[/\0]" matches if the next character is "/" or the end of the string.
  8. '^Wikipedia:Cascade%-protected items%f[/\0]',
  9. '^User:UBX%f[/\0]', -- The userbox "template" space.
  10. '^User talk:UBX%f[/\0]',
  11. -- Don't categorise subpages of these pages, but allow
  12. -- categorisation of the base page.
  13. '^Wikipedia:Template messages/.*$',
  14. '/[aA]rchive' -- Don't categorise archives.
  15. }