模組:Namespace pagename/data
外观
return {
NamespaceSuffixConfig = {
-- 抑制預設後綴「頁」的命名空間
SuppressDefaultSuffix = {
6, -- File
10, -- Template
126, -- MOS
710, -- TimedText
828 -- Module
},
-- 抑制檢測內容模型外的頁面類型的命名空間
-- 註:討論頁會自動過濾,無需列在這裡
SuppressPageType = {
-2, -- Media
0, -- (Article)
14, -- Category
100, -- Portal
118, -- Draft
126, -- MOS
710, -- TimedText
2600 -- Topic
},
-- 追加檢測文檔、沙盒、測試樣例的命名空間
AllowTemplateType = {2, 10, 828},
-- 追加檢測臨時頁面的命名空間
AllowTempType = {2, 4, 10, 118, 828}
},
-- 錯誤
Error = {
['pg-error'] = {
['en'] = 'Can\'t parse page name: %s.',
['zh-hans'] = '无法解析页面名称“%s”。',
['zh-hant'] = '無法解析頁面名稱「%s」。'
},
['ns-error'] = {
['en'] = 'Can\'t parse namespace: %s.',
['zh-hans'] = '无法解析名字空间“%s”。',
['zh-hant'] = '無法解析命名空間「%s」。'
}
},
-- 頁面類型 en的空白勿刪
Type = {
External = {
['en'] = 'Interlanguage link',
['zh-hans'] = '跨语言链接',
['zh-hant'] = '跨語言連結'
},
style = {
['en'] = ' styles',
['zh-hans'] = '样式',
['zh-hant'] = '樣式'
},
script = {
['en'] = ' scripts',
['zh-hans'] = '脚本',
['zh-hant'] = '工具'
},
JSON = {
['en'] = ' data',
['zh-hans'] = '数据',
['zh-hant'] = '數據',
['zh-tw'] = '資料'
},
redirect = {
['en'] = 'redirect',
['zh-hans'] = '重定向',
['zh-hant'] = '重新導向'
},
doc = {
['en'] = ' documentation',
['zh-hans'] = '文档',
['zh-hant'] = '文件'
},
sandbox = {
['en'] = ' sandbox',
['zh-hans'] = '沙盒',
['zh-hant'] = '沙盒'
},
testcases = {
['en'] = ' testcases',
['zh-hans'] = '测试样例',
['zh-hant'] = '測試樣例'
},
temp = {
['en'] = ' temporary page',
['zh-hans'] = '临时页',
['zh-hant'] = '臨時頁'
},
intro = {
['en'] = ' introductory page',
['zh-hans'] = '说明页',
['zh-hant'] = '說明頁'
},
editnotice = {
['en'] = 'editnotice',
['zh-hans'] = '编辑提示',
['zh-hant'] = '編輯提示'
},
mailnotice = {
['en'] = 'mailnotice',
['zh-hans'] = '电邮提示',
['zh-hant'] = '電郵提示'
},
shortcut = {
['en'] = 'Shortcut of %s',
['zh-hans'] = '%s快捷方式',
['zh-hant'] = '%s捷徑'
},
}
}