Module:Citation/CS1/Configuration: Difference between revisions

Jump to navigation Jump to search
ISSN error detection; Expand uncategorized namespaces; Reg/Sub required msg tweak; Trap coauthors without authors; Hide error messages;
(Subscription/Registration help; Via cat fix; identifier protocol relative urls; PMC identifier fix; iso639-1 support;)
(ISSN error detection; Expand uncategorized namespaces; Reg/Sub required msg tweak; Trap coauthors without authors; Hide error messages;)
Line 7:
Note: Namespace names should use underscores instead of spaces.
]]
citation_config.uncategorized_namespaces = { 'User', 'Talk', 'User_talk', 'Wikipedia_talk', 'File_talk', };
'Template_talk', 'Help_talk', 'Category_talk', 'Portal_talk', 'Book_talk', 'Education_Program_talk', 'Module_talk' };
 
--[[
Line 39 ⟶ 40:
['et al'] = 'et al.',
['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(subscription required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require a paid subscription." style="border-bottom:1px dotted;cursor:help">Helphelp</span>))</span>' ..
-- include category when 'via' parameter is not used in the citation
['subscription'] = '<span style="font-size:0.95em; font-size:90%; color:#555">(subscription required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require a paid subscription." style="border-bottom:1px dotted;cursor:help">Help</span>))</span>' ..
'[[Category:Pages containing links to subscription-only content]]',
 
['registration']='<span style="font-size:0.95em; font-size:90%; color:#555">(registration required (<span title="Sources are not required to be available online. Online sources do not have to be freely available. The site may require registration." style="border-bottom:1px dotted;cursor:help">Helphelp</span>))</span>' ..
'[[Category:Pages with login required references or sources]]',
['language'] = '(in $1)',
['via'] = " &ndash; via $1", -- Category removed because via shouldn't add a subscription
['event'] = 'Event occurs at',
['minutes'] = 'minutes in',
Line 212:
 
citation_config.error_conditions = {
accessdate_missing_url = {
message = '<code>&#124;accessdate=</code> requires <code>&#124;url=</code>',
anchor = 'accessdate_missing_url',
category = 'Pages using citations with accessdate and no URL',
hidden = falsetrue },
archive_missing_date = {
message = '<code>&#124;archiveurl=</code> requires <code>&#124;archivedate=</code>',
anchor = 'archive_missing_date',
category = 'Pages with archiveurl citation errors‎',
hidden = false },
archive_missing_url = {
message = '<code>&#124;archiveurl=</code> requires <code>&#124;url=</code>',
anchor = 'archive_missing_url',
category = 'Pages with archiveurl citation errors‎',
hidden = false },
bad_doi = {
message = 'Check <code>&#124;doi=</code> value',
anchor = 'bad_doi',
category = 'Pages with DOI errors',
hidden = false },
bad_isbn = {
message = 'Check <code>&#124;isbn=</code> value',
anchor = 'bad_isbn',
category = 'Pages with ISBN errors',
hidden = false },
bad_ol bad_issn = {
message = 'Check <code>&#124;olissn=</code> value',
anchor = 'bad_olbad_issn',
category = 'PagesCS1 witherrors: OL errorsISSN',
hidden = false },
bad_url bad_ol = {
message = 'Check <code>&#124;urlol=</code> schemevalue',
anchor = 'bad_urlbad_ol',
category = 'Pages with URLOL errors',
hidden = false },
bad_url = {
bare_url_missing_title = {
message = '$1Check missing<code>&#124;url=</code> titlescheme',
anchor = 'bare_url_missing_titlebad_url',
category = 'Pages with citations having bareURL URLs‎errors',
hidden = false },
bare_url_missing_title = {
citation_missing_title = {
message = 'Missing$1 ormissing empty <code>&#124;title=</code>',
anchor = 'citation_missing_titlebare_url_missing_title',
category = 'Pages with citations lackinghaving bare titles‎URLs‎',
hidden = false },
citation_missing_title = {
cite_web_url = {
message = 'Missing or empty <code>&#124;urltitle=</code>',
anchor = 'cite_web_urlcitation_missing_title',
category = 'Pages using webwith citations with nolacking URL‎titles‎',
hidden = false },
cite_web_url = {
empty_citation = {
message = '<code>&#124;format=</code>Missing or requiresempty <code>&#124;url=</code>',
message = 'Empty citation‎',
anchor = 'empty_citationcite_web_url',
category = 'Pages using web citations with emptyno citations‎URL‎',
hidden = falsetrue },
coauthors_missing_author = {
extra_pages = {
message = 'Extra <code>&#124;pagescoauthors=</code> orrequires <code>&#124;atauthor=</code>',
anchor = 'extra_pagescoauthors_missing_author',
category = 'Pages with citationsCS1 usingerrors: conflictingcoauthors pagewithout specifications‎author‎',
hidden = false },
empty_citation = {
format_missing_url = {
message = 'Empty citation‎',
message = '<code>&#124;format=</code> requires <code>&#124;url=</code>',
anchor = 'format_missing_urlempty_citation',
category = 'Pages using citations with format and noempty URL‎citations‎',
hidden = false },
extra_pages = {
implict_etal_author = {
message = 'Extra <code>&#124;displayauthorspages=</code> suggestedor <code>&#124;at=</code>',
anchor = 'displayauthorsextra_pages',
category = 'Pages usingwith citations with old-styleusing implicitconflicting etpage al.‎specifications‎',
hidden = false },
format_missing_url = {
implict_etal_editor = {
message = '<code>&#124;displayeditorsformat=</code> suggestedrequires <code>&#124;url=</code>',
anchor = 'displayeditorsformat_missing_url',
category = 'Pages using citations with old-styleformat implicitand etno al.‎URL‎',
hidden = falsetrue },
implict_etal_author = {
parameter_ignored = {
message = 'Unknown parameter <code>&#124;$1displayauthors=</code> ignoredsuggested',
anchor = 'parameter_ignoreddisplayauthors',
category = 'Pages withusing citations usingwith old-style implicit unsupportedet parametersal.‎',
hidden = falsetrue },
implict_etal_editor = {
parameter_ignored_suggest = {
message = 'Unknown parameter <code>&#124;$1=</code> ignored (<code>&#124;$2displayeditors=</code> suggested)',
anchor = 'parameter_ignored_suggestdisplayeditors',
category = 'Pages withusing citations usingwith old-style implicit unsupportedet parametersal.‎',
hidden = falsetrue },
parameter_ignored = {
redundant_parameters = {
message = 'MoreUnknown than one ofparameter <code>&#124;$1=</code> specifiedignored',
anchor = 'redundant_parametersparameter_ignored',
category = 'Pages with citations havingusing redundantunsupported parameters',
hidden = false },
parameter_ignored_suggest = {
text_ignored = {
message = 'TextUnknown "parameter <code>&#124;$1"=</code> ignored (<code>&#124;$2=</code> suggested)',
anchor = 'text_ignoredparameter_ignored_suggest',
category = 'Pages with citations using unnamedunsupported parameters',
hidden = false },
redundant_parameters = {
trans_missing_chapter = {
message = 'More than one of $1 specified',
message = '<code>&#124;trans-chapter=</code> requires <code>&#124;chapter=</code>',
anchor = 'trans_missing_chapterredundant_parameters',
category = 'Pages with citations using translated terms withouthaving theredundant originalparameters',
hidden = false },
text_ignored = {
trans_missing_title = {
message = 'Text "$1" ignored',
message = '<code>&#124;trans-title=</code> requires <code>&#124;title=</code>',
anchor = 'trans_missing_titletext_ignored',
category = 'Pages with citations using translated terms without theunnamed originalparameters',
hidden = false },
trans_missing_chapter = {
wikilink_in_url = {
message = '<code>&#124;trans-chapter=</code> requires <code>&#124;chapter=</code>',
message = 'Wikilink embedded in URL title',
anchor = 'wikilink_in_urltrans_missing_chapter',
category = 'Pages with citations havingusing wikilinkstranslated embeddedterms inwithout URLthe titlesoriginal',
hidden = false },
trans_missing_title = {
message = '<code>&#124;trans-title=</code> requires <code>&#124;title=</code>',
anchor = 'trans_missing_title',
category = 'Pages with citations using translated terms without the original',
hidden = false },
wikilink_in_url = {
message = 'Wikilink embedded in URL title',
anchor = 'wikilink_in_url',
category = 'Pages with citations having wikilinks embedded in URL titles',
hidden = false },
}
 
Line 377 ⟶ 387:
link = 'International Standard Serial Number',
label = 'ISSN',
mode = 'externalmanual',
prefix = '//www.worldcat.org/issn/',
COinS = 'rft.issn',
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu