Wikipedia talk:ReFill/Archive 2
This is an archive of past discussions on Wikipedia:ReFill. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 |
Bug seen in refill
Thanks a lot for this great tool, but see [1] and the edit by refill which preceded that. Wtmitchell (talk) (earlier Boracay Bill) 22:47, 13 November 2015 (UTC)
- @Wtmitchell: Confirmed An interesting bug. Working to fix it. Thanks for the report! Zhaofeng Li [talk ♦ contribs] 02:35, 19 November 2015 (UTC)
- Well, given that using regular expressions can only lead to more problems like this, I'm considering switching to mw:Parsoid to parse the wikitext. Zhaofeng Li [talk ♦ contribs] 02:57, 19 November 2015 (UTC)
- @Wtmitchell and Jeff G.: Fixed in the test version, which should no longer remove references incorrectly.99e5f4 As the fix changed the way the parser works, more testing is needed before it's considered stable. Thanks for your report! Zhaofeng Li [talk ♦ contribs] 11:56, 12 December 2015 (UTC)::::And thanks for the fix. Wtmitchell (talk) (earlier Boracay Bill) 12:16, 12 December 2015 (UTC)
- Well, given that using regular expressions can only lead to more problems like this, I'm considering switching to mw:Parsoid to parse the wikitext. Zhaofeng Li [talk ♦ contribs] 02:57, 19 November 2015 (UTC)
Last checkbox
The last checkbox, which says "Use the base domain name as work when this information cannot be parsed", is now unchecked by default. GeoffreyT2000 (talk) 15:18, 13 December 2015 (UTC)
- @GeoffreyT2000: There are concerns that using bare domain names might lead to "unclean" references. Thus the default configurations have been changed to disable this option. The proper name of the website is preferred for
|work=
, and should be manually inserted when one cannot be automatically found. Zhaofeng Li [talk ♦ contribs] 12:33, 16 December 2015 (UTC)
nowatch in bookmarklet
Is there an option to leave the watch status alone? That is, to neither add nor remove the page from the watchlist. Thanks, Bazj (talk) 13:20, 12 December 2015 (UTC)
- @Bazj: Sorry for the late response. Launching the tool through the toolbox link will preserve the watchlist status. Zhaofeng Li [talk ♦ contribs] 12:28, 16 December 2015 (UTC)
- Thanks, I've put the code in my settings and I'll give it a try. I'd still prefer to have the functionality in a bookmarklet so that it's there on my desktop browser, and not there on my phone's browser (where wiki pages sometimes baulk at loading, and I'm more likely to make a fat-finger mistake). Bazj (talk) 10:15, 17 December 2015 (UTC)
Wikipédia in French
Hello Zhaofeng Li, I would like that your tool could be used on the Wikipédia in French. I've seen that I could help to translate on Transifex, so I made an account there. I am waiting that French is added to the list of languages to join the team. Regards, Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 07:25, 18 October 2015 (UTC) — Preceding unsigned comment added by SyntaxTerror (talk • contribs)
- @SyntaxTerror: Done Sorry for the long wait. I have now added you to the Transifex team. By the way, my condolences to those affected by the Paris bombing. Terror will not win. Zhaofeng Li [talk ♦ contribs] 09:11, 16 November 2015 (UTC)
- @Zhaofeng Li: Thank you Zhaofeng, but I still cannot view French in the list when I click on the button "Join the Team", and I am still not a member of the French team. I don't know where is the problem...
- Concerning the wait, I understand that if you are in school, your studies are more important than Wikipedia. Regards, Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 17:24, 16 November 2015 (UTC)
- @SyntaxTerror: Looks like I didn't complete the procedure successfully. You are now onboard! Zhaofeng Li [talk ♦ contribs] 06:46, 17 November 2015 (UTC)
- @Zhaofeng Li: it seems to be working, thanks. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 06:57, 17 November 2015 (UTC)
- @Zhaofeng Li: I've finished translating, but I still need to test the tool to see if my work is accurate. There is one thing that I don't understand : can this tool work with the local template of wp.fr {{lien web}} and its parameters, or will it just work with the wp.en {{citeweb}}?
- Also, I've seen this mistake while translating: line 34 "Due to limits, the program was't able to fix all references. Try saving and running the tool again." Regards, Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 08:07, 17 November 2015 (UTC)
- @SyntaxTerror: Thanks very much for your translations! I will test it out now. By the way, frwiki seems to support the
{{Cite web}}
(which is actually a redirect to{{Lien web}}
) along with its English parameters. However, it is indeed better if the tool could generate templates with localized parameter names. I will look into how to implement it. - About the mistake, does "The program could not fix all references" sound better? Zhaofeng Li [talk ♦ contribs] 08:19, 17 November 2015 (UTC)
- I know that {{cite web}} is also working on wp.fr, but many people there don't like templates with english parameters, so it would not ba a good thing to put {{cite web}} templates... If you want, I can give you the equivalent parameter names in French in a few minutes.
- It would be nice to have the same translation for your other tool, CiteGen. It would be really helpful. Also, If it was possible, it would be great to have the same kind of tool for {{cite book}} with the Googgle Books pages, I am often using this site for cting books, but it takes a long time to transfer the data into the french {{cite book}} template (aka {{ouvrage}}).
- "The program could not fix all references" is better (simpler). Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 08:39, 17 November 2015 (UTC)
- @SyntaxTerror: Thanks very much for your translations! I will test it out now. By the way, frwiki seems to support the
- @Zhaofeng Li: it seems to be working, thanks. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 06:57, 17 November 2015 (UTC)
- @SyntaxTerror: Looks like I didn't complete the procedure successfully. You are now onboard! Zhaofeng Li [talk ♦ contribs] 06:46, 17 November 2015 (UTC)
@SyntaxTerror: Great! I would like the equivalent names for the cite templates ({{cite web}}, {{cite av media}}, etc.) and their parameters in French. And regarding CiteGen, it is not translatable at the moment, but I will implement it later.
By the way, your translation seems to work well on the test version. Could you try it out? Thanks! Zhaofeng Li [talk ♦ contribs] 08:56, 17 November 2015 (UTC)
- here are the equivalents for the {{cite web}} and {{cite av media}} template in French (the blank parameters doesn't exist in {{lien web}}) :
en:template:cite web fr:modèle:lien web url url title titre last1 nom1 first1 prénom1 author-link1 lien auteur1 date date year année editor1-last editor1-first editor1-link editor2-last editor2-first editor2-link department website site series série publisher éditeur location lieu page page pages pages at language langue script-title trans-title traduction titre type format format arxiv arxiv asin bibcode bibcode doi doi doi-broken-date isbn isbn issn issn jfm jstor jstor lccn mr oclc oclc ol osti pmc pmid rfc ssrn zbl zbl id id archive-url archive-date dead-url access-date consulté le quote citation ref postscript subscription registration
en:Template:Cite AV media | fr:Modèle:Lien vidéo |
---|---|
people | people |
date | date |
year | année |
title | titre |
trans-title | |
medium | medium |
language | langue |
url | url |
access-date | consulté le |
archive-url | |
archive-date | |
format | format |
time | temps |
location | lieu |
publisher | éditeur |
id | |
isbn | |
oclc | |
quote | extrait |
ref |
- If you need the translations for {{cite book}} and {{cite news}} I can do it also.
- I tried the test version, but it doesn't seem to work : my translations are here, but when I try on a page (fr:Utilisateur:SyntaxTerror/test reFill, with the link [http://www.lemonde.fr/ Le Monde.fr]) it just says "(No difference)". Is there is something I am mssing (I already added "mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );" to my common.js and reloaded the page). Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 10:15, 17 November 2015 (UTC)
- @SyntaxTerror: Many thanks for the translations! The tool can only fix links wrapped in a
<ref>...</ref>
tag, and my test edit on frwiki has worked. I will try to implement translations for the {{cite web}} and {{cite av media}} templates first. Zhaofeng Li [talk ♦ contribs] 12:40, 17 November 2015 (UTC)- @Zhaofeng Li: oh, okay, I didn't read the manual good enough so... Concerning
{{Cite web}}
, I'm not sure but I think that a bot changes it to{{Lien web}}
, but for example,{{Cite news}}
is outdated and only kept for compatibility purposes. Anyway, if it is possible, I think it is better to use parameters in French. If you want, I could also translate the manual on fr:Utilisateur:Zhaofeng Li/reFill and put interlanguage links between the two pages, so a manual in French would be available, even if the tool is quite simple to use. - Thank you for the tiem you spent helping me, and all your good work. Regards, Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 13:13, 17 November 2015 (UTC)
- There are a few more French parameters at User:Jonesey95/AutoEd/unnamed.js. You'll have to scroll through the code to the "French" section to find them, but they should be relatively clear. – Jonesey95 (talk) 15:44, 17 November 2015 (UTC)
- I made a better version of the translations in French. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 08:59, 18 November 2015 (UTC)
- I translated the manual in French on fr:Utilisateur:Zhaofeng Li/reFill and I've seen these little problems:
- the link https://github.com/zhaofengli/refill/fork gives an error 404.
- there is no equivalent to Template:Cleanup-bare URLs on wp.fr, so the second option is useless there.
- the Bookmarklet doesn't seem to work for my web browsers (Comodo Dragon, CoolNovo & SRWare Iron). Actually, I don't really know how it works, but if I copy the code in the address box, it just searches for the text... Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 12:38, 18 November 2015 (UTC) — Preceding unsigned comment added by SyntaxTerror (talk • contribs)
- @SyntaxTerror: Thanks a ton for the translation! The forking link requires logging into GitHub in advance for it to work. About the bookmarklet, you need to manually create a bookmark
leton your browser instead of pasting it into the address bar. I'll make them a little clearer. By the way, I think the translations are working! Could you confirm? - @Jonesey95: Thanks for the tip! It helped!
- Zhaofeng Li [talk ♦ contribs] 13:50, 18 November 2015 (UTC)
- I translated the manual in French on fr:Utilisateur:Zhaofeng Li/reFill and I've seen these little problems:
- I made a better version of the translations in French. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 08:59, 18 November 2015 (UTC)
- There are a few more French parameters at User:Jonesey95/AutoEd/unnamed.js. You'll have to scroll through the code to the "French" section to find them, but they should be relatively clear. – Jonesey95 (talk) 15:44, 17 November 2015 (UTC)
- @Zhaofeng Li: oh, okay, I didn't read the manual good enough so... Concerning
- @SyntaxTerror: Many thanks for the translations! The tool can only fix links wrapped in a
It seems to be all right, thanks. The translations I made are not very accurate, it would be better if you could update them with the new ones I did recenly. Please tell me when it will be done and when the stable version will be available in French so I can tell it to the community of wp.fr.
I also found the tool I wanted to fill {{cite book}} templates with metadata from Google Books : http://reftag.appspot.com, but it is also made for wp.en, and its devellopper doesn't seem to work much anymore on Wikipedia, so I'll ask on wp.fr if there is someone knowing python that could translate it. Regards, Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 14:07, 18 November 2015 (UTC)
- @SyntaxTerror: Many thanks for pointing out the Reftag tool! I've found its source code very helpful. I will look into the APIs of Google Books and New York Times later to improve the handling of those links. About the new feature, I'm going to test it more extensively this week, as some core parts of the code have been changed. I'll notify you when it's ready. Thanks again for your generous help! Zhaofeng Li [talk ♦ contribs] 14:39, 18 November 2015 (UTC)
- Regarding the new translations, I have accidentally overwritten your changes on Transifex. :/ But no worries, your work is still there, and I'm working on restoring your translations according to the history. Zhaofeng Li [talk ♦ contribs] 14:50, 18 November 2015 (UTC)
- Your new translations have been applied. Does this look good to you? Zhaofeng Li [talk ♦ contribs] 15:02, 18 November 2015 (UTC)
- I think it is all right. Thank you for your good work ! Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 15:23, 18 November 2015 (UTC)
- Actually, I noticed a little problem: in the dates, the names of the months are in English. It would be better if they could be replaced with French names (janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre - without capital letters) If not, contributors can still correct it in the preview. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 02:15, 19 November 2015 (UTC)
- @SyntaxTerror: Nice catch! Working to fix it. Zhaofeng Li [talk ♦ contribs] 02:39, 19 November 2015 (UTC)
- Actually, I noticed a little problem: in the dates, the names of the months are in English. It would be better if they could be replaced with French names (janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre - without capital letters) If not, contributors can still correct it in the preview. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 02:15, 19 November 2015 (UTC)
- I think it is all right. Thank you for your good work ! Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 15:23, 18 November 2015 (UTC)
- Your new translations have been applied. Does this look good to you? Zhaofeng Li [talk ♦ contribs] 15:02, 18 November 2015 (UTC)
- Regarding the new translations, I have accidentally overwritten your changes on Transifex. :/ But no worries, your work is still there, and I'm working on restoring your translations according to the history. Zhaofeng Li [talk ♦ contribs] 14:50, 18 November 2015 (UTC)
@SyntaxTerror: Hi, what are the preferred date formats on frwiki? And are there templates like {{Use mdy dates}}? Zhaofeng Li [talk ♦ contribs] 06:50, 19 November 2015 (UTC)
- Hello, I think that most of French speaking countries use the dd/mm/yyyy format for dates, and for more clarity, it is better to use month names. Also, there is no equivalent to the {{Use mdy dates}} template on wp.fr because of this. I never heard about a problem concerning date formats on wp.fr or even AFK, but the mm/dd/yyyy format is often a problem for French speakers that don't know about its use in some Anglo-Saxon countries. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 07:17, 19 November 2015 (UTC)
- @SyntaxTerror: Does this look good to you? I can implement language detection if necessary, and add
|langue=
when the source isn't in French. Zhaofeng Li [talk ♦ contribs] 08:03, 19 November 2015 (UTC)- It is fine. Language detection would be a good thing too, I forgot to mention it. Wp.fr uses the fr:Module:Langue/Data to recognise the IETF language code, and there is even some workarounds to correct invalid codes such as
jp
that is sometimes used for Japanese while the correct code isja
. Ѕÿϰדα×₮ɘɼɾ๏ʁ You talkin' to me? 08:13, 19 November 2015 (UTC) — Preceding unsigned comment added by SyntaxTerror (talk • contribs)- @SyntaxTerror: Cite template localization for frwiki is now available on the stable version of reFill. Language detection is still in the works. Zhaofeng Li [talk ♦ contribs] 09:00, 3 December 2015 (UTC)
- Hello Zhaofeng. I just tried it, but the template seems to be still {{cite web}} and not {{lien web}} (I tried both directly from the link in the left toolbar and from the main page of the tool, adding the name of the page manualy and choosing "fr"). Is there is something I did wrong?
- Also, if your tool is now working for the NY Times, you should remove "Q1: Why is New York Times blacklisted?" in the FAQ of the manual. Regards, Şÿℵדαχ₮ɘɼɾ๏ʁ 14:39, 3 December 2015 (UTC)
- @SyntaxTerror: Fixed Really sorry for overlooking your post. It was a configuration error and has been fixed. Could you check if it's working now? Zhaofeng Li [talk ♦ contribs] 14:21, 15 December 2015 (UTC)
- It seems to work thanks, I will notify the French speaking community of this. I noticed that there are often "Processing error (Fetching error)" can you explain me why ? Maybe this could be also translated, but I need precisions on the errors and a complet list of them. Regards, Şÿℵדαχ₮ɘɼɾ๏ʁ 14:50, 15 December 2015 (UTC) — Preceding unsigned comment added by SyntaxTerror (talk • contribs)
- @SyntaxTerror: Fixed Really sorry for overlooking your post. It was a configuration error and has been fixed. Could you check if it's working now? Zhaofeng Li [talk ♦ contribs] 14:21, 15 December 2015 (UTC)
- @SyntaxTerror: Cite template localization for frwiki is now available on the stable version of reFill. Language detection is still in the works. Zhaofeng Li [talk ♦ contribs] 09:00, 3 December 2015 (UTC)
- It is fine. Language detection would be a good thing too, I forgot to mention it. Wp.fr uses the fr:Module:Langue/Data to recognise the IETF language code, and there is even some workarounds to correct invalid codes such as
- @SyntaxTerror: Does this look good to you? I can implement language detection if necessary, and add
@SyntaxTerror: Apologies for taking this long again (I tend to forget things easily ). The strings are not yet translatable, but I'm working to clean up the code to make it more flexible. "Processing error (Fetching error)" actually means that the connection was reset while the tool was trying to fetch the webpage. The exact reason is still unknown, and I am still working to get it straight. Strangely, when I hosted the tool on my own server, the issue disappeared. Zhaofeng Li [talk ♦ contribs] 07:38, 21 December 2015 (UTC)
Server down?
Hi, Zhaofeng Li, is reFill in a bad mood tonight/today? Doesn't seem to react anymore. Thank you for your time. Lotje (talk) 08:10, 16 December 2015 (UTC)
- @Lotje: The tool should be back up now. The outage was caused by a NFS failure (see Wikipedia:Village pump (technical)/Archive 142#Tool labs down again?). Maybe the server cats need more love? Zhaofeng Li [talk ♦ contribs] 12:37, 16 December 2015 (UTC)
- Great, thanks! Lotje (talk) 12:47, 16 December 2015 (UTC)
This link and this other link are both 404. :( — Jeff G. ツ (talk) 00:56, 25 December 2015 (UTC)
- @Jeff G.: Fixed Oops, the servers were stuck for some reason. I've restarted them. I probably should set up an automated status check. Zhaofeng Li talk (Please {{Ping}} when replying) 04:10, 25 December 2015 (UTC)
- Thank you. — Jeff G. ツ (talk) 06:19, 25 December 2015 (UTC)
Add bn translation
Hi @Zhaofeng Li:, I completed bengali translation. Please, add bn translation into code. I also translated User:Zhaofeng Li/reFill into Bangla. Thank you. --Aftabuzzaman (talk) 17:10, 22 December 2015 (UTC)
- @Aftabuzzaman: Doing it now. Thanks for your contributions! Zhaofeng Li talk (Please {{Ping}} when replying) 15:39, 23 December 2015 (UTC)
- @Aftabuzzaman: Done on the test version. It appears to work in this edit. Could you test it out? Again, thank you for your contributions! Zhaofeng Li talk (Please {{Ping}} when replying) 16:25, 23 December 2015 (UTC)
- @Zhaofeng Li: Yes, It is working. I tested here. and one translation correction: here, line 16 & 26 ("heading-manual" & "label-manual"), add
"সহায়িকা",
Instead of"ম্যানুয়াল",
Thank you too --Aftabuzzaman (talk) 16:50, 23 December 2015 (UTC)- @Aftabuzzaman: Done with this commit. Also, the test edit you mentioned actually didn't work, as the referenced page is a soft 404 page (i.e. The server did not send a 404 code but the content is "Page Not Found"). Anyway, I've found this archived page as a replacement. Thank you! Zhaofeng Li talk (Please {{Ping}} when replying) 01:56, 24 December 2015 (UTC)
- @Zhaofeng Li: Thank you and please ping me when you add bn translation to the main version. Aftabuzzaman (talk) 17:23, 24 December 2015 (UTC)
- @Aftabuzzaman: After some testing, bn should be usable on the stable version of reFill now. Please tell me if you encounter any problem. Thanks! Zhaofeng Li talk (Please {{Ping}} when replying) 14:45, 29 December 2015 (UTC)
- @Zhaofeng Li: Thank you and please ping me when you add bn translation to the main version. Aftabuzzaman (talk) 17:23, 24 December 2015 (UTC)
- @Aftabuzzaman: Done with this commit. Also, the test edit you mentioned actually didn't work, as the referenced page is a soft 404 page (i.e. The server did not send a 404 code but the content is "Page Not Found"). Anyway, I've found this archived page as a replacement. Thank you! Zhaofeng Li talk (Please {{Ping}} when replying) 01:56, 24 December 2015 (UTC)
Love the tool ... but
Hi, Zhaofeng Li. Love reFill and use it constantly. I noticed today that it reported a 404 on mayoclinic.com refs right after I added them. Here is the page I added them to: Varicocele. Please ping me back. I am happy that you can now parse nytimes.com. Cheers! {{u|Checkingfax}} {Talk}
08:43, 2 January 2016 (UTC)
meta.author and other bogus values for citation parameters
Please see this edit. ReFill apparently inserted |title={{meta.ogtitle}}|author={{meta.author}}|work={{meta.ogsitename}}}}
when attempting to fill in a citation template. That causes big red error messages and should be avoided. – Jonesey95 (talk) 15:53, 3 January 2016 (UTC)
Refill ads the article to my watchlist
Hi. I've just spotted that when I use Refill on an article, it adds the page to my watchlist when I save the edit. Didn't really notice it at first, as I used it on articles already on my watchlist, but spotted it with this article and then I tested it with another article. I'm using Firefox in both cases. Thanks. Lugnuts Dick Laurent is dead 08:49, 11 January 2016 (UTC)
- I just tested it using Chrome on Windows 8.1, and the problem does not occur there (tested with this edit).--Gronk Oz (talk) 13:24, 11 January 2016 (UTC)
- (talk page stalker) I use Firefox and do not have this problem. Check your user account's Preferences -> Watchlist settings, specifically "Add pages and files I edit to my watchlist" to see if it matches ReFill's behavior. It works for me.
- I copied an old version of 2015–16 Syed Mushtaq Ali Trophy into my sandbox and ran ReFill on it, and it suggested edits and did not add the article to my watchlist. Firefox 43.0.1. – Jonesey95 (talk) 14:47, 11 January 2016 (UTC)
- Thanks all for the help - must just be me! I'll look into this further. Thanks again. Lugnuts Dick Laurent is dead 08:22, 12 January 2016 (UTC)
reFill vs reflinks
It would be good if there were an explanation on the page about why we should use reFill instead of reflinks, what advantages it has. ··gracefool 💬 19:52, 19 January 2016 (UTC)
- Believe it or not, at this late date, I'm still using reFill, Webreflinks, and Reflinks - in that order - on the same article(s) usually. reFill & Reflinks are, in my personal experience, very similar in their outcomes, though the latter sometimes better handles combining similar or exactly the same-formatted citations into one set of references in a particular article. Webreflinks also seems to be able to successfully convert some poorly-formatted citations into well-formated references that reFill doesn't seem to know what to do with. Guy1890 (talk) 02:47, 20 January 2016 (UTC)
- Thanks! ··gracefool 💬 00:21, 21 January 2016 (UTC)
ReFill feature request: convert typographer's quotes to straight quotes
ReFill copies typographer's (i.e. curly) quote marks from the source into the resulting citation. See this diff, which is unmodified ReFill output, for an example. Per MOS:QUOTEMARKS, typographer's quotes are not recommended for Wikipedia. ReFill could convert these marks (and, for extra credit, low-high („ “) and guillemet (« ») quotation marks) to straight single or double quotation marks. – Jonesey95 (talk) 17:24, 5 February 2016 (UTC)
Potential webinar on Zotero translator coding
Behind Citoid and likely any of our future citation parsing services is are a series of Zotero "translators". I recently wrote one and it had a bit of a learning curve. However, Sebastian from the Zotero project has offered to give a webinar on translator coding if there is interest. It would include basic scraping by manual code and the streamlined "Framework" (less coding). I'm trying to gauge interest, so please leave a note on my enwp talk page with the nature of your interest (e.g., are you just curious or do you plan to write translators for specific sources?) czar 17:01, 6 December 2015 (UTC)
- @Czar: Thanks! I'm interested in switching to Citoid which uses a stable and proven backend. I'll spend some time in evaluating the framework, and help writing translators for sources I encounter that are not properly parsed. As such, the webinar will definitely be helpful. Thanks for the note! Zhaofeng Li [talk ♦ contribs] 03:17, 7 December 2015 (UTC)
- The training is scheduled for next Monday, the 29th, at 20:00 UTC (more details) @Zhaofeng Li czar 06:46, 22 February 2016 (UTC)
DeadLinksBot
Cyberbot II (DeadLinksBot) is convering {{dead}}
references to Internet Archive. Example. How do reFill, reflinks and other tools handle the use of {{wayback}}
in a reference? Are they able to convert these references to a {{cite web}}
? -- GreenC 18:31, 1 March 2016 (UTC)
Suddenly German edit summaries
For some reason reFill suddenly switched to German edit summaries:
From "Filled in 4 bare reference(s) with reFill()"
To "Ausgefüllt 4 bloßer Verweis(e) mit reFill ()" (btw that's no good translation)
This seems to be a bug as this happened here, on the English Wikipedia. Can't find an option for it either.
--Fixuture (talk) 19:52, 3 December 2015 (UTC)
- @Fixuture: Fixed95bdc3 Nice catch! The tool should follow the wiki's language rather than that of your browser. By the way, if you are interested in getting the tool to work on German Wikipedia, you can join our Transifex team to improve the translations. Thanks for your help! Zhaofeng Li [talk ♦ contribs] 02:54, 4 December 2015 (UTC)
- @Zhaofeng Li: Wow, that was fast! Thanks for fixing it. Btw reFill is probably the most useful tool on Wikipedia - I don't think it could work as it is without it. So, again, many thanks for writing it! --Fixuture (talk) 18:08, 4 December 2015 (UTC)
- @Zhaofeng Li: I translated some of the missing strings and fixed some apparently machine-translated incoherent translations. Could they please be updated in reFill? Also the options don't follow the language of the Wikipedia that I'm currently using. Maybe there could be an additional option that allows one to change the reFill-interface-language? --Fixuture (talk) 21:00, 24 March 2016 (UTC)
Log out after ReFill
Just a note to mobile users: be sure you back up to before you used ReFill before you logout, or you can't get off. My phone froze on the ReFill screen and I had to totally restart it to get off. It was annoying. White Arabian Filly Neigh 14:47, 25 March 2016 (UTC)
Finding articles with bare URL references
I am on a New Year / spring cleaning binge at the moment. One thing that I would like to include is to improve bare URL references using my favourite tool (reFill). So does anybody know of a tool that will allow me to search for articles which have this problem? I have tried programming it into AWB, but I can't seem to get that working. Any suggestions?--Gronk Oz (talk) 06:02, 27 December 2015 (UTC)
- I've used these categories in the past to try & help clean up bad reference formatting:
- Good luck... Guy1890 (talk) 07:22, 27 December 2015 (UTC)
- Also Category:Pages with citations having bare URLs. – Jonesey95 (talk) 23:18, 27 December 2015 (UTC)
- Thanks for your help, folks. The ever-helpful John of Reading built a query against the database and sent me the first 22,000+ results; I expect that will be enough to keep me going for quite some time!--Gronk Oz (talk) 05:11, 28 December 2015 (UTC)
- @Gronk Oz: Could you please link that list here? Other people might find it useful as well. --Fixuture (talk) 20:52, 24 March 2016 (UTC)
- @Fixuture: - I split the list into two for manageability: User:Gronk Oz/Bare URLs (up to K) and User:Gronk Oz/Bare URLs L-Z. Once I have fixed up anything that needs fixing on a particular page, I just delete it from this list. You, and anybody else, are welcome to use it as you see fit.--Gronk Oz (talk) 15:45, 6 April 2016 (UTC)
- @Gronk Oz: Thank you very much! --Fixuture (talk) 20:30, 6 April 2016 (UTC)
- @Gronk Oz: Could you please link that list here? Other people might find it useful as well. --Fixuture (talk) 20:52, 24 March 2016 (UTC)
- Thanks for your help, folks. The ever-helpful John of Reading built a query against the database and sent me the first 22,000+ results; I expect that will be enough to keep me going for quite some time!--Gronk Oz (talk) 05:11, 28 December 2015 (UTC)
- Also Category:Pages with citations having bare URLs. – Jonesey95 (talk) 23:18, 27 December 2015 (UTC)
- Can we just get a list of pages that contain the string "<ref>http"? bd2412 T 20:34, 6 April 2016 (UTC)
Feature request: bulleted links in References section
Hey Zhaofeng, love this tool—thanks for your service. I'd really love if the tool could similarly expand bulleted bare links in the References section. Sometimes it's easier to dump all the sources at once and come back later, but the links are technically prone to linkrot if left longer (e.g., the refs in 716298085). Any chance such a change could be on the horizon? czar 00:26, 21 April 2016 (UTC)
Apparent hang
Refill apparently hung processing the Abortion law article. It never offered to proceed/update with Wikipedia. Reloading the page didn't fix this. (my error -- nothing to fix) Wtmitchell (talk) (earlier Boracay Bill) 20:24, 3 May 2016 (UTC)
Requests
I would like to request that you enable users to use links as an alternative to page names in the fetch content from a wiki bar. It would also be nice if bare references that only contain a language tag such as "(in Portuguese)" could be filled.--Catlemur (talk) 17:22, 12 May 2016 (UTC)
Problems choosing cite template and filling parameters
I have not used reFill, and I don't intend to, because I don't want to take the trouble to learn another tool. But I believe that reFill
- cannot use
{{cite news}}
, or if it can, in most cases it doesn't. - bases
|title=
on the HTML title parameter rather than actual displayed titles. - has major limitations in setting
|date=
,|author=
,|publisher=
, and|work=
parameters.
My beliefs are based on edits by Kind Tennis Fan:
This edit of Can't Deny My Love includes many apparent errors. For instance,
{{cite web|url=http://hosted.ap.org/dynamic/stories/U/US_SPOTIFY_MOST_VIRAL_TRACKS?SITE=AP&SECTION=HOME&TEMPLATE=DEFAULT|title=News from The Associated Press|publisher=}}
should actually be
{{cite news |title=Spotify's Top 10 most viral tracks |date=May 3, 2016 |url=http://hosted.ap.org/dynamic/stories/U/US_SPOTIFY_MOST_VIRAL_TRACKS?SITE=AP&SECTION=HOME&TEMPLATE=DEFAULT |publisher=Associated Press}}<br>
Wrong template, wrong title, missing date, missing publisher.
{{cite web|url=http://www.nme.com/news/brandon-flowers/84030|title=Brandon Flowers transports back to 19th century in 'Can't Deny My Love' video - watch|author=NME.COM|work=NME.COM}}
should actually be
{{cite news |url=http://www.nme.com/news/brandon-flowers/84030 |title=Brandon Flowers transports back to 19th century in 'Can't Deny My Love' video - watch |author=Luke Morgan Britton |date=March 30, 2015 |publisher=NME}}
In this edit of Sony Pictures Television, the Variety citation is missing the date, November 24, 2015, and the word "Variety" should not be in the title, which is displayed in the reference as "After a Rough Film Year, Can Kevin Tsujihara Lead Warner Bros. Back to the Top?" And the TBI Vision citation is also missing the date, August 15, 2014, and the author, Stewart Clarke.
Based on these edits, I believe reFill needs some work, or at least stronger advice about human review of its output. —Anomalocaris (talk) 19:42, 25 May 2016 (UTC)
- Yes, I agree with you Anomalocaris that reFill is not perfect. Personally I think of reFill as a type of "halfway house" - where the article can be improved further with a subsequent edit or edits after reFill. It is certainly better (in my view) than bare urls for citations, because reFill gives some of the information required. However, it's not perfect and I intend now to do some additional work on the Sony Pictures Television and Can't Deny My Love articles to improve the references further and iron out some mistakes. This will make things better. Regards, Kind Tennis Fan (talk) 22:35, 25 May 2016 (UTC)
Hasn't answered a question here since December last year :D brilliant! Fortuna Imperatrix Mundi 05:24, 26 May 2016 (UTC)
- @Fortuna Imperatrix Mundi: I'm really sorry but I've been busy lately. Fortunately, I have more time for Wikipedia from now on, and I'll be addressing the long-standing issues of the tool. I apologize for my unresponsiveness and thank you for your attention. Zhaofeng Li talk (Please {{Ping}} when replying) 07:28, 30 May 2016 (UTC)
- No worries Zhaofeng Li, thanks for getting back! Sometimes we just have to admit that RL is more important ;) cheers! Muffled Pocketed 09:47, 30 May 2016 (UTC)
- Thank you for your understanding! Zhaofeng Li talk (Please {{Ping}} when replying) 09:53, 30 May 2016 (UTC)
- No worries Zhaofeng Li, thanks for getting back! Sometimes we just have to admit that RL is more important ;) cheers! Muffled Pocketed 09:47, 30 May 2016 (UTC)
Blank results page
Hi. I try and use ReFill for new articles I've just created, and recently I've been getting no results- bring up the tool, enter page title, use- and nothing. Just a blank page. Most recent example, R.L. Storey. Any possibility it's the browser / W10 / security program? It does however sometime work, just seems slightly hit and miss thesedays (msaybe just overworked?!) so I kind of doubt that. Thanks for any advice, Fortuna Imperatrix Mundi 19:42, 19 May 2016 (UTC)
- I've seen this recently as well. This is what the tool returns as a page (a blank page). I don't know that the tool doesn't know what to do with many, many references that need to be properly formatted, since some pages that I've recently tried to use the tool on had just a very few citations at all. Guy1890 (talk) 08:14, 22 May 2016 (UTC)
- @Zhaofeng Li: Yep - keeps happening to me. No idea why, but it's been going on for about a week now. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 01:07, 27 May 2016 (UTC)
- @Fortuna Imperatrix Mundi: @Guy1890: @Ser Amantio di Nicolao: Confirmed Really sorry for being unresponsive lately. Working on it. Zhaofeng Li talk (Please {{Ping}} when replying) 06:48, 30 May 2016 (UTC)
- @Fortuna Imperatrix Mundi: @Guy1890: @Ser Amantio di Nicolao: Fixed Could you test? Thanks for your report. Zhaofeng Li talk (Please {{Ping}} when replying) 07:22, 30 May 2016 (UTC)
- Yes, seems fine now- thanks very much, Zhaofeng Li! Muffled Pocketed 09:55, 30 May 2016 (UTC)
- Working fine for me, too - everything seems in order. Thanks! --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 08:48, 31 May 2016 (UTC)
- Yes, seems fine now- thanks very much, Zhaofeng Li! Muffled Pocketed 09:55, 30 May 2016 (UTC)
- @Fortuna Imperatrix Mundi: @Guy1890: @Ser Amantio di Nicolao: Fixed Could you test? Thanks for your report. Zhaofeng Li talk (Please {{Ping}} when replying) 07:22, 30 May 2016 (UTC)
- @Fortuna Imperatrix Mundi: @Guy1890: @Ser Amantio di Nicolao: Confirmed Really sorry for being unresponsive lately. Working on it. Zhaofeng Li talk (Please {{Ping}} when replying) 06:48, 30 May 2016 (UTC)
- @Zhaofeng Li: Yep - keeps happening to me. No idea why, but it's been going on for about a week now. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 01:07, 27 May 2016 (UTC)
converting refs to <a>
reFill is converting refs to use <a>
, which MediaWiki does not recognize. I've seen this three times in two day. See this edit as it created |author1=<a href="/author/robin-wauters/" title="Posts Robin Wauters" onclick="s_objectID='river_author'|author2=" rel="author">Robin Wauters</a>
Bgwhite (talk) 05:12, 18 May 2016 (UTC)
- @Bgwhite: Confirmed I'm switching the backend to Citoid shortly, which should address many of the metadata issues my homegrown parser has. Zhaofeng Li talk (Please {{Ping}} when replying) 07:31, 30 May 2016 (UTC)
- By the way, the experimental version which uses Citoid is available at toollabs:refill/citoid. The tool can already make use of many metadata fields from Citoid's result. Zhaofeng Li talk (Please {{Ping}} when replying) 07:35, 30 May 2016 (UTC)
- @Bgwhite: I'm enabling Citoid on the main version for now. Please report if you encounter any issue with it. Thanks for the report and sorry for the delay! Zhaofeng Li talk (Please {{Ping}} when replying) 07:58, 30 May 2016 (UTC)
- Thank you for fixing this. Citoid has its own "quirks", but at least that is WMF's problem. It's also the smart solution on your part (why reinvent the wheel) and as the 1st law of programming says, "Never design what you can steal". I have seen similar behavior with VE/citoid in the past. It happens when people copy/paste using VE. There are alot of issues when copying/pasting with VE, sigh. WP:CheckWiki checks for
<a>
, so I'll give a yell if I see it again. Bgwhite (talk) 10:01, 31 May 2016 (UTC)
- Thank you for fixing this. Citoid has its own "quirks", but at least that is WMF's problem. It's also the smart solution on your part (why reinvent the wheel) and as the 1st law of programming says, "Never design what you can steal". I have seen similar behavior with VE/citoid in the past. It happens when people copy/paste using VE. There are alot of issues when copying/pasting with VE, sigh. WP:CheckWiki checks for
- @Bgwhite: I'm enabling Citoid on the main version for now. Please report if you encounter any issue with it. Thanks for the report and sorry for the delay! Zhaofeng Li talk (Please {{Ping}} when replying) 07:58, 30 May 2016 (UTC)
Titles are filled with the url
Since today I get titles filled with the urls. Not sure if this is intended or a bug - it looks much like a bug to me.
I'm using reFill relatively often and it didn't happen a few days ago so I assume a recent change caused it.
It happened on multiple pages including User-generated content.
--Fixuture (talk) 19:08, 1 June 2016 (UTC)
- @Fixuture: Fixed in the test version. Could you confirm? Thank you for the report. Zhaofeng Li talk (Please {{Ping}} when replying) 06:18, 2 June 2016 (UTC)
- @Zhaofeng Li: Great, it works - thank you! --Fixuture (talk) 18:57, 2 June 2016 (UTC)
Checkboxes for reference-fixes
It would be very helpful if one had checkboxes for the reference-replacements on the reFill page. If one unchecks a reference-fix it leaves it as it is. This would be very useful as often times references are filled faultily and by this reFilling can be done in very short time. As with the feature request above and as manually undoing reFills takes up quite some time this feature would free significant time of Wikipedia editors who in turn can improve Wikipedia otherwise in addition to improving and fastening up the reFill-tool.
--Fixuture (talk) 20:10, 7 June 2016 (UTC)
Editable reference-fixes
It would be very useful if one could edit reference-fixes (reFills) on reFill's result page. As of right now one can only edit it on Wikipedia after clicking "Preview/Save on Wiki". This is problematic as it's really cumbersome to manually fix references on Wikipedia [even though fixing some of the references by hand should be done most of the time for clean reFills (often it's just removing a few words from the title)] as one always has to search & scroll to the appropriate part in the edit-box.
Note that only the part between <ref>
and </
ref>
should be editable (textboxes).
Additionally it would be cool if all url parameters of the refs would be clickable (or linked somewhere on the sides) so that one can easily quickly open up a page to manually retrieve some missing or false info.
As manually undoing or fixing reFills takes up quite some time this feature would free significant time of Wikipedia editors who in turn can improve Wikipedia otherwise in addition to improving and fastening up the reFill-tool. It would be a very cost-effective way of improving Wikipedia.
--Fixuture (talk) 20:09, 7 June 2016 (UTC)
- @Fixuture: Good idea! Actually, I've been thinking about creating an "interactive mode" like in the old tool, where editors can refine the references individually in a list. I need to find some time to do it. Zhaofeng Li talk (Please {{Ping}} when replying) 19:59, 9 June 2016 (UTC)
Duplicate issue parameter introduced by refill?
I had to correct this edit to fix the volume number being placed in the issue parameter. I have been fixing about a dozen of these per day. Frietjes (talk) 22:45, 9 June 2016 (UTC)
- @Frietjes: Fixed Good find! It was a silly mistake and has been fixed. Could you confirm? Many thanks for the report! Zhaofeng Li talk (Please {{Ping}} when replying) 02:54, 10 June 2016 (UTC)
Does reFill improve articles?
I'm looking at an edit using reFill where 3 refs were changed from the bare URL - which gives some indication of the source of the ref - to plain title, nothing else. I don't think it's an improvement. Shouldn't the publisher of the website always be included as a matter of course? Or did the editor involved make some unwise choices of options? PamD 12:29, 7 June 2016 (UTC)
- @PamD: Why don't you consider it an improvement? Isn't a roughly fitting title better than no title at all? The publisher can't always be parsed (read) from a website so it's often left out. As far as I can see the editor didn't make any unwise choices. --Fixuture (talk) 18:36, 7 June 2016 (UTC)
- I don't consider it an improvement because the ReFill version gives article titles but no indication of the status of the sources. The URLs showed me where the references had come from. Could ReFill pick up the first part of the URL and add it in the "website" field, for "cite web" references like these? That would make them more informative. PamD 21:45, 7 June 2016 (UTC)
- @PamD: That is currently an option in refill, but is not done by default. It used to be enabled by default, but it was disabled a while back (see the #Last checkbox section above). --Ahecht (TALK
PAGE) 18:41, 8 June 2016 (UTC) (talk page watcher)
- @PamD: That is currently an option in refill, but is not done by default. It used to be enabled by default, but it was disabled a while back (see the #Last checkbox section above). --Ahecht (TALK
- I suggest that the default should be restored. I think that using ReFill without that option actually damages an article: I would rather see the list of references in this version, which shows me where they have come from, than in this version in which all but the article title (and sometimes date) is hidden. Please include, by default, the first part of the URL in the "Website" field, if nothing more sophisticated can be parsed. PamD 20:56, 10 June 2016 (UTC)
Not working
When I try to use this it gives a 503 - Service not available message. Can it be fixed please? - Yellow Dingo (talk) 06:46, 12 June 2016 (UTC)
- @Yellow Dingo: It appears to be working now - Could be a temporary hiccup. I should probably set an automatic monitoring tool for it. Zhaofeng Li talk (Please {{Ping}} when replying) 14:45, 12 June 2016 (UTC)
- @Zhaofeng Li: Thanks, - Yellow Dingo (talk) 00:54, 13 June 2016 (UTC)
Bhojpuri wikipedia
Hi, I wish to use this tool on Bhojpuri wikipedia (bh.wikipedia). Can you help me regarding this? --Satyam Mishra --talk-- 04:18, 18 June 2016 (UTC)
- @सत्यम् मिश्र: Sorry for overlooking this post. I've added thwiki to the test version. For a better experience, you may help translate the tool into Bhojouri on Translatewiki. Thank you! Zhaofeng Li talk (Please {{Ping}} when replying) 12:45, 27 June 2016 (UTC)
- Thanks a lot for your kind support. Actually, It is bh.wiki for which I am requesting. And I have started translating it on translatewiki. --Satyam Mishra --talk-- 14:20, 27 June 2016 (UTC) — Preceding unsigned comment added by सत्यम् मिश्र (talk • contribs)
- @सत्यम् मिश्र: Alright, fixed! Zhaofeng Li talk (Please {{Ping}} when replying) 14:30, 27 June 2016 (UTC)
- Great! Thanks again ! --Satyam Mishra --talk-- 14:36, 27 June 2016 (UTC) — Preceding unsigned comment added by सत्यम् मिश्र (talk • contribs)
- @सत्यम् मिश्र: Alright, fixed! Zhaofeng Li talk (Please {{Ping}} when replying) 14:30, 27 June 2016 (UTC)
- Thanks a lot for your kind support. Actually, It is bh.wiki for which I am requesting. And I have started translating it on translatewiki. --Satyam Mishra --talk-- 14:20, 27 June 2016 (UTC) — Preceding unsigned comment added by सत्यम् मिश्र (talk • contribs)
Tamil Wikipedia
I would like to localize reFill to Tamil Wikipedia. I have requested at transifex for Translating into Tamil language and waiting for approval. Let me know for further action. Thanks. --AntanO 04:54, 27 December 2015 (UTC)
- Done @AntanO: Thank you for your contributions! Zhaofeng Li talk (Please {{Ping}} when replying) 06:44, 27 December 2015 (UTC)
- Thanks, waiting for approval to join the project. Once I get the approval, I will start the translation. --AntanO 03:10, 28 December 2015 (UTC)
- @AntanO: I've added you as a member. I thought it was successful last time, but for some reason it wasn't. Again, thank you for your contributions! Zhaofeng Li talk (Please {{Ping}} when replying) 04:19, 28 December 2015 (UTC)
- Thanks, waiting for approval to join the project. Once I get the approval, I will start the translation. --AntanO 03:10, 28 December 2015 (UTC)
- Thank you, Zhaofeng Li for your prompt action. I have translated all words to Tamil. Since Tamil Wiki uses Cite template string as per same in en.wiki, I let it in English. Once you complete the localization to ta.wiki, I will create a page for reFill in ta.wiki. --AntanO 15:50, 28 December 2015 (UTC)
- @Zhaofeng Li: Let me know if there anything that I want to do. --AntanO 14:29, 29 December 2015 (UTC)
- @AntanO: Thanks for your contributions! Experimental tawiki support is now enabled on the test version. I've made this edit and it appears to work, except that dates may be in the wrong format. Could you briefly describe the preferred date format on tawiki? Thanks! Zhaofeng Li talk (Please {{Ping}} when replying) 08:47, 30 December 2015 (UTC)
- @Zhaofeng Li: Thank you! I have tested from the test version and i didn't find any error. The date format that you did was right (DD/MM/YYYY). The month could be in Tamil as follow:
- சனவரி
- பெப்ரவரி
- மார்ச்சு
- ஏப்ரல்
- மே
- சூன்
- சூலை
- ஆகத்து
- செப்டம்பர்
- ஒக்டோபர்
- நவம்பர்
- திசம்பர்
- Even though, it's not a huge issue. --AntanO 11:23, 30 December 2015 (UTC)
Local page @ tawiki, ta:பயனர்:Zhaofeng Li/reFill and redirects by WP as ta:விக்கிப்பீடியா:மீள்நிரப்பு --AntanO 03:28, 31 December 2015 (UTC)
@Zhaofeng Li:, you may forget localize reFill to Tamil Wikipedia. Could you finalize it? Thanks. --AntanO 00:05, 25 March 2016 (UTC)
- @Zhaofeng Li:, can we finalize it? --AntanO 08:03, 30 May 2016 (UTC)
- @AntanO: Sorry for the terrible delay. It should already be working. If you are not seeing the translations, try clicking the "Languages" and choose Tamil. Zhaofeng Li talk (Please {{Ping}} when replying) 08:11, 30 May 2016 (UTC)
- @Zhaofeng Li:, Tamil available in test, not in main. Is it ok to localize by inserting the code? --AntanO 08:34, 30 May 2016 (UTC)
- @AntanO: That's strange, as it appears to work for me. Zhaofeng Li talk (Please {{Ping}} when replying) 08:43, 30 May 2016 (UTC)
- Okay, I see what you mean. tawiki has now been added to the stable version. Could you try? Zhaofeng Li talk (Please {{Ping}} when replying) 08:45, 30 May 2016 (UTC)
- @AntanO: That's strange, as it appears to work for me. Zhaofeng Li talk (Please {{Ping}} when replying) 08:43, 30 May 2016 (UTC)
- @Zhaofeng Li:, Tamil available in test, not in main. Is it ok to localize by inserting the code? --AntanO 08:34, 30 May 2016 (UTC)
- Thanks, it's stable version. But, unfortunately it doesn't work for me. Could you have a look?--AntanO 10:11, 30 May 2016 (UTC)
@AntanO: Um, weird. What page are you trying to fix? Zhaofeng Li talk (Please {{Ping}} when replying) 12:20, 31 May 2016 (UTC)
- I tried this page. Could you check my code at ta:பயனர்:AntanO/common.js too. --AntanO 12:34, 31 May 2016 (UTC)
- @Zhaofeng Li:, could you have a look? --AntanO 02:22, 25 June 2016 (UTC)
- @AntanO: reFill doesn't work with the article as it doesn't use
<ref>...</ref>
tags. Support for external links has been requested, and I'll need to find some time to do it. And looks like your common.js should work. Is there anything wrong with it? Zhaofeng Li talk (Please {{Ping}} when replying) 12:38, 27 June 2016 (UTC)
- @AntanO: reFill doesn't work with the article as it doesn't use
- @Zhaofeng Li:, could you have a look? --AntanO 02:22, 25 June 2016 (UTC)
- Thank you very much, @Zhaofeng Li: --AntanO 04:02, 3 July 2016 (UTC)
Is "|via=Google Books" an automatic parameter of reFill?
Hello, Zhaofeng. First of all I'd like to thank you for having developed a very useful tool.
I have noticed that when people use reFill on bare refs whose URLs begin with "https://books.google.com" the parameter "|via=Google Books" gets included in the citation template that results. Is this an automatic function of reFill, or is the function at the option of the reFill user?Thank you for your attention. Akhooha (talk) 17:31, 14 July 2016 (UTC)
- I think it's automatically put there by reFill. I've seen the same thing when it comes to IMDb and YouTube references as well. Guy1890 (talk) 05:03, 16 July 2016 (UTC)
- Thanks for the reply, Guy1890.--Akhooha (talk) 16:10, 16 July 2016 (UTC)
Take a look
Hi, Zhaofeng. I just wondering why the tool is adding a weird parameter when formatting sources for Swedish Wikipedia. Such as on these articles, [[2]],[3] . It is adding the article name both in the URL and Title section. But I can not remove the Title section without disrupting the source. Weird. Please take a look. Thanks :)--BabbaQ (talk) 21:57, 9 August 2016 (UTC)
- @BabbaQ: Looks like this edit on sv:Template:Cite web caused it. Maybe User:CFCF can explain this? Zhaofeng Li talk (Please {{Ping}} when replying) 03:16, 10 August 2016 (UTC)
- Yes, hopefully it can be fixed. Because it continues to be formatted that way. [4].--BabbaQ (talk) 16:17, 11 August 2016 (UTC)
jstor
Awesome work on converting jstor url to cite template. Could it go one step further and convert url=http://www.jstor.org/stable/1234 to jstor=1234 (you would not need via=JSTOR anymore either then) AManWithNoPlan (talk) 16:28, 25 August 2016 (UTC)
proquest
Could you have the bot not add "log in" titles to proquest.com URL's. AManWithNoPlan (talk) 14:48, 8 September 2016 (UTC)
- better yet, get enough of a login to see titles AManWithNoPlan (talk) 15:12, 8 September 2016 (UTC)
- @AManWithNoPlan: I've blacklisted ProQuest for now. Looks like ProQuest has an API which may be useful. Need to look into that later. Zhaofeng Li talk (Please {{Ping}} when replying) 05:32, 9 September 2016 (UTC)
Urdu Wikipedia
Hi @Zhaofeng Li: please enable Urdu wikipedia (ur.wikipedia) at reFill. We nearly finished its translation on translatewiki. Thanks! Muhammad Shuaib (talk) 21:04, 8 September 2016 (UTC)
- @محمد شعیب: Done Thank you! Please test and tell us if it works. Zhaofeng Li talk (Please {{Ping}} when replying) 05:36, 9 September 2016 (UTC)
Use of "Wiki" in the script's button
Hi Zhaofeng Li. Can you please change the button text "Preview / Save on Wiki" to "Preview / Save on Wikipedia"? We spend a lot of time explaining to people at various fora to please not abbreviate Wikipedia as "Wiki". See also Wikipedia:Don't abbreviate "Wikipedia" as "Wiki"! and {{Notwiki}}
. By the way, the use of "wiki" in the dialogue just above, "New wiki markup", is correct usage, unlike the button text I'm asking about. Thanks--Fuhghettaboutit (talk) 21:58, 8 September 2016 (UTC
- @Fuhghettaboutit: Good suggestion! The reason why it's "wiki" instead of "Wikipedia" is that reFill supports any MediaWiki wiki, not just Wikipedia. I plan to change the button text to "Preview / Save on [Wiki name]" with the last part automatically filled with the proper name of the wiki it's working on. Zhaofeng Li talk (Please {{Ping}} when replying) 05:41, 9 September 2016 (UTC)
ebscohost.com
Your awesome tool is generating things like this: {{cite web|url=http://eds.b.ebscohost.com/ehost/detail/detail?vid=10&sid=edf558ed-7fc8-4f4b-9782-a5d582e17d27%2540sessionmgr110&hid=119&bdata=JnNpdGU9ZWhvc3QtbGl2ZQ%253d%253d#AN=86207409&db=mah|title=Bookmarkable URL intermediate page|publisher=}} Probably another thing to blacklist. AManWithNoPlan (talk) 15:34, 10 September 2016 (UTC)
Have a look
Hello, Please take a look at my edit which was reverted: https://en.wikipedia.org/w/index.php?title=Vickers_Valiant&diff=next&oldid=734457531 and this is the edit that the script made: https://en.wikipedia.org/w/index.php?title=Vickers_Valiant&diff=prev&oldid=734457531 While I agree that I should have checked it, is think it might be a bug. Redalert2fan (talk) 15:11, 14 August 2016 (UTC)
- comment to prevent archiving. Redalert2fan (talk) 18:08, 31 August 2016 (UTC)
- Looking into it. Zhaofeng Li talk (Please {{Ping}} when replying) 05:42, 9 September 2016 (UTC)
- @Redalert2fan: Fixed Thanks for your report! Zhaofeng Li talk (Please {{Ping}} when replying) 02:58, 15 September 2016 (UTC)
- Looking into it. Zhaofeng Li talk (Please {{Ping}} when replying) 05:42, 9 September 2016 (UTC)
Bug report: Adds news source in first/last parameters
In edits such as this and this and this and this and this and this, reFill is suggesting citation templates with incorrect values such as
- "|first=A. B. C.|last=News|date=12 November 2015|publisher="
- "|first=ABS-CBN|last=News|publisher="
- "|first=B. B. C.|last=News|work=bbc.co.uk"
- "|first=B. B. C.|last=News|publisher="
Since the users aren't fixing reFill's suggestions before saving their edits, could you please tweak reFill to populate the publisher field instead of the first/last fields? Thanks! GoingBatty (talk) 01:21, 9 September 2016 (UTC)
- I've seen similar things such as the above before. The tool also sometimes will take an author like "John Doe, ABC News" and code it as something like "|first=John Doe |last=ABC News " for some reason. My guess is that it's the way that the author is noted on the original webpage in question (?). Guy1890 (talk) 03:04, 17 September 2016 (UTC)
Ukrainian Wikipedia
Hi! Please enable the tool for Ukrainian Wikipedia (uk.wikipedia.org) as well. I've nearly finished the translation on translatewiki. Thanks!--Piramidion 14:10, 10 August 2016 (UTC)
- @Zhaofeng Li: Hi! Apparently you've missed this message.--Piramidion 11:00, 19 September 2016 (UTC)
- @Piramidion: Whoops, sorry about that. Aaaand it's Done Zhaofeng Li talk (Please {{Ping}} when replying) 15:16, 19 September 2016 (UTC)
- Thanks! --Piramidion 15:24, 19 September 2016 (UTC)
- @Piramidion: Whoops, sorry about that. Aaaand it's Done Zhaofeng Li talk (Please {{Ping}} when replying) 15:16, 19 September 2016 (UTC)
Empty brackets in edit summary
Why are there always empty brackets in my edit summary if I use reFill? Example. It looks much like a bug. Iirc some ID is supposed to be in there. So I'd like to know 1) what that ID is about and 2) why it's not showing in my case. In the reFill options I have all options unchecked except "Do not add access dates".
--Fixuture (talk) 20:48, 21 September 2016 (UTC)
- I think it's a legacy of when their was some kind of "version" (for lack of a better word from memory) of reFill put in those brackets when it was run in the past. I think the developer was using that past info for some reason and maybe doesn't need it anymore? Guy1890 (talk) 06:03, 22 September 2016 (UTC)
Serbian Wikipedia
Hi. Could someone explain me how to get reFill working on sr.wiki? I'm ready to translate on TranslateWiki all things (and make TemplateData for CS1 templates if necessary), only need instructions. Thanks. --Obsuser (talk) 18:10, 21 October 2016 (UTC)
- @Obsuser: So sorry for missing this message. I've added srwiki to the test version of reFill, which is automatically updated to include the latest translations on Translatewiki so that you can test things out. Sorry again for being so slow, and thank you for your contributions! Zhaofeng Li talk (Please {{Ping}} when replying) 17:02, 17 November 2016 (UTC)
- No problem at all. Thank you. --Obsuser (talk) 17:11, 17 November 2016 (UTC)
- I've created my account on Translatewiki. Could you point me to the pages on Translatewiki or elswhere where I can translate and adapt the tool? First wrong thing I've noticed is that dates miss dot after day number and year number in dd month year format – instead of "|accessdate=18 новембар 2016" it should be "|accessdate=18. новембар 2016.", for example (otherwise, CS1 modules will report errors and add tracking categories). --Obsuser (talk) 02:49, 19 November 2016 (UTC)
Ref name disconnect introduced by reFill
See the missed instance of ''<ref name=":2"'' (should have been changed to ''<ref name=":23"'') at the end of the first paragraph shown in this diff. Wtmitchell (talk) (earlier Boracay Bill) 07:31, 20 November 2016 (UTC)
Ukrainian Wikipedia (2)
Hi! There's a problem – there's no ukwiki on the list of wikis to choose from. Please add it, so that I could use the tool in Ukrainian Wikipedia as well. Thanks!--Piramidion 09:49, 22 November 2016 (UTC)
reFill can brake stuff..
I'm not a user myself (make later..), I just noticed it broke stuff and I fixed in the next edit. You may want to look into, see if reFill can handle better, and/or warn users (this statement kind of does..). comp.arch (talk) 10:37, 23 November 2016 (UTC)
Not working?
Hi, @Zhaofeng Li:. I'm copyediting Teleperformance Philippines, and because all the refs are bare URLs I tried to use ReFill but couldn't get it to work; it kept coming up "no difference". I don't have much experience with the tool, but I used the default options (only the don't-add-access-dates box checked). FWIW, I'm using Windows 7 and the latest version of Firefox (50.0). Thanks for your help and all the best, Miniapolis 19:26, 22 November 2016 (UTC)
- The article mentioned above just appears to have a numbered listing of possible citations listed at the end of the Reference section that mostly weren't used as inline citations, yet. I removed the ones that were already being used as inline citations in this article here. Guy1890 (talk) 02:30, 23 November 2016 (UTC)
- Yes; I didn't notice the wonky ref formatting (it looks conventional in read mode) until after I posted here. Thanks and all the best, Miniapolis 14:22, 23 November 2016 (UTC)
Refill + "Colwidth"
Hello. I've just started using reFill and noticed it puts "colwidth" into the reflist. This has been marked as obsolete Template:Reflist#Obsolete. Can you make it so it doesn't autofill that?
EDIT: Maybe that was a one time thing? Can you make it so "Watch this page" won't be marked every time when using the "Fetch content from a wiki" part. Thanks --Jennica✿ talk / contribs 15:46, 23 November 2016 (UTC)
Run reFill on a section of an article?
Is it possible to restrict reFill so it only processes a part of an article? The only option I can think of is to copy a section to a working page in User space and process it there, then copy back to the original article - but that is time consuming and prone to errors. Is there a more automated way to have the tool do it?
Background to the request: I tried to run it against List of hospitals in Australia. This caused a couple of problems. Firstly, that article has several hundred bare URLs, so it froze the computer for about an hour. Secondly, there are substantial sections which it does not process properly and I would prefer to omit from its processing, rather than trying to figure out how to revert them to what they were before. --Gronk Oz (talk) 05:43, 23 November 2016 (UTC)
- (talk page stalker) You could copy a section of the article to your Sandbox, run reFill on it, then copy the finished product back to the article. – Jonesey95 (talk) 07:05, 23 November 2016 (UTC)
- Thanks for that - I was afraid that might be the only way. --Gronk Oz (talk) 22:29, 23 November 2016 (UTC)
reFill tool
Hi, Zhaofeng Li, sorry to trouble you, but I have a question to which I do not seem to find an appropriate reply. I frequently make use of this "miracle tool". Though, on the dutch wikipedia, I have been strictly forbidden to use the tool anymore, apparantly it creates mistakes. I do not understand why, in all other languages, there doesn't seem to be a problem. In all honesty, I do not see any "mistakes" when I doublecheck. Thank you for your time. Lotje (talk) 09:16, 1 December 2016 (UTC)
Persian Wikipedia
Hello, I can help you to add Persian to the available languages. Thank you 4nn1l2 (talk) 15:41, 2 December 2016 (UTC)
Idea
When the tool fails to fix some bare URLs, how about auto-adding Template:Cleanup bare URLs? --Piotr Konieczny aka Prokonsul Piotrus| reply here 03:04, 6 December 2016 (UTC)
Spamming
Unfortunately, I came across a number of cases where reFill added a text first=Website design and development by|last=Tibus to the author field. To my opinion, that is spam, as a designer is seldom also the author. Is it possible to prevent this? The Banner talk 20:55, 7 December 2016 (UTC)
- Example: Dunleckney Manor. The Banner talk 20:55, 7 December 2016 (UTC)
- @The Banner: This is a bug with Zotero, and they might be able to use some heuristics to get rid of those fake author tags. Bug filed at [5]. Thank for the report! Zhaofeng Li talk (Please {{Ping}} when replying) 06:44, 16 December 2016 (UTC)
Suggestion for [http...<blank>text] bare URLs
I've been looking at refill, which is interesting and useful. A suggestion I'd make: it would be useful, and I think reasonably easy, to expand bare URLs like this in the text (I've taken the example from the Committee on Climate Change article).
I'd suggest that a bare URL in the form [http...<whitespace>some text abcd]
could usefully be converted to some text abcd<ref>[http...]</ref>
, then expanded to a full {{Cite web}} reference. In other words, the text displayed by this form of bare URL would be incorporated into the article text, followed by a reference in standard form. So that my earlier sentence would become, in edit mode,... it would be useful, and I think reasonably easy, to expand bare URLs like this <ref>{{Cite web|url=https://www.theccc.org.uk/publication/the-fifth-carbon-budget-the-next-step-towards-a-low-carbon-economy/|title=The fifth carbon budget – The next step towards a low-carbon economy|website=Committee on Climate Change|accessdate=19 December 2016}}</ref> in the text ...
This would of course display as
"... it would be useful, and I think reasonably easy, to expand bare URLs like this[1] in the text ..."
This is just a suggestion; please don't feel obliged to respond. It may already be possible to do this somehow, but I haven't been able to do it. And there could be reasons not to do this (though, if implemented, it should always be optional).
- ^ "The fifth carbon budget – The next step towards a low-carbon economy". Committee on Climate Change. Retrieved 19 December 2016.
Best wishes, Pol098 (talk) 17:42, 19 December 2016 (UTC)
Please format the date like DD, MONTH, YYYY
So that dates are filled like "4 January 2017" and not "January 4, 2017".
(Smallest element so to say - the day - first)
Wikipedia should use conventions that are most common sense - and just because Americans are muddling around and have dates typically formatted completely without sense or order doesn't mean we should.
Could this please be changed?
--Fixuture (talk) 17:06, 5 January 2017 (UTC)
- @Fixuture: I believe reFill defaults to dmy, as you are asking for. I have only seen it does mdy on articles that are already tagged as using mdy. If I am correct in my remembrance, I believe its entirely appropriate to respect the set format of a given article. -- ferret (talk) 17:25, 5 January 2017 (UTC)
Suggestion: also allow fixing non-bare URLs
It would be very useful if the tool could also fix selected non-bare URLs. Many people just put some additional text into the ref field that prevents reFill from filling the ref despite it being capable of greatly improving the ref automatically (e.g. I've seen refs with the bare URL and an unlinked title thereafter etc).
This suggestion is related to my "Checkboxes for reference-fixes"-suggestion. Similarly to that checkboxes could be used that are displayed next to all refs with all the non-bare URLs being unchecked by default. So for example if one wants to also reFill some non-bare URLs one has to check them and re-run the tool.
--Fixuture (talk) 16:07, 2 January 2017 (UTC)
- Agree. I've seen people add cite web templates with just a url+title, and sometimes just url. Because the template is there, reFill doesn't assist. -- ferret (talk) 17:26, 5 January 2017 (UTC)
Arabic wikipedia
Hello, I translate this page in arabic language and work in it until now, if you can paste it in your page in arabic wikipedia and link it like you made. Thanks! --Alaa :)..! 17:21, 5 January 2017 (UTC)
- I create it here--Alaa :)..! 18:15, 5 January 2017 (UTC)
- I translate this tool also--Alaa :)..! 18:29, 5 January 2017 (UTC)
- @علاء: Wow, many thanks for the translations! Those pages are already linked, so everything should be all set. Thanks again! Zhaofeng Li talk (Please {{Ping}} when replying) 05:24, 8 January 2017 (UTC)
- I translate this tool also--Alaa :)..! 18:29, 5 January 2017 (UTC)
title={metaData.title} inserted into ref
In this edit to Jin Jin (musician), refill inserted title={{metaData.title}}
into a citation. I thought this bug had been fixed, but it looks like it is still lingering. – Jonesey95 (talk) 14:28, 10 November 2016 (UTC)
ReFill feature request: convert typographer's quotes to straight quotes
ReFill copies typographer's (i.e. curly) quote marks from the source into the resulting citation. See this diff, which is unmodified ReFill output, for an example. Per MOS:QUOTEMARKS, typographer's quotes are not recommended for Wikipedia. ReFill could convert these marks (and, for extra credit, low-high („ “) and guillemet (« ») quotation marks) to straight single or double quotation marks. (originally posted: Jonesey95 (talk) 17:24, 5 February 2016 (UTC)) – Jonesey95 (talk) 04:39, 15 January 2017 (UTC)
Having problems
@Zhaofeng Li: I tried to use the tool for New York City English. It reports a reference being fixed. However, I am unable to save the change. Do you know what the issue is?LakeKayak (talk) 01:31, 28 January 2017 (UTC)
- I have the same problem. Only a # and a white screen pops up when I try to save the formatted references from the tool. Regards,--BabbaQ (talk) 23:02, 28 January 2017 (UTC)
PMC errors
PMC references are being created of the form pmc=PMC4606115 . This is incorrect; the letters PMC should be omitted (pmc=4606115). See, for example, Ginger, specifically this edit whose summary identifies it as being created by this tool. --Floatjon (talk) 14:30, 10 February 2017 (UTC)
- This may be an upstream data problem. See T157152. If it is, the tool needs to strip the "PMC" characters, leaving only the number. – Jonesey95 (talk) 16:10, 10 February 2017 (UTC)
1 January as date often
https://en.wikipedia.org/w/index.php?title=Epistemic_minimalism&diff=prev&oldid=764656258 I have noticed that it lately likes the first of january as the date especially for jstor. AManWithNoPlan (talk) 17:46, 10 February 2017 (UTC)
- The dates being filled in are incorrect; they should have been Apr 1991, Apr 1992, and Jan 1994 (with no day of the month). Is this bad upstream data or something wrong with the script? Here's the script's output unmodified, verifying that it is inserting bad dates. – Jonesey95 (talk) 22:25, 10 February 2017 (UTC)
Hi, Zhaofeng Li, your wonderful tool is having hick-ups. Can I try later? Thank you for your time. Lotje (talk) 05:07, 28 March 2017 (UTC)
Refill failing to fetch links
Refill is failing to fetch all links, as you can see here. Elliot321 (talk) 19:40, 1 May 2017 (UTC)
- @Elliot321: Looks like the old Citoid API has been removed. Working on it now. Zhaofeng Li talk (Please {{Ping}} when replying) 22:06, 1 May 2017 (UTC)
- @Elliot321: It should be working again. Zhaofeng Li talk (Please {{Ping}} when replying) 22:21, 1 May 2017 (UTC)
- Thank you! Elliot321 (talk) 23:13, 1 May 2017 (UTC)
- @Elliot321: It should be working again. Zhaofeng Li talk (Please {{Ping}} when replying) 22:21, 1 May 2017 (UTC)
Author "Super User"
We have about 500 citations authored by someone called "Super User". In this edit, reFill is picking up <meta name="author" content="Super User" />
from the cited page. Does the reFill code have a list of "ignorable authors" which this could be added to? -- John of Reading (talk) 06:22, 31 May 2017 (UTC)
Many companies actively use Twitter to communicate important announcements to their customers. For example, Electronic Entertainment Expo 2017 has numerous tweets used as references. It would be nice if WP:REFILL could detect the twitter.com domain and use {{cite tweet}} for those references. Is this possible? — Gestrid (talk) 18:23, 13 June 2017 (UTC)
reFill
Just a quick note of thanks for this wonderful tool. It is unbelievably helpful, particualrly to techno-idiots such as myself. Best regards. KJP1 (talk) 18:57, 13 June 2017 (UTC)
Recognize bare URLs in {{cite web}}?
I noticed that the tool doesn't expand references of the form <ref>{{cite web|url=http://www.example.com}}</ref>
. Despite being in a CS1 template, it's still technically a bare URL, and it would be great if this tool was able to deal with it. --Ahecht (TALK
PAGE) 14:09, 8 June 2017 (UTC)
- I think this has been suggested before, to have some sort of "re-evaluate cite templates" to fill in missing parts, either left out by others or perhaps from an earlier reFill run that will get better results now. Would be very useful. -- ferret (talk) 18:59, 13 June 2017 (UTC)
- Oh, it's just above at #Suggestion: also allow fixing non-bare URLs. -- ferret (talk) 19:01, 13 June 2017 (UTC)
Your tool currently destroys references that end with "]]" (was: ... that contain a webarchive template).
See reFill edit - and Correction. Also here. -- Ben Ben (talk) 14:31, 1 July 2017 (UTC)
- You are incorrect about the cause. It is the [[Salon.com]] that causes the trouble. The tool sees the end square bracket at the end. Looks like the searching is too greedy maybe? AManWithNoPlan (talk) 14:43, 1 July 2017 (UTC)
- Sorry, no. Please see Using "archive-url" and "archive-date" (and optionally "dead-url") for webpages that have been archived The template {{Webarchive}} has to be converted in cite-web parameters, which isn't done. Changing "|" to "-" is not a convertion. -- Ben Ben (talk) 15:03, 1 July 2017 (UTC)
- {{Webarchive}} has nothing to do with it. It is just an innocent bystander caught between two square brackets. The references are getting destroyed, but the problem is bigger than just {{Webarchive}} AManWithNoPlan (talk) 15:05, 1 July 2017 (UTC)
- Hm, have you checked/compared my correction of the first case? See above. -- Ben Ben (talk) 15:13, 1 July 2017 (UTC)
- Remove the web archive and the bot still messes up AManWithNoPlan (talk) 15:33, 1 July 2017 (UTC)
- Changed the subject. Hope the author will read it. -- Ben Ben (talk) 16:20, 1 July 2017 (UTC)
- Remove the web archive and the bot still messes up AManWithNoPlan (talk) 15:33, 1 July 2017 (UTC)
- Hm, have you checked/compared my correction of the first case? See above. -- Ben Ben (talk) 15:13, 1 July 2017 (UTC)
- {{Webarchive}} has nothing to do with it. It is just an innocent bystander caught between two square brackets. The references are getting destroyed, but the problem is bigger than just {{Webarchive}} AManWithNoPlan (talk) 15:05, 1 July 2017 (UTC)
- Sorry, no. Please see Using "archive-url" and "archive-date" (and optionally "dead-url") for webpages that have been archived The template {{Webarchive}} has to be converted in cite-web parameters, which isn't done. Changing "|" to "-" is not a convertion. -- Ben Ben (talk) 15:03, 1 July 2017 (UTC)
ReFill deletes decline messages when used in Draft after declining a draft.
When I declined this article today, I fixed the references after that I declined it (non-notable). When i looked at the revision, I noticed that this tool deletes the original decline message (for some kind of reason). Is the author(@Zhaofeng Li:) of this tool aware of it? Regards, » Shadowowl | talk 16:41, 2 July 2017 (UTC)
- @Shadowowl: It probably happened because you ran the tool before declining the draft, and the tool based its changes on the old version. Zhaofeng Li talk (Please {{Ping}} when replying) 22:02, 6 July 2017 (UTC)
()
Hi, When I use refill it has () on the end (IE "Filled in 1 bare reference(s) with reFill ()" ) - I recall there used to be numbers in the brackets but anyway wasn't sure if it was something important missing, Thanks, –Davey2010Talk 22:42, 11 July 2017 (UTC)
Powershell script for pages
I created a nifty little script to pass in a list of pages to handle and open in Chrome. Not very efficient since it will hammer the wikimedia labs site, but I still thought it cool as a proof of concept.
foreach ($page in get-content .\urls.txt ){ $postParams = @{page=$page;wiki='en';'method-wiki'='Fix';noaccessdate='on'} $response = Invoke-WebRequest -Uri https://tools.wmflabs.org/refill/result.php -Method POST -Body $postParams if($response.content -like '*Filled in 0 bare reference(s)*'){ echo "nope $page" }else{ echo "todo $page" & 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' "https://tools.wmflabs.org/refill/result.php?page=$page&wiki=en&method-wiki=Fix%20page&noaccessdate=on" } }
Shaded0 (talk) 03:18, 23 August 2017 (UTC)
Change in wording
Just a friendly note about my change to your page: I'm not sure the given example is really a "complete" citation--it just isn't an entirely bare link. ―Justin (koavf)❤T☮C☺M☯ 08:13, 2 September 2017 (UTC)
Marathi language
Hi @Zhaofeng Li: I have applied for translation of tool in Marathi (mr) language please do assist me with the same.--✝iѵɛɳ२२४०†ลℓк †๏ мэ 14:58, 19 September 2017 (UTC)
gigo
I know, garbage in → garbage out, and wp editors are endlessly creative when it comes to misusing wiki markup, but I wonder if instead of converting something like this mess:
[http://riaa.com/goldandplatinumdata.php?table=tblDiamond "Diamond Awards". [[Recording Industry Association of America]] {{webarchive |url=https://web.archive.org/web/20070701163046/http://riaa.com/goldandplatinumdata.php?table=tblDiamond |date=July 1, 2007 }}] {{webarchive|url=https://web.archive.org/web/20070701163046/http://www.riaa.com/goldandplatinumdata.php?table=tblDiamond |date=July 1, 2007 }}. Retrieved August 24, 2007]
- "Diamond Awards". Recording Industry Association of America Archived July 1, 2007, at the Wayback Machine Archived July 1, 2007, at the Wayback Machine. Retrieved August 24, 2007]
into something like this mess:
{{cite web |url=http://riaa.com/goldandplatinumdata.php?table=tblDiamond|title="Diamond Awards". [[Recording Industry Association of America]] {{</nowiki>webarchive -url=https://web.archive.org/web/20070701163046/http://riaa.com/goldandplatinumdata.php?table=tblDiamond -date=July 1, 2007 }}] {{</nowiki></nowiki>webarchive-url=https://web.archive.org/web/20070701163046/http://www.riaa.com/goldandplatinumdata.php?table=tblDiamond -date=July 1, 2007 }}. Retrieved August 24, 2007|publisher=|accessdate=21 September 2017}}</nowiki>
{{cite web |url=http://riaa.com/goldandplatinumdata.php?table=tblDiamond|title="Diamond Awards". [[Recording Industry Association of America]] {{</nowiki>webarchive -url=https://web.archive.org/web/20070701163046/http://riaa.com/goldandplatinumdata.php?table=tblDiamond -date=July 1, 2007 }}] {{</nowiki></nowiki>webarchive-url=https://web.archive.org/web/20070701163046/http://www.riaa.com/goldandplatinumdata.php?table=tblDiamond -date=July 1, 2007 }}. Retrieved August 24, 2007|publisher=|accessdate=21 September 2017}}</nowiki>
should be avoided and the task operator notified that the input is malformed (diff). I'm not a user of reFill so I have no idea if this is even possible.
—Trappist the monk (talk) 11:22, 22 September 2017 (UTC)
Replacing "%20" codes (each meaning a "blank") by PLUS ("+") signs
I already wrote a comment (actually two...) during this edit. I would prefer to "incorporate by reference" one [or both] of those comments here.
The main comment [there] that is (perhaps) relevant to this robot ("reFill") is the second one ... the one labeled << "UPDATE! ... about WHY this edit was NEEDED" >>.
If someone were to insist, then I could incorporate that comment -- which mentions "this should probably be brought to the attention of the developers / maintainers of the "reFill" ROBOT" -- by actually copying and pasting it [e.g., to here] ... instead of incorporating it by reference.
However, IMHO it might be a good idea for someone to read the "original" of that comment (in context).
It might help to check the revision history of the article, and/or it might help to be able to see things in context (e.g., the rest of the edit, and the first comment ... about how I found the "correct" URL to use, even before discovering that only about one day ago, that URL ... in a {{cite web}} template instance ... had been modified [by a robot... I think].)
(( In the case where the value in the "title" field -- (of a certain {{cite web}} template [instance]) -- got changed [probably by a robot] ... to the almost humorous character string, "Nashville > Page Not Found" ["!"], it might be better to actually see it [that silly "title" field] with your own eyes... ))
I do not know [the exact details of] what might possibly [have to] be changed, in order to prevent similar mishaps in the future; ... and, even if this does need to be fixed (or, at least, looked at) ... I do not know whether the priority of this is high or low.
Just "FYI". I hope this helps. --Mike Schwartz (talk) 23:38, 24 September 2017 (UTC)
- This is the refill run that Mike is referring to, where %20 was replaced with +: [6] -- ferret (talk) 23:55, 24 September 2017 (UTC)
- <!-- <ref> </ref> --> also got edited. I think that empty references should be ignored--since obviously not all empty references refer to the same thing. Perhaps references in comments should be ignored also. AManWithNoPlan (talk) 16:45, 25 September 2017 (UTC)
non-existent templates in |title= and |last=
Clearly, something is broken. See these:
—Trappist the monk (talk) 13:00, 1 October 2017 (UTC)
more junk
Is anybody out there? Here is another badly mangled reference output by reFill at this edit by Editor Unreal7 (who should have noticed the red error messages before saving the article):
This:
[http://qosfc.com/new_report.aspx?fixtureid=158 "Queen Of The South 1 – 3 Dunfermline Athletic"] {{webarchive|url=https://web.archive.org/web/20110715134408/http://qosfc.com/new_report.aspx?fixtureid=158 |date=15 July 2011 }}, 26 February 2011]
- "Queen Of The South 1 – 3 Dunfermline Athletic" Archived 15 July 2011 at the Wayback Machine, 26 February 2011]
Became this:
{{cite web|url=http://qosfc.com/new_report.aspx?fixtureid=158|title="Queen Of The South 1 – 3 Dunfermline Athletic"] {{</nowiki>webarchive-url=https://web.archive.org/web/20110715134408/http://qosfc.com/new_report.aspx?fixtureid=158 -date=15 July 2011 }}, 26 February 2011|publisher=}}</nowiki>
{{cite web|url=http://qosfc.com/new_report.aspx?fixtureid=158|title="Queen Of The South 1 – 3 Dunfermline Athletic"] {{</nowiki>webarchive-url=https://web.archive.org/web/20110715134408/http://qosfc.com/new_report.aspx?fixtureid=158 -date=15 July 2011 }}, 26 February 2011|publisher=}}</nowiki>
Yes, I know that there is an extraneous trailing ]
. If that causes reFill to misbehave, then the tool needs fixing to skip over malformed references because blundering ahead clearly produces junk.
—Trappist the monk (talk) 12:09, 4 October 2017 (UTC)
Misuse of parameters
This kind of stuff needs to not happen. Almost every single time I see someone using this tool, it is putting false data in the |first=
and |last=
parameters. This needs to be fixed immediately or the tool disabled, since it is falsifying citation data, pretty much the worst "sin" there is on Wikipedia. — SMcCandlish ☏ ¢ >ʌⱷ҅ᴥⱷʌ< 12:31, 10 November 2017 (UTC)
- Parsing is an inexact process. It is not something that can be 100% fixed in the tool. The user is responsible for reviewing the changes and making corrections. The user who did not should be notified to be more careful. -- ferret (talk) 15:40, 10 November 2017 (UTC)
Bug report
In this edit, the Caterersearch.com citations become a meaningless jumble. Is this an error in the metadata, or is it a bug in your program? -- Ohc ¡digame! 15:56, 19 November 2017 (UTC)
- That information is coming from the website. The pages are now 404 errors. Citoid returns this to refill:
[
{
"url": "https://www.thecaterer.com/business/companies/33812/barracuda-group-limited",
"itemType": "webpage",
"websiteTitle": "{{metaTags.other['og:site_name']}}",
"title": "{{metaTags.other['og:title']}}",
"abstractNote": "{{metaTags.other['og:description']}}",
"accessDate": "2017-11-20",
"author": [
[
"",
"{{metaTags.other.author}}"
]
],
"source": [
"citoid"
]
}
]
but it also says this on the website interface:
HTTP Status Code Reason Response Model Headers 404 Citation data was not found.
AManWithNoPlan (talk) 00:11, 20 November 2017 (UTC)
- I have complained. https://www.mediawiki.org/wiki/Talk:Citoid AManWithNoPlan (talk) 00:40, 20 November 2017 (UTC)
- the data is the data that website really does report. GIGO 🙄. AManWithNoPlan (talk) 13:59, 20 November 2017 (UTC)
- Yes, but Citoid should be able to block it from going into the citation template. GINGO. – Jonesey95 (talk) 14:59, 20 November 2017 (UTC)
- True, true, true. Yet another reason why using blank URLs as references is a terrible idea. They can (and often do) change on you. AManWithNoPlan (talk) 15:19, 20 November 2017 (UTC)
- Yes, but Citoid should be able to block it from going into the citation template. GINGO. – Jonesey95 (talk) 14:59, 20 November 2017 (UTC)
- the data is the data that website really does report. GIGO 🙄. AManWithNoPlan (talk) 13:59, 20 November 2017 (UTC)
Bug report - line feeds and other hidden characters should be stripped
In this edit, reFill apparently inserted a line feed into a new |title=
parameter (search for "electronic visa system" to find the edit). If the error is reproducible, please fix reFill's code such that it removes or suitably replaces as many characters as possible that are described at this error message explanation. Thanks. – Jonesey95 (talk) 15:50, 6 January 2018 (UTC)
- At the very least, all runs of whitespace characters in titles, names, and publishers can be replaced with a single ASCII space character safely. reFill is generating a lot of bad citation templates that contain, in particular, newlines and horizontal tabs in the title. In addition, reFill could profitably check for C1 control characters and either flag them or drop them. These usually come from someone using un-tagged Windows codepage 1252 text and will not display correctly on Wikipedia, and are really hard for someone not deep into character encoding lore to fix, so they would be better dropped (deleted) than added to articles. --Xover (talk) 10:24, 11 January 2018 (UTC)
Blacklist pulitzer.org?
Can you please consider blacklisting pulitzer.org from this tool? See this typical edit for reFill results. – Jonesey95 (talk) 16:49, 29 January 2018 (UTC)
Phrase blacklist
DragonflySixtyseven has found some titles added to raw URLs that are clearly incorrect. If possible, phrases such as these should be added to a blacklist and the URL should be marked as {{dead url}} instead of placed with spurious information inside of a {{cite web}} template. Primefac (talk) 18:34, 26 December 2017 (UTC)
- As a side note, the "Forbes landing page" should not be included in the list. Primefac (talk) 19:01, 26 December 2017 (UTC)
- Links to websites with the title "This website is for sale!" are still getting added to the encyclopaedia, e.g. [7]. Thryduulf (talk) 22:12, 17 February 2018 (UTC)
implement GET as well as POST
https://tools.wmflabs.org/refill/result.php?wiki=en&method-wiki=Fix%20page&noremovetag=on&addblankmetadata=on&usedomainaswork=on&page=Random
69.181.23.220 (talk) 13:25, 1 April 2018 (UTC)
reFill for external links ?
Hello, could reFill be enhanced to handle formatting of explicit external links such as:
- === External links ===
- * http://astronomy.sussex.ac.uk/people/lmestel.html
I mean a direct http address not embedded into ref wiki tags, Thanks --Cauannos (talk) 14:38, 12 November 2017 (UTC)
- Toggle advanced input ...
Add lvwiki
@Zhaofeng Li: could you add lvwiki to the list? --Edgars2007 (talk/contribs) 07:34, 5 May 2018 (UTC)
Bug report - webarchive causes trouble
Please take a look at this edit and do what you can to prevent webarchive templates within references from turning into error-filled citation templates. Thanks. – Jonesey95 (talk) 05:02, 15 May 2018 (UTC)
Publisher missing
The last two references that I've filled in with Refill have missed the publisher off. Is this just a freak occurrence with these two, or is anyone else suffering this on a regular basis? - X201 (talk) 07:46, 21 June 2018 (UTC)
Simple ReFill
Hello there. I've recently began working more on the Simple English Wikipedia and I noticed ReFill on the list of Page tools, but when used, it opens the enwiki article. Is this an issue on my end or is the Simple English version not supported yet? Thanks! Operator873CONNECT 00:51, 16 June 2018 (UTC)
- @Operator873: I have now updated the template on simple Wikipedia, as the previous tool was broken. You can access this tool using the link on the template, as it adds
wiki=simple
to the URL. Dreamy Jazz talk | contribs 16:57, 11 July 2018 (UTC)
Tabs and whitespace in title
[8] isn't good. Andy Dingley (talk) 21:51, 16 April 2018 (UTC)
- I've found similar problems: example 1, example 2, and a rather nasty case here. Before reFill that last had many bare URLs, but no error messages in the ref list. After reFill: no bare URLs, and 38 error messages about horizontal tab characters, one for every ref reFill changed. It's not always horizontal tabs; an edit with reFill resulted in an 'external link in title' error here, and added a line feed character here. BlackcurrantTea (talk) 05:06, 13 July 2018 (UTC)
- ReFill needs to convert tabs and line feeds to spaces. It shouldn't be too tricky, I hope. I reported this bug on this talk page in January 2018. Please fix it. – Jonesey95 (talk) 06:23, 13 July 2018 (UTC)
This url is not available on the live web
- "This url is not available on the live web"
- timeout
- timeout
- timeout
69.181.23.220 (talk) 09:44, 25 July 2018 (UTC)
ReFill
Very nifty little tool. I just added it to {{Automated tools}}, so expect a traffic increase. Headbomb {t · c · p · b} 16:34, 27 August 2018 (UTC)
Error message
I've been getting the error message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." I have gotten this on multiple computers. The result is the tool just showing the title of the article (as a link), without the name of the site or anything else. Is this a common issue? Any trouble shooting I could try? ‡ Єl Cid of ᐺalencia ᐐT₳LKᐬ 04:11, 21 July 2018 (UTC)
- El cid, el campeador, there's a discussion about the same error at Village Pump (technical). It's being tracked as a phabricator task. BlackcurrantTea (talk) 04:22, 21 July 2018 (UTC)
- I'm also facing the same problem.Hope it will be ok soon.Akhiljaxxn (talk) 06:35, 5 September 2018 (UTC)
Add mlwiki
@Zhaofeng Li: could you please add mlwiki to the list? --Akhiljaxxn (talk) 06:37, 5 September 2018 (UTC)
Invalid dates
Hello in this edit it added a date of 17 September 7864 for one of the filled references. The date that it should be is 18 December 2017. Keith D (talk) 11:11, 17 September 2018 (UTC)
Request to use it in another wiki
Hello, I'd like to start using this tool in etwiki (Estonian). The page for tools is et:Vikipeedia:Tööriistad/ Thank you :) --Pelmeen10 (talk) 23:08, 24 September 2018 (UTC)
Infected?
I just tried to use the "yourself" refill link, but my virusprogram says it's infected with HTML:ChaseBank-A [Phish]. Never seen this before.— Preceding unsigned comment added by Gråbergs Gråa Sång (talk • contribs) 17:01, October 22, 2018 (UTC)
- Same, with AVG.--WizWheatly (ftaghn) 20:16, 22 October 2018 (UTC)
- Gråbergs Gråa Sång, WizWheatly: mentioning this at the Wikipedia:Village pump (technical) might get some helpful attention; Zhaofeng Li hasn't been here in quite a while. The only recent changes I see at Github are from Nikerabbit for translatewiki.net (there may be others I missed). BlackcurrantTea (talk) 04:04, 25 October 2018 (UTC)
- BlackcurrantTea, great minds etc: Wikipedia:Village_pump_(technical)#Refill_infected?. Thank you anyway, and for whatever reason, my AVG is currently satisfied. Gråbergs Gråa Sång (talk) 07:16, 25 October 2018 (UTC)
- Oops, somehow went right past that when looking at the page. I appreciate your tact in mentioning it. BlackcurrantTea (talk) 08:06, 25 October 2018 (UTC)
- BlackcurrantTea, great minds etc: Wikipedia:Village_pump_(technical)#Refill_infected?. Thank you anyway, and for whatever reason, my AVG is currently satisfied. Gråbergs Gråa Sång (talk) 07:16, 25 October 2018 (UTC)
- Gråbergs Gråa Sång, WizWheatly: mentioning this at the Wikipedia:Village pump (technical) might get some helpful attention; Zhaofeng Li hasn't been here in quite a while. The only recent changes I see at Github are from Nikerabbit for translatewiki.net (there may be others I missed). BlackcurrantTea (talk) 04:04, 25 October 2018 (UTC)
Conversion
Hi there. I know that Refill has some very basic ability to convert existing citations that do have a <ref> but whose contents are semi-bare. But can we please have some functionality at least in the beta version, for converting non-template-based citations into real normal citations? People keep writing citations in paper format, for a digital encyclopedia. Or a pointless combination of template and non-templates, and some bonus insane text formatting. For example, you could slurp {{webarchive}} and the url-and-title pair and the "Retrieved" dates. Check out the tome of obscenity that is St.GIGA.
<ref>''[http://stgiga.jp/gallery/g-2.htm セント・ギガ ギャラリー ● スクリーン・ミューター] {{webarchive|url=https://www.webcitation.org/67LVLdrs2?url=http://stgiga.jp/gallery/g-2.htm |date=May 1, 2012 }}''. StGIGA.jp. Retrieved March 1, 2009.</ref>
Please just give us the option for it to make an attempt and give us a start at the metadata, and make blank suggestions like for "|first=|last=", if you would be so kind. Please. Just do whatever is easiest for you, because it's already x999999 work for us. Please. Pleasepleasepleaseplease. — Smuckola(talk) 08:15, 31 October 2018 (UTC)
Tampa Bay Times article - REFILL usage
@Zhaofeng Li: can you take a look at this? I had hoped someone would come along trying to fix this, but instead it as reverted with the comment once again, reFill produces crap. Thank you for your time. Lotje (talk) 05:53, 1 November 2018 (UTC)
- Lotje, Zhaofeng Li hasn't edited here since last December; there's no telling when he'll return. It's unfortunate, as issues (e.g. the aforementioned 'crap') haven't stopped coming up in the intervening time.
Instead of hoping someone will come along and fix it, how about filling in the details yourself, without using ReFill? It may take a little more time, but it's easy. If I'm unsure of parameters I keep template documentation, such as this page open in another tab and refer to it. BlackcurrantTea (talk) 10:21, 1 November 2018 (UTC)
You are invited to join the discussion at Wikipedia talk:Citing sources#Bare urls and the use of reFill. DBigXrayᗙ 10:17, 2 November 2018 (UTC)
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)
- 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)
- 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)
- 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)
- And the documentation for {{Cite web#URL}} is also very clear:
- 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)
reFill 2 replacing references with other references
Can anyone take a look at this diff? feminist (talk) 16:55, 12 January 2019 (UTC)
- @Feminist: Looking into it. Zhaofeng Li talk (Please {{Ping}} when replying) 17:02, 12 January 2019 (UTC)
- @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)
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)
- @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)
- Zhaofeng Li, Thanks, that works a treat! Cabayi (talk) 18:31, 12 January 2019 (UTC)
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)
- @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)
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)
- @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)
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)
- One more; Xian Y-7 has the same issue. Redalert2fan (talk) 14:38, 16 January 2019 (UTC)
- @Redalert2fan: Fixed Thanks! Zhaofeng Li talk (Please {{Ping}} when replying) 21:18, 17 January 2019 (UTC)
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)
- @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
andhttp://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)- @Zhaofeng Li: Ah okay, I realised I see wrongly on the second part. Thanks! --Xaiver0510 (talk) 05:17, 21 January 2019 (UTC)
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)
- @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)
- @Zhaofeng Li: Thanks so much --DannyS712 (talk) 06:04, 24 January 2019 (UTC)
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)
- @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)
- 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)
- @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)
- 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)
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)
- @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)
- @Zhaofeng Li: Thanks for fix. Any way of adding the
|accessdate=
parameter? Keith D (talk) 21:45, 17 January 2019 (UTC)- @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)
- 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) - @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)
- FWIW, allowable dates in CS1 citations are as follows, per the documentation at e.g. {{cite book}}: "Future dates in
- @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)
- @Zhaofeng Li: Thanks for fix. Any way of adding the
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)
- @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)
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)
- @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)
- @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)
- @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)
- @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)
- @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)
- @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)
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)
- 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)
- @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)
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)
- @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)
- 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)
- @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)
- 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)
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)
- Those are not acceptable date formats on Wikipedia. See MOS:DATEFORMAT. – Jonesey95 (talk) 12:36, 18 February 2019 (UTC)
- 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)
malformed conversion of ext link and webarchive template
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:
|url=http://babylonia.ch/
is incomplete; should be:|url=http://www.babylonia-ti.ch/BABY205/PDF/tschirner.pdf
- when reFill makes a decision that the original url is dead and there is an archive url,
|dead-url=
is superfluous |title=BABYLONIA
is incorrect; if reFill cannot obtain the title from the pdf, it should not be using a title that it gets from some other place; better to abandon the edit- the canonical parameter names are hyphenated:
|archive-date=
,|archive-url=
,|dead-url=
, etc
—Trappist the monk (talk) 16:07, 21 February 2019 (UTC)
refill down?
I keep getting error 503 bad gateway [Username Needed] 10:53, 25 February 2019 (UTC)
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 {{.