Modul:Citation/i18n: Unterschied zwischen den Versionen

K
78 Versionen von wikivoyage:Modul:Citation/i18n importiert
(editor types)
K (78 Versionen von wikivoyage:Modul:Citation/i18n importiert)
 
(25 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 5: Zeile 5:
suite  = 'Citation',
suite  = 'Citation',
sub    = 'i18n',
sub    = 'i18n',
serial = '2022-08-11'
serial = '2022-08-18'
}
}


Zeile 45: Zeile 45:
-- types = : reference types for which parameter is valid
-- types = : reference types for which parameter is valid
-- COinS = : COinS key
-- COinS = : COinS key
-- prefix = : hint before identifier
-- url = : identifier url formatter
-- doi = : doi equivalent
params = {
params = {
-- type, author and title
-- type, author and title
Zeile 52: Zeile 55:
titleAddition = { 'TitelErg' },
titleAddition = { 'TitelErg' },
scale        = { 'Maßstab', types = 'map' },
scale        = { 'Maßstab', types = 'map' },
url          = { 'Online', 'URL' },
url          = { 'Online', 'URL', COinS = 'url', url = '%s' },
access        = { 'Zugriff' },
access        = { 'Zugriff' },


Zeile 60: Zeile 63:
journal    = { 'Zeitschrift', 'Sammelwerk', types = 'journal', COinS = 'rft.jtitle' },
journal    = { 'Zeitschrift', 'Sammelwerk', types = 'journal', COinS = 'rft.jtitle' },
newspaper  = { 'Zeitung', 'Sammelwerk', types = 'newspaper', COinS = 'rft.jtitle' },
newspaper  = { 'Zeitung', 'Sammelwerk', types = 'newspaper', COinS = 'rft.jtitle' },
abbr        = { 'Abk', types = { 'bookitem', 'journal', 'newspaper' } },
abbr        = { 'Abk', types = { 'bookitem', 'journal', 'newspaper' }, COinS = 'rft.stitle' },
website    = { 'Website', 'Internet', 'Sammelwerk', types = { 'web', 'webnews' } },
website    = { 'Website', 'Internet', 'Sammelwerk', types = { 'web', 'webnews' } },
siteUrl    = { 'Site-URL', 'Website-URL', types = { 'bookitem', 'journal', 'newspaper', 'web', 'webnews' } },
siteUrl    = { 'Site-URL', 'Website-URL', types = { 'bookitem', 'journal', 'newspaper', 'web', 'webnews' },
                url = '%s' },


-- published
-- published
Zeile 75: Zeile 79:
issue      = { 'Nummer', types = { 'journal', 'newspaper' }, COinS = 'rft.issue' },
issue      = { 'Nummer', types = { 'journal', 'newspaper' }, COinS = 'rft.issue' },
chapter    = { 'Kapitel', types = 'book', COinS = 'rft.atitle' },
chapter    = { 'Kapitel', types = 'book', COinS = 'rft.atitle' },
chapterUrl  = { 'Kapitel-URL', types = 'book' },
pages      = { 'Seiten', types = { 'book', 'bookitem', 'journal', 'newspaper', 'web', 'webnews' }, COinS = 'rft.pages' },
pages      = { 'Seiten', types = { 'book', 'bookitem', 'journal', 'newspaper', 'web', 'webnews' }, COinS = 'rft.pages' },
columns    = { 'Spalten', types = { 'book', 'bookitem', 'journal', 'newspaper', 'web', 'webnews' } },
columns    = { 'Spalten', types = { 'book', 'bookitem', 'journal', 'newspaper', 'web', 'webnews' } },


-- key numbers
-- identifiers
isbn        = { 'ISBN', types = { 'book', 'bookitem', 'map', 'journal' }, COinS = 'rft.isbn' },
isbn        = { 'ISBN', 'isbn', types = { 'book', 'bookitem', 'map', 'journal' }, COinS = 'rft.isbn' },
issn        = { 'ISSN', COinS = 'rft.issn' },
issn        = { 'ISSN', 'issn', COinS = 'rft.issn',
eissn      = { 'EISSN', COinS = 'rft.eissn' },
                prefix = '[[w:Internationale Standardnummer für fortlaufende Sammelwerke|ISSN]] ',
                url = '//zdb-katalog.de/list.xhtml?t=iss%3D%22%s%22&key=cql' },
eissn      = { 'EISSN', 'eissn', COinS = 'rft.eissn' },
ignoreError = { 'ignoreError' },
ignoreError = { 'ignoreError' },


doi        = { 'DOI', COinS = 'info:doi' },
arxiv      = { 'arXiv', 'ARXIV', 'arxiv', 'eprint', types = { 'journal' }, COinS = 'info:arxiv',
jstor      = { 'JSTOR', types = { 'journal', 'newspaper' } },
                prefix = '[[w:arXiv|arXiv]]:',
pmid       = { 'PMID', types = { 'journal' }, COinS = 'info:pmid' },
                url = '//arxiv.org/abs/%s' },
dnb        = { 'DNB', types = { 'book', 'bookitem', 'map' } },
asin        = { 'ASIN', 'asin',
oclc        = { 'OCLC', types = { 'book', 'bookitem', 'map' }, COinS = 'info:oclcnum' },
                prefix = '[[w:Amazon Standard Identification Number|ASIN]] ',
                url = '//www.amazon.de/gp/product/%s' },
bibcode    = { 'BIBCODE', 'bibcode', COinS = 'info:bibcode',
                prefix = '[[w:Bibcode|Bibcode]]:',
                url = '//ui.adsabs.harvard.edu/abs/%s' },
dnb        = { 'DNB', 'dnb', types = { 'book', 'bookitem', 'map' },
                prefix = '[[w:Deutsche Nationalbibliothek|DNB]] ',
                url = '//d-nb.info/%s' },
doi        = { 'DOI', 'doi', COinS = 'info:doi',
                prefix = '[[w:Digital Object Identifier|doi]]:',
                url = '//doi.org/%s' },
hdl        = { 'HDL', 'hdl', COinS = 'info:hdl',
                prefix = '[[w:Handle-System|hdl]]:',
                url = '//hdl.handle.net/%s' },
jstor      = { 'JSTOR', 'jstor', types = { 'journal', 'newspaper' }, COinS = 'jstor',
                prefix = '[[w:JSTOR|JSTOR]] ',
                url = '//www.jstor.org/stable/%s',
                doi = '10.2307/%s' },
oclc       = { 'OCLC', 'oclc', types = { 'book', 'bookitem', 'map' }, COinS = 'info:oclcnum',
                prefix = '[[w:Online Computer Library Center|OCLC]] ',
                url = '//worldcat.org/oclc/%s' },
ol          = { 'OL', 'ol',
                prefix = '[[w:Open Library|OL]] ',
                url = '//openlibrary.org/%s' },
pmid        = { 'PMID', 'pmid', types = { 'journal' }, COinS = 'info:pmid',
                prefix = '[[w:PubMed|PubMed]] ',
                url = '//pubmed.ncbi.nlm.nih.gov/%s' },
urn        = { 'URN', 'urn', types = { 'book', 'map' },
                prefix = '[[w:Uniform Resource Name|urn]]:',
                url = '//nbn-resolving.org/urn:%s' },


-- archive
-- archive
Zeile 100: Zeile 136:


-- additional statesments
-- additional statesments
extent      = { 'Umfang', 'Seitenanzahl', types = { 'book', 'bookitem', 'map' } },
extent      = { 'Umfang', 'Seitenanzahl', types = { 'book', 'bookitem', 'map' }, COinS = 'rft.tpages' },
language    = { 'Sprache' },
language    = { 'Sprache' },
comment    = { 'Kommentar' },
comment    = { 'Kommentar' },
quote      = { 'Zitat' }
quote      = { 'Zitat' }
},
},
-- use following urls if args.url is not specified
additionalTitleUrls = { 'urn', 'doi', 'hdl', 'jstor' },


