قالب:Cleanup bare URLs
This article uses bare URLs, which are uninformative and vulnerable to link rot. (مايو 2026) (Learn how and when to remove this template message) |
| This template is used on approximately 19٬000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page قبل تنفيذهم. |
| This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at نقاش المعرفة:AWB as a courtesy. |
| This template is used by the standard installation of Twinkle. If you are planning to make major changes to this template or nominate it for deletion, please notify Twinkle's user base and maintainers at Wikipedia talk:Twinkle as a courtesy. |
This template will add tagged articles to a cleanup category according to the month and year given.
What is a bare URL?
A bare URL is a link to a website with no identifying information except the link itself. It is not just a citation style that leaves the URL visible to the reader. Fully visible URLs are required by some citation styles, such as the MLA style. However, these visible URLs should be accompanied by useful descriptions of the page being linked, such as information about the author, title, and/or publication.
- Bare URLs—add this tag
- Good citations—do not add this tag
- Fuster V, Walsh RA, Harrington RA, eds. Hurst's The Heart. 13th ed. New York: McGraw-Hill; 2011. http://www.accessmedicine.com/content.aspx?aID=7812984.
- Fuster V, Walsh RA, Harrington RA, eds. Hurst's The Heart. 13th ed. New York: McGraw-Hill; 2011.[2]
How to use
Per Wikipedia:Bare URLs, using {{Bare URL inline}} is preferred to using this template. Please only use this banner template in egregious cases, where the article features numerous bare URLs or you find them particularly difficult to resolve.
Before adding this template, also consider trying the toollabs:refill tool.
To use Refill, paste into the text box the name of the page with bare references, then click the "Fix page" button. Wait patiently for the program to finish filling in all citation templates for each bare reference. When the result page is loaded, please double-check the changes made in the diff preview on the result page and fix the errors before clicking the "Show preview" button at the bottom. References that could not be filled in with the tool will be listed on the page. On the actual editing interface on-wiki, you may wish to check the changes once again and use Ohconfucius's scripts to automatically correct some mistakes. When everything looks fine, click the "Publish changes" button to save your changes.
If there are references you failed to fix or you need assistance in fixing them, paste this at the top of an article with bare-URL references:
{{Cleanup bare URLs|date=مايو 2026}}
Save the page. Someone else may click on the reFill tool link on the template to fix the bare references semi-automatically, or manually correct them.
A manual of the tool is available on Wikipedia:ReFill.
Tracking categories
This template places the article into the following categories:
- Category:All articles with bare URLs for citations — 333 pages
- Category:Articles with bare URLs for citations or a dated subcategory thereof, currently
- Category:Articles covered by WikiProject Wikify or a dated subcategory thereof, currently
- Category:Articles needing cleanup or a dated subcategory thereof, currently
If no date was added, a bot will add it later.
TemplateData
See the monthly error report for this template.
TemplateData for Cleanup bare URLs
Use this cleanup template to indicate that an article uses references containing bare URLs, which may be threatened by link rot.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| Month and year | date | The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.
| سطر | مقترح |
| Affected area | 1 | Text to replace the word "article", usually "section"
| سطر | اختياري |
On-demand search and tag
Tagbot adds the template on-demand. It searches for pages with bare links and tags them. See the control page Template:Cleanup bare URLs/bot for instructions how to trigger the bot to run.
In addition to |date= the bot adds two arguments:
|bot=wp:tagbot|requester=<username>ie. who requested the bot to run
Redirects
- {{Bare}}
- {{Bare links}}
- {{Barelinks}}
- {{Bare references}}
- {{Bare refs}}
- {{Bare URLs}}
- {{Bare urls}}
- {{Bareurls}}
- {{BareURLs}}
- {{Bare-URLs}}
- {{Cleanup link rot}}
- {{Cleanup link-rot}}
- {{Cleanup-link-rot}}
- {{Cleanup-linkrot}}
- {{Link rot}}
- {{Linkrot}}
See also
- List of Wikipedia articles with bare URLs
- {{Bare URL inline}}
- {{Citations broken}}
- {{Dead link}}
- {{External links}}
- Wikipedia:Link rot
- Wikipedia:Template messages/Cleanup
| The above documentation is transcluded from قالب:Cleanup bare URLs/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |