Jump to content

Category:CS1 errors: parameter link

From Wikipedia, the free encyclopedia

This is a tracking category for CS1 citations that have |param-link= errors.

  • Check |<param>-link= value
  • Check |<param>= value

These link-holding parameters and their matching title-/name-holding parameters are combined to create a working wikilink to a related article.

Parameters combined to make wikilinks
Link-holding parameter title-/name-holding parameter(s)
|author-link= |author=, |last=, |last= + |first=
|contributor-link= |contributor=, |contributor-last=, |contributor-last= + |contributor-first=
|editor-link= |editor=, |editor-last=, |editor-last= + |editor-first=
|episode-link= |episode=
|interviewer-link= |interviewer=, |interviewer-last=, |interviewer-last= + |interviewer-first=
|series-link= |series=
|subject-link= |subject=
|title-link= |title=
|translator-link= |translator=, |translator-last=, |translator-last= + |translator-first=
† Parameters checked for this error may also have the enumerated forms: |author-linkn= or |authorn-link= etc.

This error occurs when any of these |<param>-link= parameters contain a wikilink or a URL, or they contain any of the characters not permitted in Wikipedia article titles per WP:TITLESPECIALCHARACTERS (except _ (underscore), used as a replacement for spaces, and #, used as a fragment identifier when linking to article sections). The prohibited characters are: < > [ ] | { }.

The |<param>-link= parameter value should contain only the title of a Wikipedia article or a link to a section of a Wikipedia article. Module:Citation/CS1 checks the |<param>-link= parameter values for wikimarkup and for a URI scheme (http://, https://, the protocol relative scheme //, etc.). Interlanguage links in any of the |<param>-link= parameters require a leading colon:

:fr:Période d'exil de Caravage

While primarily intended to catch the errors mentioned above, Module:Citation/CS1 will also catch malformed interlanguage wikilinks wherever they occur. Interlanguage wikilinks that have the form:

[[fr:Période d'exil de Caravage]]

do not create visible clickable links in the article text. Instead, these links appear in the left pane in the languages list. Module:Citation/CS1 disables interlanguage links in this form and emits an error message. The correct form is:

[[:fr:Période d'exil de Caravage]]

This error can also be caused when:

  • there is a |<param>-link= value and the matching |<param>= parameter contains a wikilink.
  • |first= and |<param>-first= (and enumerated forms) contain a wikilink

To resolve this error, do one of the following:

  • Ensure that the |<param>-link= value is the full name of a Wikipedia article (without brackets) or a section of an article, and not a link to an external web site.
  • Make sure that there are no wikilinks in the matching |<param>= parameters.
  • If you want to link to a URL outside of Wikipedia, move the link to |url= or a similar parameter, if one is available in the template you are using.

Pages with this error are automatically placed in Category:CS1 errors: parameter link.[a]


Notes

[edit]
  1. ^ Pages in the Category talk, Draft talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, User, User talk, and Wikipedia talk namespaces are not included in the tracking categories. In addition, pages with names matching the patterns '/[Ss]andbox', '/[Tt]estcases', '/[^/]*[Ll]og', and '/[Aa]rchive' are not included in the tracking categories.
There are no pages or files in this category.
This list may not reflect recent changes (learn more).