From Afropedia.world
Jump to: navigation, search
Djehuti
Djehuti (talk | contribs) (Created Module:Citation/CS1/Suggestions)
Djehuti
Djehuti (talk | contribs) (1 revision imported)
m
 
Line 1: Line 1:
-- Module:Citation/CS1/Suggestions
--Please insert new suggestions in alphabetical order
-- Provides parameter suggestions for CS1/CS2 citation templates
--The form is ['incorrect'] = 'correct',


local suggestions = {}
suggestions = {
 
    ['acccessdate'] = 'accessdate',
-- Common parameter misspellings and alternatives
    ['accesdate'] = 'accessdate',
suggestions.suggestions = {
    ['access date'] = 'accessdate',
     ['accessdate'] = 'access-date',
    ['access-date'] = 'accessdate',
     ['accessyear'] = 'access-date',
    ['accessate'] = 'accessdate',
     ['autor'] = 'author',
    ['accessdare'] = 'accessdate',
     ['autore'] = 'author',
    ['accessdatte'] = 'accessdate',
     ['coauthor'] = 'author',
    ['accessddate'] = 'accessdate',
     ['coauthors'] = 'author',
    ['accessdte'] = 'accessdate',
     ['began'] = 'date',
    ['accessed'] = 'accessdate',
     ['created'] = 'date',
    ['accessedate'] = 'accessdate',
     ['dateformat'] = 'df',
    ['accesssdate'] = 'accessdate',
     ['dead-url'] = 'url-status',
    ['accssdate'] = 'accessdate',
     ['deadurl'] = 'url-status',
    ['acessdate'] = 'accessdate',
     ['ended'] = 'date',
    ['address'] = 'location',
     ['embargo'] = 'pmc-embargo-date',
    ['année'] = 'year', -- French
     ['in'] = 'language',
    ['añoacceso'] = 'accessyear', -- Spanish, Italian
     ['isbn13'] = 'isbn',
     ['apellido'] = 'last', -- Spanish, Italian
     ['lastauthoramp'] = 'name-list-style',
    ['archive date'] = 'archivedate',
     ['lay-date'] = 'lay-date',
    ['archive url'] = 'archiveurl', -- Spanish, Italian
     ['laysource'] = 'lay-source',
     ['auteur'] = 'author', -- French
     ['laysummary'] = 'lay-url',
    ['auther'] = 'author',
     ['layurl'] = 'lay-url',
    ['author link'] = 'authorlink',
     ['mailinglist'] = 'mailing-list',
     ['autor'] = 'author', -- Spanish, Italian
     ['no-pp'] = 'no-tracking',
     ['autor2'] = 'author2', -- Spanish, Italian
     ['nopp'] = 'no-tracking',
    ['autthor'] = 'author',
     ['notracking'] = 'no-tracking',
     ['cita'] = 'quote', -- Spanish, Italian
     ['publicationdate'] = 'publication-date',
     ['coautores'] = 'coauthors', -- Spanish, Italian
     ['publisherid'] = 'publisher',
    ['consulté le'] = 'accessdate', -- French
     ['registration'] = 'url-access',
    ['distributor'] = 'publisher',
     ['retrieved'] = 'access-date',
    ['éditeur'] = 'editor', -- French
     ['separator'] = 'mode',
    ['editon'] = 'edition',
     ['subscription'] = 'url-access',
     ['editoin'] = 'edition',
     ['template doc demo'] = 'no-tracking',
     ['editorial'] = 'publisher',
     ['trans_chapter'] = 'trans-chapter',
     ['en ligne le'] = 'archivedate', -- French
     ['trans_title'] = 'trans-title',
     ['enlaceautor'] = 'authorlink', -- Spanish, Italian
    ['fecha'] = 'date', -- Spanish, Italian
    ['fechaacceso'] = 'accessdate', -- Spanish, Italian
     ['fechaarchivo'] = 'archivedate', -- Spanish, Italian
    ['filetype'] = 'format',
    ['first 1'] = 'first1',
     ['foramt'] = 'format',
     ['formato'] = 'format', -- Spanish, Italian
    ['frist'] = 'first',
     ['idioma'] = 'language', -- Spanish, Italian
     ['isnb'] = 'isbn',
     ['lang'] = 'language',
    ['langauge'] = 'language',
    ['langue'] = 'language', -- French
    ['last 1'] = 'last1',
     ['lieu'] = 'location', -- French
    ['lire en ligne'] = 'url', -- French
    ['loaction'] = 'location',
    ['locatoin'] = 'location',
     ['mois'] = 'month', -- French
--    ['name'] = 'author', -- 'name' is often erroneously used for 'title' and 'work' as well, so no suggestion is better than a wrong suggestion
     ['nespaper'] = 'newspaper',
    ['newpaper'] = 'newspaper',
    ['news'] = 'newspaper',
    ['nom'] = 'last', -- French
    ['nom1'] = 'last1', -- French
    ['nombre'] = 'first', -- Spanish, Italian
     ['obra'] = 'work', -- Spanish, Italian
    ['origdate'] = 'origyear',
    ['other'] = 'others',
    ['pagees'] = 'pages',
     ['página'] = 'page', -- Spanish, Italian
    ['páginas'] = 'pages', -- Spanish, Italian
     ['passage'] = 'pages', -- French
    ['périodique'] = 'publisher', -- French
    ['plublisher'] = 'publisher',
    ['pmcid'] = 'pmc',
    ['prénom'] = 'first', -- French
     ['prénom1'] = 'first1', -- French
    ['pub'] = 'publisher',
     ['pubisher'] = 'publisher',
    ['publiser'] = 'publisher',
    ['publishers'] = 'publisher',
    ['publsher'] = 'publisher',
    ['publsiher'] = 'publisher',
     ['pulbication-place'] = 'publication-place',
     ['pulbisher'] = 'publisher',
     ['retrieved'] = 'accessdate',
    ['série'] = 'work', -- French
    ['service'] = 'agency',
     ['suscripción'] = 'subscription', -- Spanish, Italian
    ['tile'] = 'title',
     ['tite'] = 'title',
     ['titolo'] = 'title', -- Spanish, Italian
    ['titre'] = 'title', -- French
     ['título'] = 'title', -- Spanish, Italian
     ['transchapter'] = 'trans-chapter',
     ['translator'] = 'others',
    ['transtitle'] = 'trans-title',
    ['ubicación'] = 'location', -- Spanish, Italian
    ['urlarchivo'] = 'archiveurl', -- Spanish, Italian
    ['vol'] = 'volume',  
}
}
 
