Module:Thread archive/config
From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
Documentation for this module may be created at Module:Thread archive/config/doc
return {
services = {
['megalodon.jp'] = { kind = 'megalodon', label = 'Megalodon' },
['gyo.tc'] = { kind = 'megalodon', label = 'gyo.tc' },
['ghostarchive.org'] = { kind = 'opaque', label = 'Ghostarchive' },
['soyjak.st'] = { kind = 'origin', label = 'original' },
['archived.st'] = { kind = 'archivedst', label = 'archived.st' },
},
megalodonMirrors = { 'megalodon.jp', 'gyo.tc' },
archivedst = {
host = 'archived.st',
-- look into this, not the best solution
minThread = 18027593,
},
text = {
thread = '/%s/ thread No. %s',
post = ', post No. %s',
fallbackCaption = 'Archived thread',
},
errors = {
noUrl = 'Thread archive: no URL given.',
malformed = 'Thread archive: invalid URL %s.',
notThread = 'Thread archive: %s is not a thread URL.',
conflict = 'Thread archive: %s points to a different thread or post than the other URLs.',
},
categories = {
error = 'Thread archive errors',
unknownHost = 'Thread archive links to unknown sites',
},
trackNamespaces = {
[0] = true,
},
}