Moduł:Citation/CS1/Suggestions

Z Almanach
< Moduł:Citation/CS1
Wersja z dnia 13:15, 6 paź 2014 autorstwa Sauron (dyskusja | edycje) (Utworzono nową stronę "--Please insert new suggestions in alphabetical order --The form is ['incorrect'] = 'correct', suggestions = { ['acccessdate'] = 'accessdate', ['accesdate'] = '...")
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)

This is a list of suggested alternatives to use when an unknown parameter is encountered by a citation template. When an unknown parameter is found within a citation template an error message is generated, and when possible the software makes a suggestion for what the user may have meant by consulting this list of common mistakes and typos.

Each entry takes the form: ['bad input parameter'] = 'suggested parameter to use'

The bad input parameter will have been transformed to lower case before checking this list, so all input forms on this list should be written in lowercase.


--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;