Module:Site categorizer/config
From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
Documentation for this module may be created at Module:Site categorizer/config/doc
return {
namespaces = { 0, 2 }, -- temp
-- order is priority: with max = 1 the first matching type will win
-- board stays last so "image board", "message board" etc. resolve to their real type first
types = {
{ category = 'archive', aliases = { 'archive', 'archives', 'archival', 'archiver' } },
{ category = 'booru', aliases = { 'booru' } },
{ category = 'imageboard', aliases = { 'imageboard', 'image board' } },
{ category = 'wiki', aliases = { 'wiki' } },
{ category = 'forum', aliases = { 'forum', 'textboard', 'message board' } },
{ category = 'chat', aliases = { 'chat', 'messaging' } },
{ category = 'board', aliases = { 'board' } },
},
-- pages whose type resolves to one of these get no categories at all
skipTypes = {
['board'] = true,
},
dimensions = {
type = {
-- every type key except the skipped ones needs a name here
-- adding a type: add its name to Module:Soysphere site categorizer/config first
name = {
archive = 'Web archives',
booru = 'Boorus',
imageboard = 'Imageboards',
wiki = 'Wikis',
forum = 'Forums',
chat = 'Messaging platforms',
},
},
launched = {
name = 'Websites established in $1',
undated = 'Undated websites',
},
terminated = {
name = 'Websites terminated in $1',
},
},
maintenance = {
invalidOverride = 'Websites with invalid categorization overrides',
usingOverride = 'Websites using categorization overrides',
},
}