This page is a soft redirect.
→<ref>((cite web|url=http://example.com |title=Example Domain|publisher=))</ref>
reFill (formerly Reflinks) is a tool that expands bare references semi-automatically, hosted on Toolforge. It adds information (page title, work/website, author and publication date, if metadata is included) to bare references, and does additional fixes as well (e.g. combining duplicated references). The tool is written in Python and licensed under Simplified BSD License. The tool is an open-source replacement of Dispenser's Reflinks. The source code is available on GitHub. The templates created automatically by the tool need to be reviewed to ensure that they are accurate, as they are often not.
If there is a particular article which contains bare URLs in the references, like this one, and you would like to request a Wikipedian that already has reFill installed (and is familiar with how it works) to help you fix the problem:
This will display a visible message (the text of which is shown at the top of Template:Cleanup-bare URLs) at the top of the Wikipedia article, and will also add the article to an 'invisible' category which requests that a Wikipedian experienced with reFill, apply it to the bare URLs in that article. It may take up to a week before someone notices your request, but if it has been several days and you have received no response, you can ask for additional assistance at the WP:TEAHOUSE.
|date=for filling in manually, when the corresponding metadata is unavailable.
|website=field if the website does not supply its name in embedded metadata.
Insert this code into your common.js:
An API is available, enabling user script and bot developers to take advantage of the APIs exposed by reFill to complete bare references programmatically.
|work=cannot be parsed. Please fill it in manually.
ReFill is not perfect, and never will be. You are responsible for every edit that ReFill 2 suggests so you must take the time to inspect every citation that this tool creates and fix anything that isn't quite right. Do not make work for other editors to clean up. Some publications misuse the HTML metadata tags that ReFill extracts such as:
first=Deutsche|last=Welle (www.dw.com)representing Deutsche Welle, rather than the author's name, or
Kosovo MPs elect lawyer Vjosa Osmani as president &#124; DW &#124; 04.04.2021– the title here is "Kosovo MPs elect lawyer Vjosa Osmani as president" and the text that follows it – such as the article's date – should be stripped out and a date= element added if not already present.
You'll need to remove these issues yourself.
ReFill extracts the date from the date meta tag. On some web pages there isn't such a meta tag, but the date can easily be found at the top of the body of the page. ReFill will not find it, but you can add it manually.
Main page: Wikipedia:Refill/technical
This is the same way that the 'Cite' button on the toolbar of Wikipedia's visual editor works.
This tech talk explains how this works and how Wikipedia editors can help improve how well tools like reFill and the cite button work.
List of Zotero translators
When ReFill encounters a bare URL which is an archive site, such as in:
archiveurlparameter rather than the newer
deadurl=yrather than the current
You will need to fix such references yourself manually to avoid an error showing in red in the references section. If your edit results in such an error, please fix it. The archive date can be found embedded in Wayback Machine links.
If using an editor that supports global replace,
archiveurl can be globally replaced by
When combining duplicate references, if one of them is already named, pointers to that name's reference are not updated when the name is changed.
If the tool is stuck displaying "waiting for an available worker", use this link to raise a report to get it restarted. You will need to register for a Phabricator account, which you will be able to link to your Wikipedia account. Fill in the description field and hit the "Create New Task" button.
If you have found a bug or want extra features, please post to the talk page. Alternatively, you can also create an issue on GitHub.
Having no Wikimedia Labs dependency, reFill can be installed on your own computer so that you can work on it. To contribute to reFill, create a fork on reFill's GitHub repository, make your changes and submit a pull request. Thank you for your contributions!
Volunteers are needed to help support and maintain reFill. If you are a software developer with experience in Python, Celery and Node.js and you are willing to help to any extent then please leave a message.
To translate the tool, please head over to translatewiki.net.