Modul:Pagetype/config: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Farras (bicara | kontrib)
.
 
Farras (bicara | kontrib)
kTidak ada ringkasan suntingan
Baris 14:
-- [[Module:Namespace detect]].
cfg.pagetypes = {
['main'] = 'articleartikel',
['user'] = 'userhalaman pagepengguna',
['project'] = 'projecthalaman pageproyek',
['wikipedia'] = 'projecthalaman pageproyek',
['wp'] = 'projecthalaman pageproyek',
['file'] = 'fileberkas',
['image'] = 'fileberkas',
['mediawiki'] = 'interfacehalaman pageantarmuka',
['template'] = 'templatetemplat',
['help'] = 'helphalaman pagebantuan',
['category'] = 'categorykategori',
['portal'] = 'portal',
['book'] = 'bookbuku',
['draft'] = 'draftdraf',
['education program'] = 'educationhalaman program pagependidikan',
['timedtext'] = 'halaman Timed Text page',
['module'] = 'modulemodul',
['topic'] = 'topictopik',
['talk'] = 'talkhalaman pagepembicaraan',
['special'] = 'specialhalaman pageistimewa',
['media'] = 'fileberkas'
}
 
Baris 40:
-- cfg.pagetypes by default.
cfg.defaultNamespaces = {
'mainutama',
'fileberkas',
'templatetemplat',
'categorykategori',
'modulemodul',
'bookbuku'
}
 
Baris 51:
-- cfg.pagetypes if cfg.defaultnsExtended is set.
cfg.extendedNamespaces = {
'mainutama',
'userpengguna',
'projectproyek',
'fileberkas',
'mediawiki',
'templatetemplat',
'categorykategori',
'helpbantuan',
'portal',
'modulemodul',
'bookbuku',
'draftdraf'
}
 
Baris 85:
-- pages. These should be lower-case.
cfg.dabAliases = {
'disambiguationdisambiguasi',
'disambig',
'disamb',
Baris 99:
-- This table holds the different possible aliases for N/A-class pages. These
-- should be lower-case.
cfg.naAliases = {'na', 'n/a', 'tidak ada'}
 
-- The default value for N/A-class pages.
cfg.naDefault = 'pagehalaman'
 
-- The parameter name to use for redirects.
cfg.redirect = 'redirectpengalihan'
 
-- The default value to use for redirects.
cfg.redirectDefault = 'redirectpengalihan'
 
-- The parameter name for undefined namespaces.
cfg.other = 'otherlainnya'
 
-- The value used if the module detects an undefined namespace.
cfg.otherDefault = 'pagehalaman'
 
--------------------------------------------------------------------------------