因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
-- 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_]*|[%s_]*.-$' )
beforePipe = beforePipe or submatch
if mw.ustring.match( beforePipe, '[%[%]<>{}%c\n]' ) then
return all
else
return ''
end
end
-- Preprocess the content if we aren't being called from #invoke,
000
1:0
本页使用的模板:
- 模板:High-use(查看源代码)
- 模板:Module other(查看源代码)
- 模板:Module rating(查看源代码)
- 模板:Ombox(查看源代码)
- 模板:Pre(查看源代码)
- 模板:Pre/styles.css(查看源代码)
- 模块:Arguments(查看源代码)
- 模块:Effective protection level(查看源代码)
- 模块:High-use(查看源代码)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Message box/ombox.css(查看源代码)
- 模块:Suppress categories(查看源代码)
- 模块:Suppress categories/doc(查看源代码)
- 模块:Transclusion count(查看源代码)
- 模块:Transclusion count/data/S(查看源代码)
- 模块:Yesno(查看源代码)