{{#ifeq:{{{small}}}|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:cleanup bare urls |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Cleanup bare URLs
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Cleanup bare URLs|Cleanup bare URLs|}}}} {{#if:||{{#ifeq:Cleanup bare URLs|Cleanup bare URLs|}}}}

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

How to use编辑

Before adding this template, consider trying toollabs: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=11月 2024}}

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 User:Zhaofeng Li/reFill.

This template will add tagged articles to Category:Articles with bare URLs for citations and Category:Wikipedia cleanup, or a dated subcategory thereof. If no date was added, a bot will add it later. It will also be added to Category:Articles covered by WikiProject Wikify.

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 |{{SAFESUBST:#if:date|date=}} the bot adds two arguments:

  • |{{SAFESUBST:#if:bot|bot=}}wp:tagbot
  • |{{SAFESUBST:#if:requester|requester=}}<username> ie. who requested the bot to run

Redirects编辑

{{#if:

|
{{#if: * {{Bare}} {{#if:|
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
}}
   |* {{Bare}}
{{#if:|
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
}}
}}{{#ifeq: |yes
   |}}}}

And more

See also编辑

{{#if:{{#ifeq:Cleanup|sandbox|1}}{{#ifeq:Cleanup bare URLs|doc|1}}||

pt:Predefinição:Formatar referências sl:Predloga:GoliURL zh:Template:Bare URLs }}