因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
require('strict')
local p = {}
local arg = mw.getCurrentFrame().args.config
local configfile = 'Module:Authority control/config' .. (arg and arg~='' and ('/' .. arg) or '')
local config = mw.loadData(configfile)
local title = mw.title.getCurrentTitle()
local namespace = title.namespace
local testcases = title.subpageText == config.i18n.testcases
local function needsAttention(sortkey)
return '[[' .. config.i18n.category .. ':' .. config.i18n.attentioncat .. '|' .. sortkey .. title.text .. ']]'
end
local function addCat(cat,sortkey)
if cat and cat ~= '' and (namespace == 0 or namespace == 14 or testcases) then
local redlinkcat = ''
if testcases == false then
local success, exists = pcall(function() return mw.title.new(cat, 14).exists end)
if success and not exists then
redlinkcat = needsAttention('N')
000
1:0
本页使用的模板:
- 模板:Authority control/related(查看源代码)
- 模板:Documentation subpage(查看源代码)
- 模板:Endflatlist(查看源代码)
- 模板:Flatlist(查看源代码)
- 模板:High-use(查看源代码)
- 模板:High-use(查看源代码)
- 模板:Hlist/styles.css(查看源代码)
- 模板:Lua(查看源代码)
- 模板:Lua sidebar/styles.css(查看源代码)
- 模板:Module other(查看源代码)
- 模板:Module rating(查看源代码)
- 模板:Ombox(查看源代码)
- 模板:Sandbox other(查看源代码)
- 模板:Sidebar(查看源代码)
- 模板:T(查看源代码)
- 模板:T/piece(查看源代码)
- 模块:Arguments(查看源代码)
- 模块:Authority control/doc(查看源代码)
- 模块:Effective protection level(查看源代码)
- 模块:High-use(查看源代码)
- 模块:List(查看源代码)
- 模块:Lua banner(查看源代码)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Message box/ombox.css(查看源代码)
- 模块:Navbar(查看源代码)
- 模块:Navbar/configuration(查看源代码)
- 模块:Navbar/styles.css(查看源代码)
- 模块:Sidebar(查看源代码)
- 模块:Sidebar/configuration(查看源代码)
- 模块:Sidebar/styles.css(查看源代码)
- 模块:String(查看源代码)
- 模块:TableTools(查看源代码)
- 模块:Transclusion count(查看源代码)
- 模块:Transclusion count/data/A(查看源代码)
- 模块:Yesno(查看源代码)