Content deleted Content added
MusikBot II (talk | contribs) m Protected "Module:Cite/config": High-risk template or module: 13876 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
sync from sandbox; |
||
Line 6:
local settings_t = {
err_category = 'CS1 errors: cite module',
help = 'help', -- help link display text for error messages
help_text_link = 'Help:CS1 errors#module_cite', -- help text for error messages can be found on this page
unknown_name = 'unknown template name: $1', -- error message; $1 is lowercase value extracted from invoke function name
}
--[[--------------------------<
▲list of all known cs1|2 templates by their canonical names
▲key is lowercase canonical template name
]]
Line 64 ⟶ 57:
--[[--------------------------< C I T A T I O N _ C L A S S E S _ T >-----------------------------------------
|CitationClass= in the cs1|2 templates gets the lowercase template name except for these for which the canonical
template name has multiple words (and the oddity that is class="encyclopaedia" – really ought to fix that in
Module:Citation/CS1)
key is lowercase canonical template name
Line 70 ⟶ 65:
]]
local citation_classes_t = {
['av media'] = 'audio-visual',
['av media notes'] = 'AV-media-notes',
Line 84 ⟶ 79:
return {
citation_classes_t = citation_classes_t,▼
error_messages_t = error_messages_t,
known_templates_t = known_templates_t,▼
settings_t = settings_t,
▲ citation_classes_t = citation_classes_t,
▲ known_templates_t = known_templates_t,
}
|