Access dates

Does reFill automatically add an Access date? My understanding is that giving an access date means "On this date the content of the web page supported the content of this article". So unless a user of reFill checks each link to ensure that the information which was being cited is still there, it is misleading to add an access-date which only shows that a web page still exists at that URL. See the 3 links handled by reFill here.(Pinging @Jabberjaw: for info.) PamD 08:36, 31 August 2018 (UTC)[reply]

I notice that "Do not add access dates" is an option in reFill. I suggest that it should be the default, with a warning not to add it unless the content has been verified as still supporting the statements in the article. PamD 08:38, 31 August 2018 (UTC)[reply]
There's a relevant sentence in WP:CITE: For web-only sources with no publication date, the "Retrieved" date (or the date you accessed the web page) should be included, in case the web page changes in the future.. PamD 08:45, 31 August 2018 (UTC)[reply]
And the documentation for ((Cite web#URL)) is also very clear: Note that access-date is the date that the URL was found to be working and to support the text being cited., so users of reFill should opt to switch off the addition of "access-date" unless they are going to verify that every reference they upgrade still supports every fact it is cited to support in the article. Thanks. PamD 13:54, 24 September 2018 (UTC)[reply]
I would support access-date being off by default (or only being added in cases where no date info is available). I would also encourage the maintainers of this tool to update it so that it uses access-date (including hyphen) same as Template:cite web now recommends. -- 109.78.238.236 (talk) 15:04, 12 January 2019 (UTC)[reply]

Carriage Return blocks the ReFill of a URL

I've been checking a whole bunch of new articles about members of the Maryland House of Delegates. Several would not ReFill at the first attempt, such as Haven Shoemaker. On investigation the carriage return before the closing ref tag in

<ref>https://msa.maryland.gov/msa/mdmanual/06hse/html/msa15375.html
</ref>

prevented ReFill from working, whereas it would properly fill out

<ref>https://msa.maryland.gov/msa/mdmanual/06hse/html/msa15375.html</ref>

Is this something which can be fixed? Thanks, Cabayi (talk) 10:45, 18 November 2018 (UTC)[reply]

@Cabayi: This is likely too late, but I just tested, and reFill 2, the new version under development, handles this correctly. If you have the toolbox script enabled on enwiki, you may have seen a new link in your toolbox pointing at the new version. It's the one that resolves many of the long-standing issues plaguing reFill, and is where future development efforts should go. Zhaofeng Li talk (Please ((Ping)) when replying) 18:00, 12 January 2019 (UTC)[reply]
Zhaofeng Li, Thanks, that works a treat! Cabayi (talk) 18:31, 12 January 2019 (UTC)[reply]

BBC Genome

Refill appears to be adding incorrect dates to these sources (such as here). Instead of adding the correct date for the programme concerned it appears to be adding the date for the corresponding edition of the Radio Times in which the original listings appeared. This is something that happened in the past but which had been fixed for a while. It seems a bit confusing to do it this way though. Any thoughts? This is Paul (talk) 21:54, 14 December 2018 (UTC)[reply]

@This is Paul: Didn't have a chance to look at this until now, and I have implemented special handling for BBC Genome on reFill 2. Zhaofeng Li talk (Please ((Ping)) when replying) 02:07, 13 January 2019 (UTC)[reply]

reFill 2 replacing references with other references

Can anyone take a look at this diff? feminist (talk) 16:55, 12 January 2019 (UTC)[reply]

@Feminist: Looking into it. Zhaofeng Li talk (Please ((Ping)) when replying) 17:02, 12 January 2019 (UTC)[reply]
@Feminist:  Fixed Just took a look, and the problem should be fixed now. There was an error in the way the tool merged duplicate references. Thanks for the report! Zhaofeng Li talk (Please ((Ping)) when replying) 17:23, 12 January 2019 (UTC)[reply]

refill 2 feedback

Hi Zhaofeng Li, like to say my thanks for a great tool and it helps a lot! Some feedback on refill 2. I applied refill 2 on the article San Diego Film Week and nothing is filled in except merging the 2 references here. Tested one of the unfilled urls and the site is up and decided to try refill and 7 references are filled in here. Maybe you can take a look and see what caused the tool not picking up the sites information. --Xaiver0510 (talk) 01:47, 14 January 2019 (UTC)[reply]

@Xaiver0510: Thanks for the feedback! I have tweaked the parser so that it no longer ignores citations with an existing title/caption, while citations with other unparsable information will still be skipped (so that we don't remove information). Zhaofeng Li talk (Please ((Ping)) when replying) 02:57, 14 January 2019 (UTC)[reply]

Refill 2 fails to run on HAL/NAL Regional Transport Aircraft and Xian Y-7

Hello, when running Refill 2 on HAL/NAL Regional Transport Aircraft this message comes up: "Failed An error has occurred." I have tried running it multiple times however that doesn't change anything. Redalert2fan (talk) 13:03, 16 January 2019 (UTC)[reply]

One more; Xian Y-7 has the same issue. Redalert2fan (talk) 14:38, 16 January 2019 (UTC)[reply]
@Redalert2fan:  Fixed Thanks! Zhaofeng Li talk (Please ((Ping)) when replying) 21:18, 17 January 2019 (UTC)[reply]

Refill 2 adds invalid dates

Hi, in this edit it added a date of 2033. It should add only valid dates. Also appear to have no option to add the |accessdate= parameter as per previous version. Keith D (talk) 15:21, 16 January 2019 (UTC)[reply]

@Keith D:  Fixed Now the tool will no longer add dates that are in the future, with a 1-day threshold for timezone differences. Zhaofeng Li talk (Please ((Ping)) when replying) 21:17, 17 January 2019 (UTC)[reply]
@Zhaofeng Li: Thanks for fix. Any way of adding the |accessdate= parameter? Keith D (talk) 21:45, 17 January 2019 (UTC)[reply]
@Keith D: Yes, this will be added in the next few days. Zhaofeng Li talk (Please ((Ping)) when replying) 23:32, 17 January 2019 (UTC)[reply]
FWIW, allowable dates in CS1 citations are as follows, per the documentation at e.g. ((cite book)): "Future dates in |date= in CS1|2 citations are limited to current year + 1; that is, for 2019, citation dates in 2020 are acceptable but citation dates in 2021 and beyond are not." ... "The access date (in |access-date=) is checked to ensure that it contains a full date (day, month, and year) and is between 15 January 2001 (the founding date of Wikipedia) and today's date plus one day" – Jonesey95 (talk) 15:58, 18 January 2019 (UTC)[reply]
@Keith D: Been busy lately, but this is now added. You can activate it by navigating to https://tools.wmflabs.org/refill/ng/, and clicking on "Preferences." Zhaofeng Li talk (Please ((Ping)) when replying) 06:19, 24 January 2019 (UTC)[reply]

Dates again using Refill 2

Hi, I tried on this version of Reginald Maudling but did not save. The tool failed to honour the ((use dmy dates)) template in the article and added a date in MDY format. Also it failed to expand the month name. Keith D (talk) 16:25, 19 January 2019 (UTC)[reply]

@Keith D:  Fixed The tool can now determine the preferred date format from the presence of ((Use mdy dates)) or ((Use dmy dates)). We may need a table to keep track of features in both versions, in order to achieve feature parity. Zhaofeng Li talk (Please ((Ping)) when replying) 23:47, 20 January 2019 (UTC)[reply]
Is it mdy by default? It used to be dmy. Is it possible to make it dmy without adding ((Use dmy dates))? Thanks. Pelmeen10 (talk) 20:53, 21 January 2019 (UTC)[reply]
@Pelmeen10: Sure, it's now possible to change the default date format. Just navigate to https://tools.wmflabs.org/refill/ng/ and click on "Preferences." Zhaofeng Li talk (Please ((Ping)) when replying) 06:17, 24 January 2019 (UTC)[reply]

refill 2 failed to merge same references together and did not fill in the correct title

Hi, I applied refill 2 first then refill later as I noted 2 same reference are not merged (likely due to 2 titles are not the same for the same reference) and refill manage to rename a reference properly. Thanks --Xaiver0510 (talk) 04:17, 21 January 2019 (UTC)[reply]

@Xaiver0510: Thanks for the note. reFill 2 used to only do one pass of merging before bare references are filled, and I have changed it to also merge references after bare URLs are fixed. Regarding the skipped links, the behavior of reFill 2 was correct and intentional. The links http://www.costar.com/News/Article/CoStars-Retail-News-Roundup-Apr-12-to-18-2009/111372 and http://www.luxist.com/2009/04/13/ultra-diamonds-files-for-bankruptcy/ are dead links that redirect to the homepages of the respective websites, and I have implemented checks in reFill 2 to detect and skip such links. When you click on the red edit icons (like 🖉) before the unfixed links on the result page, you'll see an explanation why the link was skipped (in this case, Redirected to homepage). You may want to edit the references in the aforementioned article. Zhaofeng Li talk (Please ((Ping)) when replying) 05:04, 21 January 2019 (UTC)[reply]
@Zhaofeng Li: Ah okay, I realised I see wrongly on the second part. Thanks! --Xaiver0510 (talk) 05:17, 21 January 2019 (UTC)[reply]

reFill 2 not working

Currently, whenever I try to use reFill 2, I'm told Submitting your task... Internal Server Error. Refill (the previous version) still works though. --DannyS712 (talk) 05:50, 24 January 2019 (UTC)[reply]

@DannyS712:  Fixed Broke something while implementing a new feature. Thanks for bringing this to my attention. Zhaofeng Li talk (Please ((Ping)) when replying) 05:58, 24 January 2019 (UTC)[reply]
@Zhaofeng Li: Thanks so much --DannyS712 (talk) 06:04, 24 January 2019 (UTC)[reply]

reFill 2 edit summary suggestion

I just ran reFill 2, and its edit summary was "Filled in 1 bare reference(s) with reFill 2". I suggest that "reFill" or "reFill 2" should be linked to an appropriate page so that editors looking at edit summaries can learn more about the tool. – Jonesey95 (talk) 15:35, 24 January 2019 (UTC)[reply]

@Jonesey95: Forgot to reply to this one. The "reFill 2" designation in the edit summary is temporary, and will be replaced with a link to the information page and a complete version number. Zhaofeng Li talk (Please ((Ping)) when replying) 22:55, 29 January 2019 (UTC)[reply]

Refill2 stalls at 90%

I just got around to trying Refill2. It looks pretty, but takes forever to get to 90% complete, where it seems to get stuck. I left it running overnight, and in the morning it was still at 90%.--Gronk Oz (talk) 22:29, 29 January 2019 (UTC)[reply]

@Gronk Oz: Could you provide a link to the task? It might have been interrupted when the backend was restarted for updates. Zhaofeng Li talk (Please ((Ping)) when replying) 22:54, 29 January 2019 (UTC)[reply]
@Zhaofeng Li: How do I provide a link to the task? It's not still running - I interrupted it. The article in question was Channel Institute.--Gronk Oz (talk) 23:02, 29 January 2019 (UTC)[reply]
@Gronk Oz: If you still have the original tab open, you can paste the URL here - It's a shareable link containing the unique ID of the task. I see that you re-ran the tool and edited the page successfully afterwards, so things seem to be fine here. I probably should look into marking tasks as failed/revoked when the backend is shut down, to avoid any confusion that may occur. Zhaofeng Li talk (Please ((Ping)) when replying) 23:25, 29 January 2019 (UTC)[reply]
@Zhaofeng Li: Sorry, this all happened yesterday so the tabs are long closed and the job done. I never did get ReFill2 to run to completion - in the end I interrupted it while it was at 90% by clicking the button at the bottom (I think it said something like "Review/Save"). Anyway, like I said that job is done now: I just thought I would report here so you have a record. Sorry if that caused any confusion.--Gronk Oz (talk) 00:14, 30 January 2019 (UTC)[reply]

Refill 2 and dates

Hello, in this edit the refill 2 process completed strange dates |date=Nov 30, 1 rather than |date=22 January 2014 Keith D (talk) 00:29, 8 February 2019 (UTC)[reply]

That is date=zero as formatted by PHP. It’s a common date on websites when they try to print date of NULL. AManWithNoPlan (talk) 00:46, 8 February 2019 (UTC)[reply]
@Keith D and AManWithNoPlan: Thanks all! I'll add checks that will prevent such dates from being added. Zhaofeng Li talk (Please ((Ping)) when replying) 08:20, 8 February 2019 (UTC)[reply]

ReFill problems with non-Latin characters

Hello. I'm glad you're back and working on ReFill again. I haven't used it myself; sometimes I see its results when I'm fixing errors. Today I noticed some problems with non-Latin characters. It replaced Chinese text here with something unrecognizable to my browser, as well as changing the URL for the first ref after line 108 from a specific Yahoo subpage to simply Yahoo.com. In another article, it stumbled over Cyrillic text. Here's a second example of the problem with Cyrillic, though that may be the old version of ReFill. Cheers, BlackcurrantTea (talk) 18:33, 16 February 2019 (UTC)[reply]

@BlackcurrantTea: The non-Latin mojibake problems were related to Citoid (see my talk page and phab:T212490), and have been fixed by WMF. I have tested all examples you provided, and the issue no longer occurs on either reFill 1 or 2. For the Yahoo dead link, reFill 2 has the ability to detect links that redirect to the websites' homepage and avoid replacing such links, but the detection would still fail in this case (cross-domain redirect). This is a problem that I will fix. By the way, all of your examples were produced by the original version of reFill. The new version lives here, and adds "reFill 2" to the default edit summary. Zhaofeng Li talk (Please ((Ping)) when replying) 20:34, 16 February 2019 (UTC)[reply]
That's good to know. If I run into new errors from the old version, I'll try to remember to let the editor know there's a new and improved version available. Thanks! BlackcurrantTea (talk) 21:14, 16 February 2019 (UTC)[reply]
@BlackcurrantTea: Thanks to you as well! That won't be necessary in the near future, as the new version will become the default when some outstanding problems are fixed. Zhaofeng Li talk (Please ((Ping)) when replying) 21:19, 16 February 2019 (UTC)[reply]

Dates in ReFill 2

Hi, Zhaofeng Li! Can you make the numeric date format generates dates like 18. 02. 2019. or 18. 2. 2019, but not like 18.02.2019. Thanks in advance! Acamicamacaraca (talk) 12:07, 18 February 2019 (UTC)[reply]

Those are not acceptable date formats on Wikipedia. See MOS:DATEFORMAT. – Jonesey95 (talk) 12:36, 18 February 2019 (UTC)[reply]
But they are used on other Wikipedias, but still need to make the correction I mentioned above. Acamicamacaraca (talk) 17:40, 18 February 2019 (UTC)[reply]

This:

[http://www.babylonia-ti.ch/BABY205/PDF/tschirner.pdf] ((webarchive|url=https://web.archive.org/web/20060313041051/http://www.babylonia-ti.ch/BABY205/PDF/tschirner.pdf|date=13 March 2006))

should not produce this:

((Cite web|url=http://babylonia.ch/|archiveurl=https://web.archive.org/web/20060313041051/http://www.babylonia-ti.ch/BABY205/PDF/tschirner.pdf|deadurl=y|title=BABYLONIA|archivedate=13 March 2006|website=babylonia.ch))

In the result:

—Trappist the monk (talk) 16:07, 21 February 2019 (UTC)[reply]

refill down?

I keep getting error 503 bad gateway [Username Needed] 10:53, 25 February 2019 (UTC)[reply]

Refill 2

HI running on this version of the Bradford article works OK but in the display it has 2 problems -

<ref>RFLe0LFR[http://www.leedscityregionatmipim.co.uk/wp-content/themes/MIPIM/images/MIPIM%202013%20Bradford%20Brochure.pdf]

where it shows RFLe0LFR to be inserted.

RFLc1LFRCite web|url=https://www.bradfordmuseums.org/blog/bradford-and-st-blaise/|title=Bradford and St Blaise | Bradford Museums & Galleries Blog|website=www.bradfordmuseums.org|accessdate=27 February 2019}

where it shows RFLc1LFR in place of the ((.

Keith D (talk) 00:42, 27 February 2019 (UTC)[reply]

I have no idea what this means

Thanks for reFill. Please add tooltips, glossary, etc. to explain thoroughly all the options. I find that developers often fail to do this. And it is a shame because their tools would be used by more people if they did.

For example; I have no idea what this means:

I don't want an explanation here alone. It needs to be on the reFill page itself. Easy to get to.

-- Timeshifter (talk) 20:39, 16 March 2019 (UTC)[reply]

reFill adding languages

Hi Zhaofeng Li. reFill is such a useful tool; it comes in handy a lot. One thing that I've wondered if you've considered is if reFill could possibly be coded so that it could pick up what language the source is in and use the "|language=Italian" for example to denote a source written in Italian. Is this a possible feature that can be worked into reFill? Regards, Vaselineeeeeeee★★★ 15:22, 23 March 2019 (UTC)[reply]

Permission?

Hi, @Zhaofeng Li:, I'm Zanygenius and I would like to use your "reFill" script to help me out with citations. You can learn more about me here, as well as my userboxes. If I had reFill, I would mostly correct my own references, however I would use it to fill in bare references of other users as well. Thank you and have a nice day, Zanygenius(talk to me!)(email me!) 16:35, 23 March 2019 (UTC)[reply]

Possible bug in reFill: Space changed to NBSP (in template parameter assignment)

The change of a regular space to a non-breaking space (NBSP) in this edit looks like a likely bug in reFill. It's on the line with |type2=point (but is actually within the assignment of the title parameter, causing the displayed tooltip on the map to be "Al Noor Mosque &#160;").

Because NBSPs don't work like regular spaces in template parameter assignments, an NBSP (whether a Unicode character or encoded as &nbsp; or &#160;) replacing a regular space can break the function of a template more severely than this example. --Pipetricker (talk) 12:48, 24 March 2019 (UTC)[reply]

Add support for Ukrainian Wikipedia (uk.wikipedia.org) on reFILL

Hi, not sure where I could submit my request, but I would like to support for Ukrainian Wikipedia (uk.wikipedia.org) on https://tools.wmflabs.org/refill/ . How do I do that?--Piznajko (talk) 20:45, 30 March 2019 (UTC)[reply]

Refill dates

Hi, there appears to be a problem with the refill edits filling in invalid dates. This edit added a date of |date=2 April 8008 and this change added |date=2 April 9802. Keith D (talk) 20:17, 2 April 2019 (UTC)[reply]

ReFill 2 - Duplicate authors

I love the functionality of ReFill 2, but I have come across one bug:

<ref>https://deadline.com/2019/02/lenora-crichlow-avenue-5-pilot-cast-hbo-armando-iannucci-1202565470/</ref>

renders as:

<ref>((Cite web|url=https://deadline.com/2019/02/lenora-crichlow-avenue-5-pilot-cast-hbo-armando-iannucci-1202565470/|title=Lenora Crichlow Joins Cast Of HBO’s ‘Avenue 5’ Pilot From Armando Iannucci|first1=Patrick|last1=Hipes|first2=Patrick|last2=Hipes|date=February 26, 2019))</ref>

and adds the same author twice. It also occurs for multiple authors:

<ref>((Cite web|url=https://deadline.com/2019/02/avenue-5-josh-gad-star-armando-iannucci-hbo-comedy-pilot-1202562221/ |title=‘Avenue 5’: Josh Gad To Star In Armando Iannucci's HBO Comedy Pilot|first1=Nellie Andreeva,Denise|last1=Petski|first2=Nellie|last2=Andreeva|first3=Denise|last3=Petski|date=February 21, 2019))</ref>

I have mostly had this happen for Deadline Hollywood citations, which I figured was an issue with their code, but now it has also happened with TVLine:

<ref>((Cite web|url=https://tvline.com/2019/02/20/zach-woods-avenue-5-hbo-space-comedy-cast/ |title=Silicon Valley's Zach Woods Joins Veep Creator Armando Iannucci's Sci-Fi Comedy Pilot Avenue 5 at HBO|first1=Michael|last1=Ausiello|first2=Michael|last2=Ausiello|date=February 20, 2019))</ref>

The problem is likely in the external website's code, but perhaps this tool can employ a workaround? Thanks!— TAnthonyTalk 21:04, 22 April 2019 (UTC)[reply]

Also occurred with Rolling Stone: ((Cite web|url=https://www.rollingstone.com/tv/tv-news/melrose-place-is-a-really-good-show-57740/|title='Melrose Place' Is a Really Good Show|first1=David|last1=Wild|first2=David|last2=Wild|date=May 19, 1994))
No one has a fix?— TAnthonyTalk 19:02, 30 April 2019 (UTC)[reply]

Issue with removing https from urls (seemingly) randomly

On refilling Draft:IACCM (International Association for Contract and Commercial Management), the ref https://software.iaccm.com/ was changed from https to http. Not sure why this was changed, as the website supports https (and the certificate is valid etc.) and other websites which support https were not changed to http on the same draft on the same run. Details below:

Thanks, Dreamy Jazz 🎷 talk to me | my contributions 19:32, 26 April 2019 (UTC)[reply]

refill destroys formatting

@Fort esc: seemed to have used refill which destroyed formatting of the references here. it was one reference per line so it is easier to edit. after, everything is one big worm of text. --ThurnerRupert (talk) 16:46, 11 May 2019 (UTC)[reply]

@ThurnerRupert: it seems that refill edit is the next, not the one you're referring to (then it would have made more edits there). --Edgars2007 (talk/contribs) 17:06, 11 May 2019 (UTC)[reply]
reFill did not make the first edit. The first edit correctly removed spaces between references, per MOS:REFSPACE. – Jonesey95 (talk) 20:28, 11 May 2019 (UTC)[reply]

Destroys data when Refill changing bare URLs to google.com

If I run Refill or Refill 2 on this text, it converts the 3 bare URLs to google.com. Any idea why? The text is a (slightly modified) excerpt from this old version of this page. Thanks. DH85868993 (talk) 22:18, 14 May 2019 (UTC)[reply]

@DH85868993: This looks like an anti-bot measure employed by the server. I will change the user-agent string to better identify the tool and resolve the problem. Sorry for the late reply. Zhaofeng Li talk (Please ((Ping)) when replying) 21:45, 1 July 2019 (UTC)[reply]

Destroys data when there are existing named references

https://en.wikipedia.org/w/index.php?title=Child_marriage_in_Niger&type=revision&diff=896910605&oldid=896909962

both 1 & 2 versions. AManWithNoPlan (talk) 03:13, 15 May 2019 (UTC)[reply]

Fills website with URL address, this creates a Hidden error message

The refill is great. It does however, fill the website parameter with the URL address. This then creates a Hidden error message on articles because the website parameter should not be a URL address but the name of the Website. For example, the website parameter should contain CNN not www.cnn.com --The Eloquent Peasant (talk) 13:38, 23 June 2019 (UTC)[reply]

Cite news --> cite web

@Zhaofeng Li: is reFill doing WEIRD? changing "cite news" into "cite web"? Is that new? Thank you for your time. Lotje (talk) 06:17, 1 July 2019 (UTC)[reply]

Error msg: Submitting your task... The browser (or proxy) sent a request that this server could not understand

reFill is acting strange today. I use it through the URL https://tools.wmflabs.org/refill/ , then click "Toggle advanced input", and enter a raw URL sandwiched between 'ref' and '/ref' tags. I've been getting the error message:

Nomopbs (talk) 17:38, 1 July 2019 (UTC)[reply]