return suggestions;
return suggestions

Latest revision as of 18:25, 19 January 2026

--Please insert new suggestions in alphabetical order --The form is ['incorrect'] = 'correct',

suggestions = {

   ['acccessdate'] = 'accessdate',
   ['accesdate'] = 'accessdate',
   ['access date'] = 'accessdate',
   ['access-date'] = 'accessdate',
   ['accessate'] = 'accessdate',
   ['accessdare'] = 'accessdate',
   ['accessdatte'] = 'accessdate',
   ['accessddate'] = 'accessdate',
   ['accessdte'] = 'accessdate',
   ['accessed'] = 'accessdate',
   ['accessedate'] = 'accessdate',
   ['accesssdate'] = 'accessdate',
   ['accssdate'] = 'accessdate',
   ['acessdate'] = 'accessdate',
   ['address'] = 'location',
   ['année'] = 'year', -- French
   ['añoacceso'] = 'accessyear', -- Spanish, Italian
   ['apellido'] = 'last', -- Spanish, Italian
   ['archive date'] = 'archivedate',
   ['archive url'] = 'archiveurl', -- Spanish, Italian
   ['auteur'] = 'author', -- French
   ['auther'] = 'author',
   ['author link'] = 'authorlink',
   ['autor'] = 'author', -- Spanish, Italian
   ['autor2'] = 'author2', -- Spanish, Italian
   ['autthor'] = 'author',
   ['cita'] = 'quote', -- Spanish, Italian
   ['coautores'] = 'coauthors', -- Spanish, Italian
   ['consulté le'] = 'accessdate', -- French
   ['distributor'] = 'publisher',
   ['éditeur'] = 'editor', -- French
   ['editon'] = 'edition',
   ['editoin'] = 'edition',
   ['editorial'] = 'publisher',
   ['en ligne le'] = 'archivedate', -- French
   ['enlaceautor'] = 'authorlink', -- Spanish, Italian
   ['fecha'] = 'date', -- Spanish, Italian
   ['fechaacceso'] = 'accessdate', -- Spanish, Italian
   ['fechaarchivo'] = 'archivedate', -- Spanish, Italian
   ['filetype'] = 'format',
   ['first 1'] = 'first1',
   ['foramt'] = 'format',
   ['formato'] = 'format', -- Spanish, Italian
   ['frist'] = 'first',
   ['idioma'] = 'language', -- Spanish, Italian
   ['isnb'] = 'isbn',
   ['lang'] = 'language',
   ['langauge'] = 'language',
   ['langue'] = 'language', -- French
   ['last 1'] = 'last1',
   ['lieu'] = 'location', -- French
   ['lire en ligne'] = 'url', -- French
   ['loaction'] = 'location',
   ['locatoin'] = 'location',
   ['mois'] = 'month', -- French

-- ['name'] = 'author', -- 'name' is often erroneously used for 'title' and 'work' as well, so no suggestion is better than a wrong suggestion

   ['nespaper'] = 'newspaper',
   ['newpaper'] = 'newspaper',
   ['news'] = 'newspaper',
   ['nom'] = 'last', -- French
   ['nom1'] = 'last1', -- French
   ['nombre'] = 'first', -- Spanish, Italian
   ['obra'] = 'work', -- Spanish, Italian
   ['origdate'] = 'origyear',
   ['other'] = 'others',
   ['pagees'] = 'pages',
   ['página'] = 'page', -- Spanish, Italian
   ['páginas'] = 'pages', -- Spanish, Italian
   ['passage'] = 'pages', -- French
   ['périodique'] = 'publisher', -- French
   ['plublisher'] = 'publisher',
   ['pmcid'] = 'pmc',
   ['prénom'] = 'first', -- French
   ['prénom1'] = 'first1', -- French
   ['pub'] = 'publisher',
   ['pubisher'] = 'publisher',
   ['publiser'] = 'publisher',
   ['publishers'] = 'publisher',
   ['publsher'] = 'publisher',
   ['publsiher'] = 'publisher',
   ['pulbication-place'] = 'publication-place',
   ['pulbisher'] = 'publisher',
   ['retrieved'] = 'accessdate',
   ['série'] = 'work', -- French
   ['service'] = 'agency',
   ['suscripción'] = 'subscription', -- Spanish, Italian
   ['tile'] = 'title',
   ['tite'] = 'title',
   ['titolo'] = 'title', -- Spanish, Italian
   ['titre'] = 'title', -- French
   ['título'] = 'title', -- Spanish, Italian
   ['transchapter'] = 'trans-chapter',
   ['translator'] = 'others',
   ['transtitle'] = 'trans-title',
   ['ubicación'] = 'location', -- Spanish, Italian
   ['urlarchivo'] = 'archiveurl', -- Spanish, Italian
   ['vol'] = 'volume', 

} return suggestions;