Template:SemiBareRefNeedsTitle
This template is used on approximately 2,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
This is a (probably-temporary) template used by @BrownHairedGirl to track a set of references which are being improved.
It creates no output and in most cases it populates no-tracking categories. Its only purpose is to create backlinks: see Special:WhatLinksHere/Template:SemiBareRefNeedsTitle
This template is used as part of a cleanup of "semi-bare" refs, i.e. which are almost WP:Bare URLs. Specifically, those where <ref> ... </ref>
tags contain only a bare URL followed by an accessdate.
Examples:
<ref>http://example.com/fubar Accessed 20 July 2017.</ref>
<ref>http://example.net/greensky Accessed on 9 March 1825</ref>
<ref>http://example.edu/stuff Accessed: 3 October 2020</ref>
<ref>http://haddock.example/fried Retrieved: 8 December 2001</ref>
<ref>http://trout.example/baked Retrieved on 5 January 1906</ref>
<ref>http://beef.example/roast accessdate: 23 June 2014</ref>
<ref>http://lamb.example/grilled accessdate=31 November 2007</ref>
The ref may be formatted as if it was a fragment from a citation template
<ref>http://bankster.example/bbqed|accessdate=31 November 2007</ref>
The URL may be wrapped in square brackets:
<ref>[http://pork.example/tartare] accessed: 16 August 2004</ref>
<ref>[http://venison.example/stewed] Retrieved on 4 February 1798</ref>
These references cannot be filled by tool such as WP:Reflinks, WP:ReFill, or @Citation bot. (Testcases at Template:SemiBareRefNeedsTitle/examples.)
Using AWB, these refs are being converted into partially-filled {{cite web}} templates, followed by {{SemiBareRefNeedsTitle}}, e.g.
- old ref:
<ref>http://example.edu/stuff Accessed: 3 October 2020</ref>
- new ref:
<ref>{{cite web |url=http://example.edu/stuff |title= |website=example.edu |access-date=3 October 2020}}{{SemiBareRefNeedsTitle|date=May 2022}}</ref>
These partially-filled partially-filled {{cite web}} templates will be fed to @Citation bot, hopefully to be filled by the bot. Those which are not filled by @Citation bot will be filled manually.
In the meantime, they will look horrible. In the example above:
8 <ref>http://example.edu/stuff Accessed: 3 October 2020</ref>
→ "Error: no |title=
specified when using {{Cite web}}". http://example.edu/stuff.
When the |title=
parameter is filled, this template should be removed.
Tracking category
- Category:SemiBareRefNeedsTitle non-HTML (1 pages)