ප්රවර්ගය:CS1 errors: URL–wikilink conflict
මෙය නිරීක්ෂණ ප්රවර්ගයකි. පිටු ලැයිස්තු තැනීමට හා නඩත්තු කිරීමට මෙය භාවිතා වේ—(ප්රධාන වශයෙන් ලැයිස්තු සඳහාම හෝ ලිපි සහ ප්රවර්ගවල භාවිතය සඳහා). මෙය විශ්වකෝෂයේ වර්ගීකරණ යෝජනා ක්රමයේ කොටසක් නොවේ.
පැහැදිලි කිරීම:
|
පරිපාලකවරුනි: කරැණාකර මෙම ප්රවර්ගය හිස් වුවද මකා නොදමන්න! මෙම පණිවුඩයත් සමග තිබෙන ප්රවර්ග සමහර විට ඇතැම්විට යම්කිසි කාල සීමාවකට හෝ හිස්විය හැකියි. |
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.
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.
With {{cite journal}}
, auto-linking of the |pmc=
or |doi=
parameter value can cause this condition to occur implicitly without a specific url-holding parameter.
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 title-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 the conflict is implicitly caused through auto-linking (see above), this can be disabled using |title-link=none
. 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 (11 pages).[a]
Notes
[සංස්කරණය]- ^ Pages in the Book talk, 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.
"CS1 errors: URL–wikilink conflict" ප්රවර්ගයට අයත් පිටු
මෙම ප්රවර්ගය සතු සමස්ත පිටු 11 අතර, පහත දැක්වෙන පිටු 11 ද වෙති.