Category:CS1 errors: URL–wikilink conflict

From Simple English Wikipedia, the free encyclopedia
Jump to navigation Jump to 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

URL–wikilink conflict

External links in a rendered citation are a combination of url-holding parameters, |url=, |chapter-url=, 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 effects 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:CS1 errors: URL–wikilink conflict.[a]


Notes[change | change source]

  1. Pages in the Book talk, Category talk, Draft talk, Education Program 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 error tracking categories.
https://simple.wikipedia.org/wiki/Category:CS1_errors:_URL%E2%80%93wikilink_conflict
simple.wikipedia.org
crawl=CC-MAIN-2021-39
59937
application/http; msgtype=response
sha1:MRYVQP76Q7ODZNT3KDZZZCWXPULRJQ2M
<urn:uuid:05097457-f21e-41ec-8e21-27d98276f15e>
2021-09-22T09:36:42Z
208.80.154.224
text/html
sha1:CB3TCY55HPLX6TG3P4ZAJE3AF67DTKJJ
<urn:uuid:4f767e27-2b09-466b-bba9-77b028755ade>
https://simple.wikipedia.org/wiki/Category:CS1_errors:_URL%E2%80%93wikilink_conflict
response
<urn:uuid:1dba718c-a64b-4c40-8c38-9f299623835e>
isPartOf: CC-MAIN-2021-39
publisher: Common Crawl
description: Wide crawl of the web for September 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-130
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/