-- list of formatter strings
-- list of formatter strings
Zeile 160: Zeile 199:
-- newspaper
-- newspaper
nsVolume = 'Jg.&#x202F;<span class="voy-cite-volume">%s</span>',
nsVolume = 'Jg.&#x202F;<span class="voy-cite-volume">%s</span>',
-- database ids
dbDnb = '[[w:Deutsche Nationalbibliothek|DNB]] [//d-nb.info/%s %s]',
dbDoi = '[[w:Digital Object Identifier|doi]]:%s',
dbIssn = '[[w:Internationale Standardnummer für fortlaufende Sammelwerke|ISSN]] [//zdb-katalog.de/list.xhtml?t=iss%3D%22xx1xx%22&key=cql xx1xx]',
dbJstor = '[[w:JSTOR|JSTOR]] [//www.jstor.org/stable/%s %s]',
dbOclc = '[[w:Online Computer Library Center|OCLC]] [//worldcat.org/oclc/%s %s]',
dbPmid = '[[w:PubMed|PubMed]] [//pubmed.ncbi.nlm.nih.gov/%s %s]',


-- web
-- web
Zeile 198: Zeile 229:
noTitleUrl    = '<span class="error">Titel und URL fehlen</span>[[Category:Literatur: Titel und URL fehlen]]',
noTitleUrl    = '<span class="error">Titel und URL fehlen</span>[[Category:Literatur: Titel und URL fehlen]]',
noURL        = '<span class="error">Ungültige URL</span>[[Category:Literatur: ungültige URL]]',
noURL        = '<span class="error">Ungültige URL</span>[[Category:Literatur: ungültige URL]]',
unwantedURL  = '[[Category:Literatur: unerwünschte URL]]',
unknownParam  = '<span class="error">Ungültiger Parameter: %s</span>[[Category:Literatur: ungültige Parameter]]',
unknownParam  = '<span class="error">Ungültiger Parameter: %s</span>[[Category:Literatur: ungültige Parameter]]',
unknownParams = '<span class="error">Ungültige Parameter: %s</span>[[Category:Literatur: ungültige Parameter]]',
unknownParams = '<span class="error">Ungültige Parameter: %s</span>[[Category:Literatur: ungültige Parameter]]',
unknownTitle  = '[[Category:Literatur: fehlender Titel]]',
unknownTitle  = '[[Category:Literatur: fehlender Titel]]',
unknownPeriodical = '[[Category:Literatur: fehlender Titel eines Periodikums]]',
unknownPeriodical = '[[Category:Literatur: fehlender Titel eines Periodikums]]',
redundantParams = '[[Category:Literatur: redundante Parameter]]',
wrongChars    = '<span class="error">Ungültige Steuerzeichen</span>[[Category:Literatur: ungültige Steuerzeichen]]',
wrongChars    = '<span class="error">Ungültige Steuerzeichen</span>[[Category:Literatur: ungültige Steuerzeichen]]',
wrongDate    = '<span class="error">Ungültiges Datum</span>[[Category:Literatur: ungültiges Datum]]',
wrongDate    = '<span class="error">Ungültiges Datum</span>[[Category:Literatur: ungültiges Datum]]',
Zeile 207: Zeile 240:
wrongPages    = '<span class="error">Ungültige Seiten</span>[[Category:Literatur: ungültige Seiten]]',
wrongPages    = '<span class="error">Ungültige Seiten</span>[[Category:Literatur: ungültige Seiten]]',
wrongType    = '<span class="error">Ungültiger Typ</span>[[Category:Literatur: ungültiger Typ]]',
wrongType    = '<span class="error">Ungültiger Typ</span>[[Category:Literatur: ungültiger Typ]]',
wrongURN      = '[[Category:Literatur: ungültige URN-Prüfziffer]]',
wrongValue    = '<span class="error">Ungültiger Wert: %s</span>[[Category:Literatur: ungültiger Wert]]',
wrongValue    = '<span class="error">Ungültiger Wert: %s</span>[[Category:Literatur: ungültiger Wert]]',
wrongValues  = '<span class="error">Ungültige Werte: %s</span>[[Category:Literatur: ungültiger Wert]]',
wrongValues  = '<span class="error">Ungültige Werte: %s</span>[[Category:Literatur: ungültiger Wert]]',
Zeile 231: Zeile 265:
{ s = '%s+([.:,;!?/›»])', r = '&#x202F;%1' },
{ s = '%s+([.:,;!?/›»])', r = '&#x202F;%1' },
{ s = '([‹«])%s+', r = '%1&#x202F;' }
{ s = '([‹«])%s+', r = '%1&#x202F;' }
}
},
 
unwantedUrls = {
'doi.org/', 'hdl.handle.net/', 'jstor.org/', 'openlibrary.org/',
'arxiv.org/abs/', 'adsabs.harvard.edu/', 'worldcat.org/oclc',
'ncbi.nlm.nih.gov/pubmed/', 'urn:nbn:'
},
 
-- nbn-resolving.org resolving: ch, de, or propagation
-- https://wiki.dnb.de/display/URNSERVDOK/URN-Resolver+API
nbnResolving = { at = '_', ch = '_', cz = '_', de = '_', fi = '_', hu = '_',
it = '_', nl = '_', no = '_', se = '_'},
nbnCheckDigit = { at = '_', ch = '_', de = '_', fi = '_' }
}
}