Module:Citation/CS1/Suggestions/sandbox: Difference between revisions

Content deleted Content added
No edit summary
reset changes list;
 
(78 intermediate revisions by 8 users not shown)
Line 1:
--[[
History of changes since last sync: 20172023-0401-2914
 
2018-07-31: remove lang from suggestion list as it is now explicitly whitelisted
 
 
TO DO: Provide suggestions for template-specific errors, e.g. suggest "title" for the erroneous "book-title" when used outside of Cite conference.
 
]]
 
 
--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 = {
['ASIN-TLD'] = 'asin-tld', -- old parameter name
['accessmonth'] = 'access-date', -- no longer supported by us, but still by citation templates mirrored in foreign WPs; can be emulated using 'access-date'
['accessoabruf'] = 'access-date', -- ItalianGerman
['abruf-verborgen'] = 'access-date', -- German
['accessyear'] = 'access-date', -- no longer supported by us, but still by citation templates mirrored in foreign WPs; can be emulated using 'access-date'
['accessmonth'] = 'access-date',
['accesso'] = 'access-date', -- Italian
['accessyear'] = 'access-date',
['acessodata'] = 'access-date', -- Brazilian Portuguese
['ad'] = 'first', -- Turkish
['address'] = '___location',
['annéeanno'] = 'yeardate', -- FrenchItalian
['añoannoaccesso'] = 'yearaccess-date', -- Italian
['año-originalannodiaccesso'] = 'origaccess-yeardate', -- Italian
['añoaccesoannooriginale'] = 'accessorig-date', -- SpanishItalian
['annoaccessoannée'] = 'access-date', --Italian French
['annodiaccessoapellido'] = 'access-datelast', --Italian Spanish
['apellidoapellidos'] = 'last', -- Spanish
['archiv-datum'] = 'archive-date', -- German
['archive datearchiv-url'] = 'archive-dateurl', -- German
['archiv-urlarchive date'] = 'archive-urldate', -- Germanmisspelling
['archive url'] = 'archive-url', -- Spanishmisspelling
['archive-link'] = 'archive-url', -- old parameter name
['artist'] = 'others',
['auflagearchiv-url'] = 'editionarchive-url', -- German
['arkivdatum'] = 'archive-date', -- Swedish, Norwegian
['auteur'] = 'author', -- French
['arkivurl'] = 'archive-url', -- Swedish, Norwegian
['auther'] = 'author',
['author linkartist'] = 'author-linkothers', -- Polish
['author link2arşiv-tarihi'] = 'author2archive-linkdate', -- PolishTurkish
['arşiv-url'] = 'archive-url', -- Turkish
['autor'] = 'authors', -- German (singular and plural)
['autorearşivtarihi'] = 'authorarchive-date', -- ItalianTurkish
['autthorarşivurl'] = 'authorarchive-url', -- Turkish
['bandauflage'] = 'volumeedition', -- German
['auteur'] = 'author', -- French
['auther'] = 'author', -- misspelling
['author link'] = 'author-link', -- Polish
['authorfirst'] = 'author-first', -- old parameter name
['authorgiven'] = 'author-given', -- old parameter name
['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', -- misspelling
['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',
['citachapterurl'] = 'quotechapter-url', -- Spanishold parameter name
['citazionecid'] = 'quoteref', -- Italian
['cilt'] = 'volume', -- Turkish
['cita'] = 'quote', -- Spanish
['citazione'] = 'quote', -- Italian
['città'] = '___location', -- Italian
['city'] = '___location', -- old parameter name (cite serial only)
['coauthor'] = 'author',
['coauthors'] = 'author',
['coautores'] = 'author', -- Spanish
['coautori'] = 'author', -- Italian
['cognome'] = 'last', -- Italian
['consulté leconferenceurl'] = 'accessconference-dateurl', -- Frenchold parameter name
['czasopismoconsulté le'] = 'journalaccess-date', -- PolishFrench
['contributionurl'] = 'contribution-url', -- old parameter name
['data'] = 'date', -- Polish, Italian
['dataarchiviocuratore'] = 'archive-datepublisher', -- Italian
['data dostępuczasopismo'] = 'access-datejournal', -- Polish
['datumdata dostępu'] = 'access-date', -- GermanPolish
['data'] = 'date', -- Polish, Italian
['deadlink'] = 'dead-url',
['dataaccesso'] = 'access-date', -- Italian
['dataarchivio'] = 'archive-date', -- Italian
['datum'] = 'date', -- German, Swedish
['dead-url'] = 'url-status', -- old parameter name
['deadlink'] = 'url-status', -- old parameter name
['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',
['dnb'] = 'id', -- German (as 'id={{DNB-IDN|...}}') (not yet supported by us directly)
['doi_brokendatedoi-broken'] = 'doi-broken-date', -- old parameter alias
['doi_inactivedatedoi-inactive'] = 'doi-inactivebroken-date', -- invalid name found in mainspace
['doi-inactive-date'] = 'doi-broken-date', -- old parameter alias
['éditeur'] = 'editor', -- French
['doi_brokendate'] = 'doi-broken-date', -- old parameter alias
['editon'] = 'edition',
['doi_inactivedate'] = 'doi-inactive-date', -- old parameter alias
['editoin'] = 'edition',
['doibroken'] = 'doi-broken-date', -- invalid name found in mainspace
['editorial'] = 'publisher',
['en ligne ledoiinactive'] = 'archivedoi-broken-date', -- Frenchinvalid 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',
['enlaceautor'] = 'author-link', -- Spanish
['fechaenlaceroto'] = 'dateurl-status', -- Spanish
['fechaaccesoepisodelink'] = 'accessepisode-datelink', -- Spanishold parameter name
['fechaarchivoerişimtarihi'] = 'archiveaccess-date', -- SpanishTurkish
['eser'] = 'work', -- Turkish
['family'] = 'surname', -- misguess
['fecha'] = 'date', -- Spanish
['fechaacceso'] = 'access-date', -- Spanish
['fechaarchivo'] = 'archive-date', -- Spanish
['filetype'] = 'format',
['first 1foramt'] = 'first1format', -- misspelling
['fore-name'] = 'given', -- misguess/misspelling
['foramt'] = 'format',
['formatoforename'] = 'formatgiven', -- Spanish, Italian, Polishmisguess
['författare'] = 'author', -- Swedish, Norwegian
['frist'] = 'first',
['formato'] = 'format', -- Spanish, Italian, Polish
['herausgeber'] = 'editors', -- German (singular and plural)
['idiomafrist'] = 'languagefirst', -- Spanish, Italianmisspelling
['imięfundstelle'] = 'firstat', -- PolishGerman
['gazete'] = 'work', -- Turkish
['isbnistformalfalsch'] = 'ignore-isbn-error', -- German
['isnbgiornale'] = 'isbnjournal', -- Italian
['jahrhämtdatum'] = 'yearaccess-date', -- GermanSwedish
['kapitelherausgeber'] = 'chaptereditor', -- German (singular and plural)
-- ['kommentarhrsg'] = 'commentpublisher', -- German (not yet supported by us)
['langaugehrsgreihe'] = 'languageeditor', -- German
['langueidioma'] = 'language', -- FrenchSpanish
['ignore-isbn-error'] = 'isbn', -- old parameter (can be fully emulated using ((syntax)))
['last 1'] = 'last1',
['ignoreisbnerror'] = 'isbn', -- old parameter alias (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))
['lieu'] = '___location', -- French
['linguaimię'] = 'languagefirst', -- ItalianPolish
['lire en lignein-set'] = 'urlinset', -- Frenchmisspelling
['interviewerlink'] = 'interviewer-link', -- old parameter alias
['lizenznummer'] = 'id', -- German (as 'id=License ...')
['interviewermask'] = 'interviewer-mask', -- old parameter alias
['loaction'] = '___location',
['isbndefekt'] = 'isbn', -- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))
['locatoin'] = '___location',
['isbnformalfalsch'] = 'isbn', -- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))
['lugar'] = '___location', -- Spanish
['isbnistformalfalsch'] = 'isbn', -- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))
['miejsce'] = '___location', -- Polish
['miesiącisnb'] = 'dateisbn', -- Polishmisspelling
['issnformalfalsch'] = 'issn', -- German (can be fully emulated using ((syntax)))
['mois'] = 'date', -- French
['monatjahr'] = 'date', -- German
['jahrea'] = 'orig-date', -- German (not a direct replacement, but can be emulated)
-- ['name'] = 'author', -- 'name' is often erroneously used for 'title' and 'work' as well, so no suggestion is better than a wrong suggestion
['nazwiskokapitel'] = 'lastchapter', -- PolishGerman
['langauge'] = 'language', -- misspelling
['nespaper'] = 'newspaper',
['newpaperlangue'] = 'newspaperlanguage', -- French
['last-author-amp'] = 'name-list-style', -- old parameter name (as |name-list-style=amp)
['lastauthoramp'] = 'name-list-style', -- old parameter name (as |name-list-style=amp)
['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',
['nomnews-group'] = 'lastnewsgroup', -- Frenchmisspelling
['nom1news-paper'] = 'last1newspaper', -- Frenchmisspelling
['nombreno-cat'] = 'firstno-tracking', -- Spanishold parameter
['nomenocat'] = 'firstno-tracking', -- Italianold parameter
['nummernom'] = 'numberlast', -- GermanFrench
['obranombre'] = 'workfirst', -- Spanish
['odpowiedzialnośćnome'] = 'agencyfirst', -- PolishItalian
['offlinenopp'] = 'deadno-urlpp', -- Germanold parameter name
['notracking'] = 'no-tracking', -- old parameter
['online'] = 'url', -- German (not a direct replacement, but can be emulated)
['opublikowanynumero'] = 'agencynumber', -- PolishItalian, Spanish
['operanummer'] = 'worknumber', -- ItalianGerman
['origdatenummerreihe'] = 'orig-yearnumber', -- German
['originaljahrobra'] = 'orig-yearwork', -- GermanSpanish
['odpowiedzialność'] = 'agency', -- Polish
['originalort'] = '___location', -- German (if 'ort' is specified at the same time, the latter should be put in 'publication-place')
['originalspracheoffline'] = 'languageurl-status', -- German (as 'url-status=dead')
['originaltitelonline'] = 'titleurl', -- German (ifnot 'originaltitel'a isdirect specifiedreplacement, anybut possible contents of 'title' shouldcan be put in 'trans-title'emulated)
['ortopera'] = '___locationwork', -- GermanItalian
['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',
['oznaczenie'] = 'agency', -- Polish
['pagees'] = 'pages', -- misspelling
['páginapagina'] = 'page', -- Spanish, Italian
['páginaspagina'] = 'pages', -- Spanish, Italian
['passagepagine'] = 'pages', -- FrenchItalian
['paginapagine'] = 'pages', -- Italian
['paginepassage'] = 'pages', -- ItalianFrench
['périodiqueperiodico'] = 'publishermagazine', -- FrenchSpanish
['plublisher'] = 'publisher', -- misspelling
['pmcid'] = 'pmc',
['pracapost-script'] = 'workpostscript', -- Polishmisspelling
['prénompraca'] = 'firstwork', -- FrenchPolish
['prénom1primero'] = 'first1first', -- FrenchSpanish
['prénom'] = 'first', -- French
['prénom1'] = 'first1', -- French
['ps'] = 'postscript',
['pub'] = 'publisher',
-- ['pubblicazione'] = 'magazine', -- could be any kind of work
['pulbication-place'] = 'publication-place',
-- ['publicación'] = 'journal', -- could be any kind of work
['reihe'] = 'series', -- German
['retrievedpublicationdate'] = 'accesspublication-date', -- old parameter name
-- ['published'] = 'publisher', -- could be date, ___location, or name of publisher
['rok'] = 'date', -- Polish
['publicationplace'] = 'publication-place', -- old parameter name
['sammelwerk'] = 'work', -- German
['seitenpulbication-place'] = 'pagespublication-place', -- Germanmisspelling
['seriapágina'] = 'seriespage', -- PolishSpanish
['sériepáginas'] = 'workpages', -- French *RECHECK*Spanish
['périodique'] = 'publisher', -- French
['registration'] = 'url-access', -- old parameter name
['reihe'] = 'series', -- German
['retrieved'] = 'access-date', -- old parameter name
['richiestasottoscrizione'] = 'url-access', -- Italian (as |url-access=subscription)
['rivista'] = 'magazine', -- Italian
['rok'] = 'date', -- Polish
['rubrik'] = 'title', -- Swedish
['sammelwerk'] = 'work', -- German
['sayfa'] = 'page', -- Turkish
['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',
['sitioweb'] = 'website', -- Spanish
['stronsito'] = 'pagewebsite', -- PolishItalian
['stronysoyadı'] = 'pageslast', -- PolishTurkish
['spalten'] = 'at', -- German (not a direct replacement, but can be emulated)
['sprache'] = 'language', -- German
['språk'] = 'language', -- Swedish, Norwegian
['suscripción'] = 'subscription', -- Spanish, Polish
['tagstron'] = 'datepage', -- GermanPolish
['strony'] = 'pages', -- Polish
['template doc demo'] = 'template-doc-demo',
['subjectlink'] = 'subject-link', -- old parameter name
['tile'] = 'title',
['subscription'] = 'url-access', -- old parameter name (emulated as |url-access=subscription)
['tite'] = 'title',
['titelsur-name'] = 'titlesurname', -- Germanmisspelling
['suscripción'] = 'url-access', -- Spanish, Polish (as |url-access=subscription)
['titel-p'] = 'title', -- German ('postscript=none' should be added as well)
['tag'] = 'date', -- German
['titelerg'] = 'contribution', -- German (not a direct replacement, but can be emulated)
['titolotarih'] = 'titledate', -- Spanish, ItalianTurkish
['template doc demo'] = 'no-tracking', -- old parameter alias
['titre'] = 'title', -- French
['tidning'] = 'work', -- Swedish
['títle'] = 'title',
['títulotile'] = 'title', -- Spanishmisspelling
['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',
['transcripturl'] = 'transcript-url', -- old parameter name
['trans_chapter'] = 'trans-chapter',
['transscript'] = 'transcript', -- misspelling
['trans_title'] = 'trans-title',
['transscript-format'] = 'transcript-format', -- misspelling
['translator'] = 'others',
['transscript-url'] = 'transcript-url', -- misspelling
['transscripturl'] = 'transcript-url', -- misspelling
['transtitle'] = 'trans-title',
['typ'] = 'author-mask', -- German (not a direct replacement, but the only valid argument 'typ=wl' can be emulated using 'author-mask')
['tytuł'] = 'title', -- Polish
['ubicacióntítle'] = '___locationtitle', -- Spanish
['urlarchivotítulo'] = 'archive-urltitle', -- Spanish
['urlarchivioubicación'] = 'archive-url___location', -- ItalianSpanish
['urlarchivio'] = 'archive-url', -- Italian
['urn'] = 'id', -- German (as 'id={{URN|...}}') (not yet supported by us directly)
['urlarchivo'] = 'archive-url', -- Spanish
['übersetzer'] = 'translator', -- German (singular and plural)
['verlagurlmorto'] = 'publisherurl-status', -- GermanItalian
['urn'] = 'id', -- German (as 'id={{URN|...}}')
['vol'] = 'volume',
['volumenv-authors'] = 'volumevauthors', -- Spanishmisspelling
['werkv-editors'] = 'workveditors', -- Germanmisspelling
['verlag'] = 'publisher', -- German
['werkerg'] = 'contribution', -- German (not a direct replacement, but can be emulated)
['verlagea'] = 'publisher', -- German (not a direct replacement, but can be emulated)
['wkautore'] = 'author-link', -- Italian
['woluminvol'] = 'volume', -- Polish
['wydanievolumen'] = 'numbervolume', -- PolishSpanish
['wydawcawerk'] = 'publisherwork', -- FrenchGerman
['werkerg'] = 'contribution', -- German (not a direct replacement, but can be emulated)
['zaprezentowany'] = 'publisher', -- French
['wkautore'] = 'author-link', -- Italian
['zdb'] = 'id', -- German (as 'id={{ZDB|...}}') (not yet supported by us directly)
['zitatwolumin'] = 'quotevolume', -- GermanPolish
['zugriffwydanie'] = 'access-datenumber', -- GermanPolish
['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 >--------------------------------------------------------------
 
Here we use Lua patterns to make suggestions. The form is

['pattern'] = 'correct',
 
Lua patterns are not regexREGEX though they are similar. The escape character is '%', not '\'. For more information about
luaFor 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
match from incorrectly suggesting the wrong parameter name. For instance, the pattern 'a[utho]+r'
matches 'author' in the no-longer-supported parameter |author-separator= so the code suggests
parameter |author-separator= so the code suggests '|author='; the same pattern also matches the no-longer-supported parameter |separator= (returning 'ator')
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.) The value from the
The value from the capture replaces $1 in the 'correct' value.
 
]]
 
local patterns = {
['^ac+es+ ?d?a?t?e?$'] = 'access-date', -- misspelling
['^aapellido[uthos]?(%d+r)$'] = 'authorlast$1', -- Spanish, enumerated
['^a[utho]+r(%d+)$'] = 'author$1', -- enumeratedmisspelling
['^pua[blishutho]+ers?r(%d+)$'] = 'publisherauthor$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
}