Category talk:CS1 errors: unsupported parameter
Commonly encountered unsupported parameters and how to fix them
editThere are 11,000+ articles in this category, as of 8 October 2013. This is a list of commonly-encountered parameters and how to fix them, to expand on the contents of the help text. If the "bot-fixable" list turns into a substantial list, we may be able to feed it to a bot and fix a bunch of these articles automatically.
Feel free to edit this list. – Jonesey95 (talk) 05:34, 8 October 2013 (UTC)
Bot-fixable parameters
editAll bot edits suggested here should be manually checked and corrected by human editors after the bot has passed through the category.
|translator
– Fix by changing|translator
to|others
and adding "Translated by" in front of the translators name or ", translator" after the translator's name.|pagees
– Change parameter name to|pages
.|auther
– Change parameter name to|author
.|middle
– Copy contents of|middle
and paste after the contents of|first
, with a space after the contents of|first
. Remove the|middle
parameter entirely.|quotes = yes
– Remove. This is not a supported parameter. Someone was trying to make the citation do something that it doesn't do. This appears almost exclusively incite journal
templates, for some reason. (It is a valid parameter in {{Infobox Doctor Who episode}}, so don't just go stripping it from every article, please Mr. Bot.)|other
– Replace with|others
.- Correct all common misspellings listed at Module:Citation/CS1/Suggestions.
Non-bot-fixable parameters
edit|unused_data
– This common parameter was added by a bot that cleaned up "unnamed parameters" before these CS1 errors existed. You have to look at the data to determine if it should be removed or if a parameter name should be added to it.- Lots of one-time misspellings and other typos that are not common enough to put in the list of common misspellings, e.g.
|volumbe
(volume),|firstn
(first1, first2, etc.),|first[1]
(first1, first2, etc.),|editorn-first
(editor1-first, etc.). |editorial
– This is the Spanish word for "publisher". If it makes sense, change the parameter name to|publisher
.- Also,
|título
istitle
and|fechaacceso
isaccessdate
.
- Also,
(a bunch of stuff that looks like the all or part of a web address)
– This happens when there is a "|" in the|url
parameter followed by an "=". To fix, replace each "|" in the URL with "%7c". Check the url to see if it is valid. You may also need to add "url=" in front of the "http://" part of the URL.|note
– This is not a valid parameter. Notes can be removed and pasted between the closing}}
and the closing</ref>
, though this is not ideal.|translator
replace withothers
and add "(trans.)" after the name.|curly=yes/no
remove (deprecated). This used to add curly quotes to a cite.|construction
replace withcontribution
orchapter
|first print
replace withorigyear
|channel
replace withpublication-place
|pii
replace withid
. See Publisher Item Identifier- Sometimes citations will have both
|page
and|pages
. The first is the page cited and the second is the total pages in the work. Remove the second.
- Re this last item, the second value is often the ending page, like
|page=215 | pages=226
when what is meant is|pages=215–226
. I do not know why people do this, but in this case, do not always remove the second parameter. – Jonesey95 (talk) 22:46, 19 January 2014 (UTC)
- Re this last item, the second value is often the ending page, like
"isbn status"
editI've just cleaned up Purebred (dog). There were about 6 instances of an "Unused data" called "isbn status", contents "May be invalid, please double check". In all cases there was no problem with the isbn. This stuff was added in 2008 by "Citation Bot". I wonder whether that bot's work could be undone by another bot, if their warnings are as useless as this article suggests, or perhaps tidied away into a valid field to suppress the red notes? PamD 10:56, 2 April 2014 (UTC)
- I suspect that Trappist the monk could add this removal to the handy AWB script that is doing such good work on this category. I found and removed about ten or fifteen of these yesterday. They appear to be identical to one another and therefore easy to remove. – Jonesey95 (talk) 18:06, 2 April 2014 (UTC)
Suppress more pages from list?
editIs there a way to suppress additional types of pages being added to this category? Reading through all the ones that shouldn't be here to find the ones that should is a waste of time, there were 173 pages that didn't require attention and about 6 that did. Suggested additions:
|
|
|
Alternatively/in addition, could a tag template be developed to add to pages to exclude them from the category?—D'Ranged 1 talk 16:49, 16 May 2014 (UTC)
- I recommend bringing this up at Help talk:Citation Style 1. Many more people read that page than this one, and this discussion applies to all of the error subcategory, not just this category. I will have an idea to contribute when the discussion gets there. – Jonesey95 (talk) 03:09, 17 May 2014 (UTC)
- Jonesey95 Per your recommendation, I have moved this discussion to Help talk:Citation Style 1#Suppress more pages from Category: Pages with citations using unsupported parameters?. Thanks!—D'Ranged 1 talk 07:13, 17 May 2014 (UTC)
DEFAULTSORT
editThis category seems to ignore {{DEFAULTSORT}}
. For example, right now, it lists Dave Kasper under "D" even though that article includes the markup {{DEFAULTSORT:Kasper, Dave}}
. —Anomalocaris (talk) 19:58, 29 July 2020 (UTC)