切换搜索
搜索
切换菜单
notifications
切换个人菜单
模块:Suppress categories:修订历史
帮助
来自决策链云智库
更多操作
查看该页面的日志
(
查看滥用日志
)
筛选修订版本
展开
折叠
截止日期:
标签
过滤器:
wikieditor(隐藏的标签)
可视化编辑
可视化编辑:已切换
已更改重定向目标
已被回退
手工回退
撤销
新重定向
替换
清空
移除重定向
显示版本
差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:
(当前)
=与最后版本之间的差异,
(之前)
=与上一版本之间的差异,
小
=小编辑。
2024年1月16日 (星期二)
当前
之前
18:56
2024年1月16日 (二) 18:56
Zeroclanzhang
讨论
贡献
1,670字节
+1,670
创建页面,内容为“-- This is a simple module to strip categories from wikitext. It does -- not support nested links or magic words like __TOC__, etc. Even so, -- it should still handle most categories. local p = {} -- Detects if a category link is valid or not. If it is valid, -- the function returns the blank string. If not, the input -- is returned with no changes. local function processCategory( all, submatch ) local beforePipe = mw.ustring.match( submatch, '^(.-)[%s_]*…”