Movatterモバイル変換


[0]ホーム

URL:


Jump to content
Wikipedia
Aligao

Module:Citation/CS1/Suggestions

Ginen Wikipedia
<Module:Citation/CS1
This Lua module is used on2,600,000+ pages.
To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its/sandbox or/testcases subpages. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on thetalk page before implementing them.
This module issubject to page protection. It is ahighly visible module in use by a very large number of pages, or issubstituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it isprotected from editing.


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 withina citation template an error message is generated, and when possible thesoftware makes a suggestion for what the user may have meant by consulting thislist 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 beforechecking this list, so all input forms on this list should be written in lowercase.


These files comprise the module support for cs1|2 citation templates:

cs1Template:Pipe cs2 modules
 livesandboxdescription
sysopModule:Citation/CS1Module:Citation/CS1/sandbox[edit]Rendering and support functions
Module:Citation/CS1/ConfigurationModule:Citation/CS1/Configuration/sandbox[edit]Translation tables; error and identifier handlers
Module:Citation/CS1/WhitelistModule:Citation/CS1/Whitelist/sandbox[edit]List of active, deprecated, and obsolete cs1Template:Pipe2 parameters
Module:Citation/CS1/Date validationModule:Citation/CS1/Date validation/sandbox[edit]Date format validation functions
 Module:Citation/CS1/Identifiers[edit]Functions that support the named identifiers (isbn, doi, pmid, etc)
 Module:Citation/CS1/Utilities[edit]Common functions and tables
 Module:Citation/CS1/COinS[edit]Functions that render a cs1Template:Pipe2 template's metadata
auto confirmedModule:Citation/CS1/SuggestionsModule:Citation/CS1/Suggestions/sandbox[edit]List that maps common erroneous parameter names to valid parameter names

--Please insert new suggestions in alphabetical order--The form is ['incorrect'] = 'correct',suggestions={--['acccessdate'] = 'access-date',--['accesdate'] = 'access-date',--['access date'] = 'access-date',--['accessate'] = 'access-date',--['accessdare'] = 'access-date',--['accessdatte'] = 'access-date',--['accessddate'] = 'access-date',--['accessdte'] = 'access-date',--['accessed'] = 'access-date',--['accessedate'] = 'access-date',--['accesssdate'] = 'access-date',--['accssdate'] = 'access-date',--['acessdate'] = 'access-date',['address']='location',['année']='year',-- French['añoacceso']='access-date',-- Spanish, Italian['apellido']='last',-- Spanish, Italian['archive date']='archive-date',['archive url']='archive-url',-- Spanish, Italian['artist']='others',['auteur']='author',-- French['auther']='author',['authorformat']='name-list-format',-- remove after 2016-01-01['author-format']='name-list-format',-- remove after 2016-01-01['author link']='author-link',--['autor'] = 'author', -- Spanish, Italian--['autor2'] = 'author2', -- Spanish, Italian['autthor']='author',['began']='date',-- remove after 2016-01-01['chapter_title']='chapter',['cita']='quote',-- Spanish, Italian['coautores']='coauthors',-- Spanish, Italian['consulté le']='access-date',-- French['deadlink']='dead-url',['distributor']='publisher',['éditeur']='editor',-- French['editon']='edition',['editoin']='edition',['editorformat']='name-list-format',-- remove after 2016-01-01['editor-format']='name-list-format',-- remove after 2016-01-01['editorgiven']='editor-given',-- remove after 2016-01-01['editorial']='publisher',['editorsurname']='editor-surname',-- remove after 2016-01-01['en ligne le']='archive-date',-- French['ended']='date',-- remove after 2016-01-01['enlaceautor']='author-link',-- Spanish, Italian['fecha']='date',-- Spanish, Italian['fechaacceso']='access-date',-- Spanish, Italian['fechaarchivo']='archive-date',-- 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['month']='date',-- remove after 2016-01-01--['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']='orig-year',['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['ps']='postscript',['pub']='publisher',--['pubisher'] = 'publisher',--['publiser'] = 'publisher',--['publishers'] = 'publisher',--['publsher'] = 'publisher',--['publsiher'] = 'publisher',['pulbication-place']='publication-place',--['pulbisher'] = 'publisher',--['pulisher'] = 'publisher',['retrieved']='access-date',['separator']='mode',-- remove after 2016-01-01['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']='archive-url',-- Spanish, Italian['vol']='volume',}--[[--------------------------< 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 regex though they are similar.  The escape character is '%', not '\'.  For more information aboutlua patterns, see: Extension:Scribunto/Lua_reference_manual#PatternsPatterns should probably always include the '^' and '$' anchor assertions to prevent a partial match from incorrectlysuggesting the wrong parameter name.  For instance, the pattern 'a[utho]+r' matches 'author' in the no-longer-supportedparameter |author-separator= so the code suggests '|author='; the same pattern also matches the no-longer-supportedparameter |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 thecapture replaces $1 in the 'correct' value.]]localpatterns={['^ac+es+ ?d?a?t?e?$']='access-date',['^a[utho]+r$']='author',['^a[utho]+r(%d+)$']='author$1',-- enumerated['^pu[blish]+ers?$']='publisher',}return{suggestions=suggestions,patterns=patterns};
Ginen "https://ch.wikipedia.org/w/index.php?title=Module:Citation/CS1/Suggestions&oldid=19034"
Kategoria:

[8]ページ先頭

©2009-2026 Movatter.jp