پودمان:Citation/CS1/en/Suggestions: تفاوت میان نسخهها
پرش به ناوبری
پرش به جستجو
بروزرسانی
جز (۱ نسخه واردشده) |
ویکی حقوق>Mojtabakd (بروزرسانی) |
||
خط ۱: | خط ۱: | ||
--Please insert new suggestions in alphabetical order | -- Please insert new suggestions in alphabetical order | ||
--The form is ['incorrect'] = 'correct', | -- The form is ['incorrect'] = 'correct', | ||
suggestions = { | suggestions = { | ||
[' | ['ASIN-TLD'] = 'asin-tld', -- old parameter name | ||
['accesso'] = 'access-date', -- | ['abruf'] = 'access-date', -- German | ||
['accessyear'] = 'access-date', | ['abruf-verborgen'] = 'access-date', -- German | ||
['accessmonth'] = 'access-date', | |||
['accesso'] = 'access-date', -- Italian | |||
['accessyear'] = 'access-date', | |||
['acessodata'] = 'access-date', -- Brazilian Portuguese | |||
['ad'] = 'first', -- Turkish | |||
['address'] = 'location', | ['address'] = 'location', | ||
[' | ['anno'] = 'date', -- Italian | ||
[' | ['annoaccesso'] = 'access-date', -- Italian | ||
[' | ['annodiaccesso'] = 'access-date', -- Italian | ||
[' | ['annooriginale'] = 'orig-date', -- Italian | ||
[' | ['année'] = 'date', -- French | ||
[' | ['apellido'] = 'last', -- Spanish | ||
[' | ['apellidos'] = 'last', -- Spanish | ||
['archiv-datum'] = 'archive-date', -- German | ['archiv-datum'] = 'archive-date', -- German | ||
['archiv-url'] = 'archive-url', -- German | |||
['archive date'] = 'archive-date', | ['archive date'] = 'archive-date', | ||
[' | ['archive url'] = 'archive-url', -- Spanish | ||
['archive | ['archive-link'] = 'archive-url', | ||
['artikelnr'] = 'id', -- German (as 'id=Article No. ...') | |||
['artist'] = 'others', | ['artist'] = 'others', | ||
['auflage'] = 'edition', -- German | ['arşiv-tarihi'] = 'archive-date', -- Turkish | ||
['auteur'] = 'author', -- French | ['arşiv-url'] = 'archive-url', -- Turkish | ||
['arşivtarihi'] = 'archive-date', -- Turkish | |||
['arşivurl'] = 'archive-url', -- Turkish | |||
['auflage'] = 'edition', -- German | |||
['auteur'] = 'author', -- French | |||
['auther'] = 'author', | ['auther'] = 'author', | ||
['author link'] = 'author-link', -- Polish | ['author link'] = 'author-link', -- Polish | ||
['author | ['authorfirst'] = 'author-first', -- old parameter name | ||
['autor'] = ' | ['authorgiven'] = 'author-given', -- old parameter name | ||
['autore'] = 'author', -- Italian | ['authorlast'] = 'author-last', -- old parameter name | ||
['authormask'] = 'author-mask', -- old parameter name | |||
['authorsurname'] = 'author-surname', -- old parameter name | |||
['autor'] = 'author', -- Spanish, German (singular and plural) | |||
['autore'] = 'author', -- Italian | |||
['autthor'] = 'author', | ['autthor'] = 'author', | ||
['band'] = 'volume', -- German | ['ay'] = 'month', -- Turkish | ||
['año'] = 'date', -- Spanish | |||
['año-original'] = 'orig-date', -- Spanish | |||
['añoacceso'] = 'access-date', -- Spanish | |||
['añooriginal'] = 'orig-date', -- Spanish | |||
['band'] = 'volume', -- German | |||
['bandreihe'] = 'volume', -- German | |||
['baskı'] = 'edition', -- Turkish | |||
['başlık'] = 'title', -- Turkish | |||
['began'] = 'date', -- old parameter name (cite serial only); or orig-date= | |||
['booktitle'] = 'book-title', -- old parameter name | |||
['ch'] = 'language', -- German (as 'language=de-CH') | |||
['chapter_title'] = 'chapter', | ['chapter_title'] = 'chapter', | ||
['cita'] = 'quote', -- Spanish | ['chapterurl'] = 'chapter-url', -- old parameter name | ||
['citazione'] = 'quote', -- Italian | ['cid'] = 'ref', -- Italian | ||
['cilt'] = 'volume', -- Turkish | |||
['cita'] = 'quote', -- Spanish | |||
['citazione'] = 'quote', -- Italian | |||
['città'] = 'location', -- Italian | |||
['city'] = 'location', -- old parameter name (cite serial only) | |||
['coauthor'] = 'author', | ['coauthor'] = 'author', | ||
['coauthors'] = 'author', | ['coauthors'] = 'author', | ||
['coautores'] = 'author', -- Spanish | ['coautores'] = 'author', -- Spanish | ||
['coautori'] = 'author', -- Italian | ['coautori'] = 'author', -- Italian | ||
['cognome'] = 'last', -- Italian | ['cognome'] = 'last', -- Italian | ||
['consulté le'] = 'access-date', -- French | ['conferenceurl'] = 'conference-url', -- old parameter name | ||
['czasopismo'] = 'journal', -- Polish | ['consulté le'] = 'access-date', -- French | ||
['data'] = 'date', -- Polish, Italian | ['contributionurl'] = 'contribution-url', -- old parameter name | ||
[' | ['curatore'] = 'publisher', -- Italian | ||
[' | ['czasopismo'] = 'journal', -- Polish | ||
['datum'] = 'date', -- German | ['data dostępu'] = 'access-date', -- Polish | ||
['deadlink'] = ' | ['data'] = 'date', -- Polish, Italian | ||
['dataaccesso'] = 'access-date', -- Italian | |||
['dataarchivio'] = 'archive-date', -- Italian | |||
['datum'] = 'date', -- German | |||
['dead-url'] = 'url-status', -- old parameter name | |||
['deadlink'] = 'url-status', | |||
['deadurl'] = 'url-status', -- old parameter name | |||
['dergi'] = 'work', -- Turkish | |||
['dil'] = 'language', -- Turkish | |||
['displayauthors'] = 'display-authors', -- old parameter name | |||
['displayeditors'] = 'display-editors', -- old parameter name | |||
['distributor'] = 'publisher', | ['distributor'] = 'publisher', | ||
['dnb'] = 'id', -- German (as 'id={{DNB-IDN|...}}') ( | ['dnb'] = 'id', -- German (as 'id={{DNB-IDN|...}}') | ||
[' | ['doi-broken'] = 'doi-broken-date', -- old parameter alias | ||
[' | ['doi-inactive'] = 'doi-broken-date', -- invalid name found in mainspace | ||
[' | ['doi-inactive-date'] = 'doi-broken-date', -- old parameter alias | ||
[' | ['doi_brokendate'] = 'doi-broken-date', -- old parameter alias | ||
['en ligne le'] = 'archive-date', -- French | ['doi_inactivedate'] = 'doi-inactive-date', -- old parameter alias | ||
['doibroken'] = 'doi-broken-date', -- invalid name found in mainspace | |||
['doiinactive'] = 'doi-broken-date', -- invalid name found in mainspace | |||
['e-print'] = 'eprint', -- misspelling | |||
-- ['ed'] = 'edition', -- avoid suggestion as in English this could be short for editor or edition | |||
-- ['editora'] = 'publisher', -- can be either editor or publisher | |||
-- ['editore'] = 'agency', -- can be either publisher or agency | |||
-- ['editori'] = 'editor', -- can be either editor or publisher | |||
-- ['editorial'] = 'publisher', -- can be either publisher or work | |||
['editoin'] = 'edition', -- misspelling | |||
['editon'] = 'edition', -- misspelling | |||
['editorfirst'] = 'editor-first', -- old parameter name | |||
['editorgiven'] = 'editor-given', -- old parameter name | |||
['editorlast'] = 'editor-last', -- old parameter name | |||
['editorlink'] = 'editor-link', -- old parameter name | |||
['editormask'] = 'editor-mask', -- old parameter name | |||
['editors'] = 'editor', -- old parameter name (can be emulated using multiple singular |editor= params) | |||
['editorsurname'] = 'editor-surname', -- old parameter name | |||
['edizione'] = 'edition', -- Italian | |||
['embargo'] = 'pmc-embargo-date', -- old parameter name | |||
['ended'] = 'date', -- old parameter name (cite serial only) | |||
['en ligne le'] = 'archive-date', -- French | |||
['encyclopædia'] = 'encyclopedia', | ['encyclopædia'] = 'encyclopedia', | ||
['enlaceautor'] = 'author-link', -- Spanish | ['enlaceautor'] = 'author-link', -- Spanish | ||
['fecha'] = 'date', -- Spanish | ['enlaceroto'] = 'url-status', -- Spanish | ||
['fechaacceso'] = 'access-date', -- Spanish | ['episodelink'] = 'episode-link', -- old parameter name | ||
['fechaarchivo'] = 'archive-date', -- Spanish | ['erişimtarihi'] = 'access-date', -- Turkish | ||
['eser'] = 'work', -- Turkish | |||
['family'] = 'surname', -- misguess | |||
['fecha'] = 'date', -- Spanish | |||
['fechaacceso'] = 'access-date', -- Spanish | |||
['fechaarchivo'] = 'archive-date', -- Spanish | |||
['filetype'] = 'format', | ['filetype'] = 'format', | ||
[' | ['foramt'] = 'format', -- misspelling | ||
[' | ['fore-name'] = 'given', -- misguess/misspelling | ||
['formato'] = 'format', -- Spanish, Italian, Polish | ['forename'] = 'given', -- misguess | ||
['frist'] = 'first', | ['formato'] = 'format', -- Spanish, Italian, Polish | ||
['herausgeber'] = ' | ['frist'] = 'first', -- misspelling | ||
['idioma'] = 'language', -- Spanish, | ['fundstelle'] = 'at', -- German | ||
['imię'] = 'first', -- Polish | ['gazete'] = 'work', -- Turkish | ||
[' | ['giornale'] = 'journal', -- Italian | ||
['isnb'] = 'isbn', | ['herausgeber'] = 'editor', -- German (singular and plural) | ||
[' | ['hrsg'] = 'publisher', -- German | ||
[' | ['hrsgreihe'] = 'editor', -- German | ||
['idioma'] = 'language', -- Spanish | |||
[' | ['ignore-isbn-error'] = 'isbn', -- old parameter (can be fully emulated using ((syntax))) | ||
['langauge'] = 'language', | ['ignoreisbnerror'] = 'isbn', -- old parameter alias (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax)) | ||
['langue'] = 'language', -- French | ['imię'] = 'first', -- Polish | ||
['last | ['in-set'] = 'inset', -- misspelling | ||
['lieu'] = 'location', -- French | ['interviewerlink'] = 'interviewer-link', -- old parameter alias | ||
['lingua'] = 'language', -- Italian | ['interviewermask'] = 'interviewer-mask', -- old parameter alias | ||
['lire en ligne'] = 'url', -- French | ['isbndefekt'] = 'isbn', -- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax)) | ||
['lizenznummer'] = 'id', -- German (as 'id=License ...') | ['isbnformalfalsch'] = 'isbn', -- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax)) | ||
['loaction'] = 'location', | ['isbnistformalfalsch'] = 'isbn', -- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax)) | ||
['locatoin'] = 'location', | ['isnb'] = 'isbn', -- misspelling | ||
['lugar'] = 'location', -- Spanish | ['issnformalfalsch'] = 'issn', -- German (can be fully emulated using ((syntax))) | ||
['miejsce'] = 'location', -- Polish | ['jahr'] = 'date', -- German | ||
['miesiąc'] = 'date', -- Polish | ['jahrea'] = 'orig-date', -- German (not a direct replacement, but can be emulated) | ||
['mois'] = 'date', -- French | ['kapitel'] = 'chapter', -- German | ||
['monat'] = 'date', -- German | ['langauge'] = 'language', -- misspelling | ||
-- ['name'] = 'author', -- 'name' is often erroneously used for 'title' and 'work' as well, so no suggestion is better than a wrong suggestion | ['langue'] = 'language', -- French | ||
['nazwisko'] = 'last', -- Polish | ['last-author-amp'] = 'name-list-style', -- old parameter name (as |name-list-style=amp) | ||
['nespaper'] = 'newspaper', | ['lastauthoramp'] = 'name-list-style', -- old parameter name (as |name-list-style=amp) | ||
['newpaper'] = 'newspaper', | ['lieu'] = 'location', -- French | ||
['lingua'] = 'language', -- Italian | |||
['lire en ligne'] = 'url', -- French | |||
['lizenznummer'] = 'id', -- German (as 'id=License No. ...') | |||
['loaction'] = 'location', -- misspelling | |||
['local'] = 'location', -- Brazilian Portuguese | |||
['locatoin'] = 'location', -- misspelling | |||
['lugar'] = 'location', -- Spanish | |||
['mailinglist'] = 'mailing-list', -- old parameter name | |||
['mapurl'] = 'map-url', -- old parameter name | |||
['mes'] = 'date', -- Spanish (not a direct replacement) | |||
['mese'] = 'date', -- Italian (not a direct replacement) | |||
['miejsce'] = 'location', -- Polish | |||
['miesiąc'] = 'date', -- Polish | |||
['mois'] = 'date', -- French | |||
['monat'] = 'date', -- German | |||
-- ['name'] = 'author', -- 'name' is often erroneously used for 'title' and 'work' as well, so no suggestion is better than a wrong suggestion | |||
['name-list-format'] = 'name-list-style', -- old parameter name (as |name-list-style=amp) | |||
['nazwisko'] = 'last', -- Polish | |||
['nespaper'] = 'newspaper', -- misspelling | |||
['net-work'] = 'network', -- misspelling | |||
['newpaper'] = 'newspaper', -- misspelling | |||
['news'] = 'newspaper', | ['news'] = 'newspaper', | ||
[' | ['news-group'] = 'newsgroup', -- misspelling | ||
[' | ['news-paper'] = 'newspaper', -- misspelling | ||
['nombre'] = 'first', -- Spanish | ['no-cat'] = 'no-tracking', -- old parameter | ||
['nome'] = 'first', -- Italian | ['nocat'] = 'no-tracking', -- old parameter | ||
['nummer'] = 'number', -- German | ['nom'] = 'last', -- French | ||
['obra'] = 'work', -- Spanish | ['nombre'] = 'first', -- Spanish | ||
['odpowiedzialność'] = 'agency', -- Polish | ['nome'] = 'first', -- Italian | ||
['offline'] = ' | ['nopp'] = 'no-pp', -- old parameter name | ||
['online'] = 'url', -- German (not a direct replacement, but can be emulated) | ['notracking'] = 'no-tracking', -- old parameter | ||
[' | ['numero'] = 'number', -- Italian, Spanish | ||
[' | ['nummer'] = 'number', -- German | ||
['origdate'] = 'orig- | ['nummerreihe'] = 'number', -- German | ||
['originaljahr'] = 'orig- | ['obra'] = 'work', -- Spanish | ||
['originalort'] = ' | ['odpowiedzialność'] = 'agency', -- Polish | ||
['originalsprache'] = 'language', -- German | ['offline'] = 'url-status', -- German (as 'url-status=dead') | ||
['originaltitel'] = 'title', -- German (if 'originaltitel' is specified, any possible contents of 'title' should be put in 'trans-title') | ['online'] = 'url', -- German (not a direct replacement, but can be emulated) | ||
['ort'] = ' | ['opera'] = 'work', -- Italian | ||
['opublikowany'] = 'agency', -- Polish | |||
['origdate'] = 'orig-date', -- misspelling | |||
['originaljahr'] = 'orig-date', -- German | |||
['originalort'] = 'publication-place', -- German | |||
['originalsprache'] = 'language', -- German | |||
['originaltitel'] = 'title', -- German (if 'originaltitel' is specified, any possible contents of 'title' should be put in 'trans-title') | |||
['ort'] = 'publication-place', -- German | |||
['ortea'] = 'publication-place', -- German (not a direct replacement, but can be emulated) | |||
['other'] = 'others', | ['other'] = 'others', | ||
['oznaczenie'] = 'agency', -- Polish | ['oznaczenie'] = 'agency', -- Polish | ||
['pagees'] = 'pages', | ['pagees'] = 'pages', -- misspelling | ||
[' | ['pagina'] = 'page', -- Italian | ||
[' | ['pagina'] = 'pages', -- Italian | ||
[' | ['pagine'] = 'pages', -- Italian | ||
[' | ['pagine'] = 'pages', -- Italian | ||
[' | ['passage'] = 'pages', -- French | ||
[' | ['periodico'] = 'magazine', -- Spanish | ||
['plublisher'] = 'publisher', | ['plublisher'] = 'publisher', -- misspelling | ||
['pmcid'] = 'pmc', | ['pmcid'] = 'pmc', | ||
['praca'] = 'work', -- Polish | ['post-script'] = 'postscript', -- misspelling | ||
['prénom'] = 'first', -- French | ['praca'] = 'work', -- Polish | ||
['prénom1'] = 'first1', -- French | ['primero'] = 'first', -- Spanish | ||
['prénom'] = 'first', -- French | |||
['prénom1'] = 'first1', -- French | |||
['ps'] = 'postscript', | ['ps'] = 'postscript', | ||
['pub'] = 'publisher', | ['pub'] = 'publisher', | ||
['pulbication-place'] = 'publication-place', | -- ['pubblicazione'] = 'magazine', -- could be any kind of work | ||
['reihe'] = 'series', -- German | -- ['publicación'] = 'journal', -- could be any kind of work | ||
['publicationdate'] = 'publication-date', -- old parameter name | |||
-- ['published'] = 'publisher', -- could be date, location, or name of publisher | |||
['publicationplace'] = 'publication-place', -- old parameter name | |||
['pulbication-place'] = 'publication-place', -- misspelling | |||
['página'] = 'page', -- Spanish | |||
['páginas'] = 'pages', -- Spanish | |||
['périodique'] = 'publisher', -- French | |||
['registration'] = 'url-access', -- old parameter name | |||
['reihe'] = 'series', -- German | |||
['retrieved'] = 'access-date', | ['retrieved'] = 'access-date', | ||
['rok'] = 'date', -- Polish | ['richiestasottoscrizione'] = 'url-access', -- Italian (as |url-access=subscription) | ||
['sammelwerk'] = 'work', -- German | ['rok'] = 'date', -- Polish | ||
['seiten'] = 'pages', -- German | ['sammelwerk'] = 'work', -- German | ||
['seria'] = 'series', -- Polish | ['sayfa'] = 'page', -- Turkish | ||
['série'] = ' | ['sayfalar'] = 'pages', -- Turkish | ||
['sayı'] = 'issue', -- Turkish | |||
['script-post'] = 'postscript', -- misspelling | |||
['script-trans'] = 'transcript', -- misspelling | |||
['season'] = 'date', -- old parameter name (cite serial only) | |||
['sectionurl'] = 'section-url', -- old parameter name | |||
['seiten'] = 'pages', -- German | |||
['seria'] = 'series', -- Spanish, Polish | |||
['serie'] = 'series', -- Italian | |||
['série'] = 'series', -- French | |||
['serieslink'] = 'series-link', -- old parameter name | |||
['seriesno'] = 'series-number', -- old parameter name | |||
['service'] = 'agency', | ['service'] = 'agency', | ||
['sitioweb'] = 'website', --Spanish | ['sitioweb'] = 'website', -- Spanish | ||
[' | ['sito'] = 'website', -- Italian | ||
[' | ['soyadı'] = 'last', -- Turkish | ||
['spalten'] = 'at', -- German (not a direct replacement, but can be emulated) | ['spalten'] = 'at', -- German (not a direct replacement, but can be emulated) | ||
['sprache'] = 'language', -- German | ['sprache'] = 'language', -- German | ||
['suscripción'] = ' | ['stron'] = 'page', -- Polish | ||
['tag'] = 'date', -- German | ['strony'] = 'pages', -- Polish | ||
['tile'] = 'title', | ['subjectlink'] = 'subject-link', -- old parameter name | ||
['tite'] = 'title', | ['subscription'] = 'url-access', -- old parameter name (emulated as |url-access=subscription) | ||
['titel'] = 'title', -- German | ['sur-name'] = 'surname', -- misspelling | ||
['titel-p'] = 'title', -- German ('postscript=none' should be added as well) | ['suscripción'] = 'url-access', -- Spanish, Polish (as |url-access=subscription) | ||
['titelerg'] = 'contribution', -- German (not a direct replacement, but can be emulated) | ['tag'] = 'date', -- German | ||
['titolo'] = 'title', -- | ['tarih'] = 'date', -- Turkish | ||
['titre'] = 'title', -- French | ['template doc demo'] = 'no-tracking', -- old parameter alias | ||
[' | ['tile'] = 'title', -- misspelling | ||
[' | ['timecaption'] = 'time-caption', -- old parameter name | ||
['titlelink'] = 'title-link', -- old parameter name | |||
['tipo'] = 'type', -- Italian | |||
['tite'] = 'title', -- misspelling | |||
['titel'] = 'title', -- German | |||
['titel-p'] = 'title', -- German ('postscript=none' should be added as well) | |||
['titelerg'] = 'contribution', -- German (not a direct replacement, but can be emulated) | |||
['titled'] = 'title', -- Brazilian Portuguese | |||
['titolo'] = 'title', -- Italian | |||
['titre'] = 'title', -- French | |||
['trans-script'] = 'transcript', -- misspelling | |||
['trans_chapter'] = 'trans-chapter', -- old parameter alias | |||
['trans_title'] = 'trans-title', -- old parameter alias | |||
['transchapter'] = 'trans-chapter', | ['transchapter'] = 'trans-chapter', | ||
[' | ['transcripturl'] = 'transcript-url', -- old parameter name | ||
['transscript'] = 'transcript', -- misspelling | |||
['transscript-format'] = 'transcript-format', -- misspelling | |||
['transscript-url'] = 'transcript-url', -- misspelling | |||
['transscripturl'] = 'transcript-url', -- misspelling | |||
['transtitle'] = 'trans-title', | ['transtitle'] = 'trans-title', | ||
['typ'] = 'author-mask', -- German (not a direct replacement, but the only valid argument 'typ=wl' can be emulated using 'author-mask') | ['typ'] = 'author-mask', -- German (not a direct replacement, but the only valid argument 'typ=wl' can be emulated using 'author-mask') | ||
['tytuł'] = 'title', -- Polish | ['tytuł'] = 'title', -- Polish | ||
['ubicación'] = 'location', -- Spanish | ['títle'] = 'title', | ||
['urlarchivo'] = 'archive-url', -- Spanish | ['título'] = 'title', -- Spanish | ||
[' | ['ubicación'] = 'location', -- Spanish | ||
['urn'] = 'id', -- German (as 'id={{URN|...}}') | ['urlarchivio'] = 'archive-url', -- Italian | ||
[' | ['urlarchivo'] = 'archive-url', -- Spanish | ||
[' | ['urlmorto'] = 'url-status', -- Italian | ||
['vol'] = 'volume', | ['urn'] = 'id', -- German (as 'id={{URN|...}}') | ||
['volumen'] = 'volume', -- Spanish | ['v-authors'] = 'vauthors', -- misspelling | ||
['werk'] = 'work', -- German | ['v-editors'] = 'veditors', -- misspelling | ||
['werkerg'] = 'contribution', -- German (not a direct replacement, but can be emulated) | ['verlag'] = 'publisher', -- German | ||
['wkautore'] = 'author-link', -- Italian | ['verlagea'] = 'publisher', -- German (not a direct replacement, but can be emulated) | ||
['wolumin'] = 'volume', -- Polish | ['vol'] = 'volume', | ||
['wydanie'] = 'number', -- Polish | ['volumen'] = 'volume', -- Spanish | ||
['wydawca'] = 'publisher', -- French | ['werk'] = 'work', -- German | ||
['zaprezentowany'] = 'publisher', -- French | ['werkerg'] = 'contribution', -- German (not a direct replacement, but can be emulated) | ||
['zdb'] = 'id', -- German (as 'id={{ZDB|...}}' | ['wkautore'] = 'author-link', -- Italian | ||
['zitat'] = 'quote', -- German | ['wolumin'] = 'volume', -- Polish | ||
['zugriff'] = 'access-date', -- German | ['wydanie'] = 'number', -- Polish | ||
['wydawca'] = 'publisher', -- French | |||
['yardımcıyazarlar'] = 'author', -- Turkish | |||
['yayımcı'] = 'publisher', -- Turkish | |||
['yayıncı'] = 'publisher', -- Turkish | |||
['yazar'] = 'author', -- Turkish | |||
['yazarbağı'] = 'author-link', -- Turkish | |||
['yer'] = 'location', -- Turkish | |||
['yıl'] = 'date', -- Turkish | |||
['zaprezentowany'] = 'publisher', -- French | |||
['zdb'] = 'id', -- German (as 'id={{ZDB|...}}') | |||
['zitat'] = 'quote', -- German | |||
['zugriff'] = 'access-date', -- German | |||
['éditeur'] = 'editor', -- French | |||
['ölüurl'] = 'url-status', -- Turkish | |||
['übersetzer'] = 'translator', -- German (singular and plural) | |||
} | } | ||
--[[--------------------------< P A T T E R N S >-------------------------------------------------------------- | --[[--------------------------< P A T T E R N S >-------------------------------------------------------------- | ||
Here we use Lua patterns to make suggestions. The form is ['pattern'] = 'correct', | Here we use Lua patterns to make suggestions. The form is | ||
['pattern'] = 'correct', | |||
Lua patterns are not | Lua patterns are not REGEX though they are similar. The escape character is '%', not '\'. | ||
For more information about Lua patterns, see: Extension:Scribunto/Lua_reference_manual#Patterns | |||
Patterns should probably always include the '^' and '$' anchor assertions to prevent a partial match from incorrectly | Patterns should probably always include the '^' and '$' anchor assertions to prevent a partial | ||
suggesting the wrong parameter name. For instance, the pattern 'a[utho]+r' matches 'author' in the no-longer-supported | match from incorrectly suggesting the wrong parameter name. For instance, the pattern 'a[utho]+r' | ||
parameter |author-separator= so the code suggests '|author='; the same pattern also matches the no-longer-supported | matches 'author' in the no-longer-supported parameter |author-separator= so the code suggests | ||
parameter |separator= (returning 'ator') so again, the code suggests '|author='. | '|author='; the same pattern also matches the no-longer-supported parameter |separator= (returning 'ator') | ||
so again, the code suggests '|author='. | |||
One capture is supported, typically the enumerator from an enumerated parameter (the '6' in |author6=, etc.) | One capture is supported, typically the enumerator from an enumerated parameter (the '6' in |author6=, etc.) | ||
capture replaces $1 in the 'correct' value. | The value from the capture replaces $1 in the 'correct' value. | ||
]] | ]] | ||
local patterns = { | local patterns = { | ||
['^ac+es+ ?d?a?t?e?$'] = 'access-date', | ['^ac+es+ ?d?a?t?e?$'] = 'access-date', -- misspelling | ||
['^a[utho]+r$'] = 'author', | ['^apellido[s]?(%d+)$'] = 'last$1', -- Spanish, enumerated | ||
['^a[utho]+r(%d+)$'] = 'author$1', -- enumerated | ['^a[utho]+r$'] = 'author', -- misspelling | ||
['^pu[blish]+ers?$'] = 'publisher', | ['^a[utho]+r(%d+)$'] = 'author$1', -- misspelling, enumerated | ||
['^author link(%d+)$'] = 'author-link$1', -- Polish, enumerated | |||
['^autor[e]?(%d+)$'] = 'author$1', -- Italian/Spanish/German, enumerated | |||
['^authorfirst(%d+)$'] = 'author-first$1', -- old parameter name, enumerated | |||
['^author(%d+)first$'] = 'author-first$1', -- old parameter name, enumerated | |||
['^authorgiven(%d+)$'] = 'author-given$1', -- old parameter name, enumerated | |||
['^author(%d+)given$'] = 'author-given$1', -- old parameter name, enumerated | |||
['^authorlast(%d+)$'] = 'author-last$1', -- old parameter name, enumerated | |||
['^author(%d+)last$'] = 'author-last$1', -- old parameter name, enumerated | |||
['^authormask(%d+)$'] = 'author-mask$1', -- old parameter name, enumerated | |||
['^author(%d+)mask$'] = 'author-mask$1', -- old parameter name, enumerated | |||
['^authorsurname(%d+)$'] = 'author-surname$1', -- old parameter name, enumerated | |||
['^author(%d+)surname$'] = 'author-surname$1', -- old parameter name, enumerated | |||
['^cognome(%d+)$'] = 'last$1', -- Italian, enumerated | |||
['^editorfirst(%d+)$'] = 'editor-first$1', -- old parameter name, enumerated | |||
['^editor(%d+)first$'] = 'editor-first$1', -- old parameter name, enumerated | |||
['^editorgiven(%d+)$'] = 'editor-given$1', -- old parameter name, enumerated | |||
['^editor(%d+)given$'] = 'editor-given$1', -- old parameter name, enumerated | |||
['^editorlast(%d+)$'] = 'editor-last$1', -- old parameter name, enumerated | |||
['^editor(%d+)last$'] = 'editor-last$1', -- old parameter name, enumerated | |||
['^editorlink(%d+)$'] = 'editor-link$1', -- old parameter name, enumerated | |||
['^editor(%d+)link$'] = 'editor-link$1', -- old parameter name, enumerated | |||
['^editormask(%d+)$'] = 'editor-mask$1', -- old parameter name, enumerated | |||
['^editor(%d+)mask$'] = 'editor-mask$1', -- old parameter name, enumerated | |||
['^editorsurname(%d+)$'] = 'editor-surname$1', -- old parameter name, enumerated | |||
['^editor(%d+)surname$'] = 'editor-surname$1', -- old parameter name, enumerated | |||
['^enlaceautore(%d+)$'] = 'author-link$1', -- Spanish, enumerated | |||
['^first (%d+)$'] = 'first$1', -- enumerated | |||
['^last (%d+)$'] = 'last$1', -- enumerated | |||
['^nom[e]?(%d+)$'] = 'last$1', -- Italian/French, enumerated | |||
['^nombre(%d+)$'] = 'first$1', -- Spanish, enumerated | |||
['^primero(%d+)$'] = 'first$1', -- Spanish, enumerated | |||
['^pu[blish]+ers?$'] = 'publisher', -- misspelling | |||
['^subjectlink(%d+)$'] = 'subject-link$1', -- old parameter name, enumerated | |||
['^subject(%d+)link$'] = 'subject-link$1', -- old parameter name, enumerated | |||
['^wkautore(%d+)$'] = 'author-link$1', -- Italian, enumerated | |||
} | } | ||
return {suggestions = suggestions, patterns=patterns}; | return {suggestions = suggestions, patterns=patterns}; |