Misplaced Pages

Module:Citation/CS1/Suggestions: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Module:Citation/CS1 Browse history interactively← Previous editNext edit →Content deleted Content added
Revision as of 17:11, 30 May 2014 view sourceD'Ranged 1 (talk | contribs)Extended confirmed users, Pending changes reviewers4,059 edits added deprecated parameters to the list so that a more specific error message is shown← Previous edit Revision as of 19:20, 30 May 2014 view source Jonesey95 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Mass message senders, Template editors378,344 edits Undid revision 610814123 by D'Ranged 1 (talk). These suggestions display only for unsupported parameters. Create test citations using month/coauthors to see that there is no suggestion.Next edit →
Line 11: Line 11:
= 'author', = 'author',
= 'author', = 'author',
= 'authors', -- deprecated paramater
= 'date', -- deprecated parameter
= 'publisher', = 'publisher',
= 'publisher', -- "editorial" is Spanish for "publisher" = 'publisher', -- "editorial" is Spanish for "publisher"
Line 21: Line 19:
= 'location', = 'location',
= 'location', = 'location',
= 'date', -- deprecated parameter
= 'author', = 'author',
= 'newspaper', = 'newspaper',

Revision as of 19:20, 30 May 2014

Module documentation[view] [edit] [history] [purge]
WarningThis Lua module is used on approximately 26,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them.
ProtectedThis module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.
This module can only be edited by administrators because it is transcluded onto one or more cascade-protected pages.

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: = '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.


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

CS1 | CS2 modules
live sandbox diff description
Gold padlock Module:Citation/CS1 Module:Citation/CS1/sandbox diff Rendering and support functions
Module:Citation/CS1/Configuration Module:Citation/CS1/Configuration/sandbox diff Translation tables; error and identifier handlers
Module:Citation/CS1/Whitelist Module:Citation/CS1/Whitelist/sandbox diff List of active and deprecated CS1|2 parameters
Module:Citation/CS1/Date validation Module:Citation/CS1/Date validation/sandbox diff Date format validation functions
Module:Citation/CS1/Identifiers Module:Citation/CS1/Identifiers/sandbox diff Functions that support the named identifiers (ISBN, DOI, PMID, etc.)
Module:Citation/CS1/Utilities Module:Citation/CS1/Utilities/sandbox diff Common functions and tables
Module:Citation/CS1/COinS Module:Citation/CS1/COinS/sandbox diff Functions that render a CS1|2 template's metadata
Module:Citation/CS1/styles.css Module:Citation/CS1/sandbox/styles.css diff CSS styles applied to the CS1|2 templates
Silver padlock Module:Citation/CS1/Suggestions Module:Citation/CS1/Suggestions/sandbox diff List that maps common erroneous parameter names to valid parameter names
The above documentation is transcluded from Module:Citation/CS1/Suggestions/doc. (edit | history)
Editors can experiment in this module's sandbox (edit | diff) and testcases (create) pages.
Subpages of this module.

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

suggestions = {
     = 'accessdate',
     = 'accessdate',
     = 'accessdate',
     = 'accessdate',
     = 'accessdate',  --deprecated parameter
     = 'location',
     = 'author',
     = 'author',
     = 'publisher', 
     = 'publisher',  -- "editorial" is Spanish for "publisher"
     = 'format', 
     = 'format', 
     = 'first',
     = 'language', 
     = 'location',    
     = 'location',
     = 'author',
     = 'newspaper',
     = 'newspaper',
     = 'origyear',
     = 'others',
     = 'pages',
     = 'publisher',
     = 'publisher',
     = 'publication-place',
     = 'accessdate',
     = 'agency',
     = 'title',
     = 'trans-chapter',
     = 'others',
     = 'trans-title',
}
return suggestions;
Category:
Module:Citation/CS1/Suggestions: Difference between revisions Add topic