Category:Pages with citations having wikilinks embedded in URL titles

From Wikipedia, the free encyclopedia
Jump to: navigation, search

This is a tracking category for CS1 citations that have wikilinks embedded in |title=, |chapter=, |article=, or |booktitle=, etc. while also specifying a URL for that element.

Information icon.svg Help desk

Wikilink embedded in URL title

External links in a rendered citation are a combination of url-holding parameters, |url=, |chapterurl=, etc., with title-holding parameters, |title=, |chapter=, etc. Title-holding parameters may be wikilinked to another Wikipedia article but not when there is a matching url-holding parameter in the citation. When this condition occurs, the wikilink is suppressed, the wiki markup ignored, and the rendered citation links to the external site.

Some templates will also cause this error if they are part of a title-holding parameter. The error occurs when the template produces wikilinked content. For example, {{lang}} templates output a wikilinked category. Templates in url-holding parameters may also corrupt the citation's COinS metadata. As a general rule, avoid using templates in title-holding parameters unless you know that the template's affects are entirely visual ({{!}} and the like).

This type of error may also occur in identifier-based templates ({{cite doi}}, etc.). When this happens, the error message is shown in the article but the error is actually located in the identifier-based citation template.

To resolve this error, remove wikilinks from title-holding parameters that are intended to be externally linked or remove the external URL, which will allow the internal wikilinks to work as expected. If wikilink-producing templates are important to the citation, move them out of the CS1 template but leave them inside the citation's <ref>...</ref> tags. Some of the functionality provided by templates may also be available through CS1 parameters.

To resolve errors in identifier-based citation templates, the template must be edited to correct the error. Exercise caution when editing these templates because identifier-based citation templates are often used in multiple articles.

Pages with this error are automatically placed in Category:Pages with citations having wikilinks embedded in URL titles.[a]


Notes[edit]

  1. ^ Pages in the Book talk, Category talk, Draft, Draft talk, Education Program talk, File talk, Help talk, MediaWiki talk, Module talk, Portal talk, Talk, Template talk, TimedText talk, User, User talk, and Wikipedia talk namespaces are not included in the error tracking categories.