Module:Pagetype/config: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
imported>Lingam "-------------------------------------------------------------------------------- -- Module:Pagetype configuration data -- -- This page holds localisation and configuration data for Module:Pagetype. -- -------------------------------------------------------------------------------- local cfg = {} -- Don't edit this line...."-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது |
imported>Ravidreams சி en:Module:Pagetype/config இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன |
||
| (பயனரால் செய்யப்பட்ட ஒரு இடைப்பட்ட திருத்தம் காட்டப்படவில்லை.) | |||
வரிசை 10:
--------------------------------------------------------------------------------
-- This table holds the
--
cfg.pagetypes = {
[0] = 'article', -- Main namespace
[
[
[6] = 'file',▼
[8] = 'interface page', -- MediaWiki namespace
[
[
[
[100] = 'portal',▼
[
[710] = 'Timed Text page',
[828] = 'module',▼
[
[
[
[-2] = 'file', -- Media namespace
}
-- This table holds
--
cfg.defaultNamespaces = {
[0] = true, -- main
'main',▼
[6] = true, -- file
▲ 'file',
[10] = true, -- template
[14] = true, -- category
}
-- This table holds
--
cfg.extendedNamespaces = {
[0] = true, -- main
[2] = true, -- user
[4] = true, -- project
[6] = true, -- file
[8] = true, -- mediawiki
[10] = true, -- template
[12] = true, -- help
[14] = true, -- category
[100] = true, -- portal
▲ 'portal',
[118] = true, -- draft
▲ 'module',
[828] = true, -- module
}
-- This table holds custom aliases for each namespace.
cfg.customNamespaceAliases = {
▲ [0] = {'main'},
}
வரி 76 ⟶ 75:
-- The value of cfg.defaultns to set no default namespaces.
cfg.defaultnsNone = 'none'
-- The parameter name to use for talk pages.
cfg.talk = 'talk'
-- The default value for talk pages.
cfg.talkDefault = 'talk page'
-- The parameter name to use for disambiguation pages page.
cfg.dab = 'dab'
-- The parameter name to use for non-existent pages.
cfg.ne = 'nonexistent'
cfg.neDefault = 'page'
cfg.softRedirect = 'soft_redirect'
cfg.softRedirectDefault = 'redirect'
cfg.sia = 'sia'
cfg.siaDefault = 'article'
cfg.rfd = 'redirect'
cfg.rfdDefault = 'redirect'
-- This table holds the different possible aliases for disambiguation-class
-- pages. These should be lower-case.
cfg.dabAliases = {
['disambiguation'] = true,
['disambig'] = true,
['disamb'] = true,
['dab'] = true,
}
-- The default value for disambiguation pages.
cfg.dabDefault = '
-- The parameter name to use for N/A-class page.
வரி 97 ⟶ 115:
-- This table holds the different possible aliases for N/A-class pages. These
-- should be lower-case.
cfg.naAliases = {
['na'] = true,
['n/a'] = true,
}
-- The default value for N/A-class pages.
cfg.naDefault = '
-- 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 = '
-- The usual suffix denoting a plural.
cfg.plural = '
-- This table holds plurals not formed by a simple suffix.
cfg.irregularPlurals = {
["category"] = "categories"
}
| |||