모듈:Pagetype/config
보이기
이 모듈의 자세한 설명은 en:Module:Pagetype/config/doc 항목을 참고하십시오.
--------------------------------------------------------------------------------
-- Module:Pagetype configuration data --
-- This page holds localisation and configuration data for Module:Pagetype. --
--------------------------------------------------------------------------------
local cfg = {} -- Don't edit this line.
--------------------------------------------------------------------------------
-- Start configuration data --
--------------------------------------------------------------------------------
-- This table holds the default page types for each namespace. Keys to this
-- table should be integers that can be used as keys to mw.site.namespaces.
cfg.pagetypes = {
[0] = '문서', -- Main
[2] = '사용자 문서', -- User (요청에 따라 수정됨)
[4] = '프로젝트 문서', -- Project (Wikipedia/WP)
[6] = '파일', -- File (Image/Media)
[8] = '인터페이스 문서', -- MediaWiki
[10] = '틀', -- Template
[12] = '도움말 문서', -- Help
[14] = '분류', -- Category
[100] = '포털', -- Portal
[108] = '책', -- Book
[118] = '초안 문서', -- Draft (요청에 따라 수정됨)
[446] = '교육 프로그램 문서', -- Education Program
[710] = 'Timed Text 문서', -- TimedText
[828] = '모듈', -- Module
[2600] = '주제', -- Topic
-- 문자열 키 중 필요한 것만 남김:
['special'] = '특수 문서',
['media'] = '파일',
}
-- This table holds the names of the namespaces to be looked up from
-- cfg.pagetypes by default.
cfg.defaultNamespaces = {
'main',
'file',
'template',
'category',
'module',
'book'
}
-- This table holds the names of the namespaces to be looked up from
-- cfg.pagetypes if cfg.defaultnsExtended is set.
cfg.extendedNamespaces = {
'main',
'user',
'project',
'file',
'mediawiki',
'template',
'category',
'help',
'portal',
'module',
'book',
'draft'
}
-- The parameter name to set which default namespace values to be looked up from
-- cfg.pagetypes.
cfg.defaultns = 'defaultns'
-- The value of cfg.defaultns to set all namespaces, including talk.
cfg.defaultnsAll = 'all'
-- The value of cfg.defaultns to set the namespaces listed in
-- cfg.extendedNamespaces
cfg.defaultnsExtended = 'extended'
-- The value of cfg.defaultns to set no default namespaces.
cfg.defaultnsNone = 'none'
-- The parameter name to use for disambiguation pages page.
cfg.dab = '동음이의'
-- This table holds the different possible aliases for disambiguation-class
-- pages. These should be lower-case.
cfg.dabAliases = {
'disambiguation',
'disambig',
'disamb',
'dab'
}
-- The default value for disambiguation pages.
cfg.dabDefault = '문서'
-- The parameter name to use for N/A-class page.
cfg.na = 'na'
-- This table holds the different possible aliases for N/A-class pages. These
-- should be lower-case.
cfg.naAliases = {'na', 'n/a'}
-- The default value for N/A-class pages.
cfg.naDefault = 'page'
-- The parameter name to use for redirects.
cfg.redirect = '넘겨주기'
-- The default value to use for redirects.
cfg.redirectDefault = '넘겨주기'
-- The parameter name for undefined namespaces.
cfg.other = '기타'
-- The value used if the module detects an undefined namespace.
cfg.otherDefault = '문서'
cfg.talkDefault = '문서'
--------------------------------------------------------------------------------
-- End configuration data --
--------------------------------------------------------------------------------
return cfg -- Don't edit this line