Jump to content

User talk:Zhaofeng Li/Archive 9

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 5Archive 7Archive 8Archive 9Archive 10Archive 11Archive 13
Read, thanks.
17:54, 14 January 2019 (UTC)
Read, thanks
20:36, 21 January 2019 (UTC)

18:15, 28 January 2019 (UTC)

Happy First Edit Day!

Arabic text extraction from webpage issue

Hello,

In trying out Refill 2, the tool does not correctly extract information when in Arabic. Instead of Arabic text the characters are replaced with the unknown character "�". The arabic text is not also shown in the edit box on the wiki. Details below:

  • Task Name fixWikipage
  • Task ID f1f24d2a-51f1-4847-955b-a44598cbe6f4
  • Change ID 0
  • Old Text http://nna-leb.gov.lb/ar/show-report/371/
  • New Text {{Cite web|url=http://nna-leb.gov.lb/ar/show-report/371/|title=������� ���� ������ ������ ������ ������ ��� ����|first=|last=������� ������� �������|website=������� ������� �������}}

Thanks for a great tool, I hope this is not a big problem to fix! Dreamy Jazz 🎷 talk to me | my contributions 17:08, 17 January 2019 (UTC)

@Dreamy Jazz: This is a problem with Citoid, which isn't correctly detecting the document's encoding. For such cases, I have added checks in the tool to discard invalid metadata parsed by Citoid and use its own. There is a related task on Phabricator for this problem, phab:T212490. For the record, the tool now generates this reference for the source in question: {{Cite web|url=http://nna-leb.gov.lb/ar/show-report/371/|title=الوكالة الوطنية للإعلام - كفرحاتا بلدة شمالية متاخمة لزغرتا شفيعها مار ماما}} Zhaofeng Li talk (Please {{Ping}} when replying) 23:26, 17 January 2019 (UTC)
@Dreamy Jazz: This issue has been resolved by WMF. Zhaofeng Li talk (Please {{Ping}} when replying) 22:00, 31 January 2019 (UTC)

17:12, 4 February 2019 (UTC)

reFill

Thanks for your ping, apologies for the lack of response, I've been on a wikibreak. I'll test the new version! SITH (talk) 16:51, 10 February 2019 (UTC)

18:45, 11 February 2019 (UTC)

Refill 2 for Marathi Wikipedia

Dear Zhaofeng Li,

Refill is an excellent tool and I had requested for a Marathi version of it far before on it's talk. I even tried to contact via Transifex but I had no response. Since now I seen that Refill2 is under testing I would like you to add Marathi (mr) language to it. It would be very helpful for us on that wiki to use this tool. I and my fellow editors are ready to give our best possible help to translate and localize the tool. Waiting for a positive response. Thanking you --✝iѵɛɳ२२४०†ลℓк †๏ мэ 08:38, 14 January 2019 (UTC)

@Tiven2240: I must have missed that during my long hiatus. Translations are currently handled on Translatewiki, though some rough edges still need to be ironed out to allow the tool to adapt to different Wikipedias. Thanks for your contributions! Zhaofeng Li talk (Please {{Ping}} when replying) 22:24, 14 January 2019 (UTC)
@Zhaofeng Li: And it's ready fully translated in Marathi(mr) Language. What's next? --✝iѵɛɳ२२४०†ลℓк †๏ мэ 18:32, 17 January 2019 (UTC)
@Tiven2240: Great, now the translations should be already live on the tool. I'm going to update the toolbox script in the next couple of days, so users on other wikis will see the link to reFill 2. Zhaofeng Li talk (Please {{Ping}} when replying) 23:29, 17 January 2019 (UTC)

That's fantastic. Thank you. Umm.. using this tool on Mrwp in my sandbox at सदस्य:Tiven2240/धूळपाटी I haven't been getting citation templates working on it. The tool just fills the URL title in front of it but not fills it. (test edit)

--✝iѵɛɳ२२४०†ลℓк †๏ мэ 03:00, 18 January 2019 (UTC)

@Tiven2240: Sorry for the late response. The tool will only use citation templates when the links are in inside <ref>...</ref> tags (example). For external links in the article body, the tool will simply add captions to them without changing the existing structure. I'm adding support for fetching template names from MediaWiki:Citoid-template-type-map.json (mr) so wiki-specific templates can be used. Zhaofeng Li talk (Please {{Ping}} when replying) 23:56, 20 January 2019 (UTC)
Hi Zhaofeng Li. Currently refill doesn't use localize parameter, instead it use english parameter. You could retrieve them from templatedata (like visual editor do). --আফতাবুজ্জামান (talk) 16:38, 18 February 2019 (UTC)

23:13, 18 February 2019 (UTC)

Talk to us about talking

Trizek (WMF) 15:08, 21 February 2019 (UTC)

reFill2 issues

Hi! Have two questions about reFill2 (edit in question):

  • Would it be possible to specify/use other date format? At least "YYYY-MM-DD".
  • I was under impression, that only bare url's are filled up, but there is first filled reference which is in form [url text]. If you fill those too, then maybe use original title?

Sorry, no taskId - not using web interface. And thanks for API - real time-saver :) --Edgars2007 (talk/contribs) 16:49, 19 February 2019 (UTC)

@Edgars2007: Glad to see people using the APIs! Currently, the numeric (YYYY-MM-DD) date format is language-specific and only available on English wikis (supply {"dateFormat": {"en": "numeric"}} as preferences). I'll change it so that it can be used on all wikis. I'm torn on the second one though, because there are many bad link captions that are better off replaced with the page title. Perhaps some heuristics can be applied in this case. Any thoughts? Zhaofeng Li talk (Please {{Ping}} when replying) 22:25, 22 February 2019 (UTC)

21:17, 25 February 2019 (UTC)

16:38, 4 March 2019 (UTC)

How can I add Refill 2 for Malayalam Wikipedia

I want to add refill tool for Malayalam Wikipedia. What I want to do? --Ranjithsiji (talk) 15:36, 9 March 2019 (UTC)

19:29, 11 March 2019 (UTC)

19:44, 18 March 2019 (UTC)

18:05, 25 March 2019 (UTC)

16:29, 1 April 2019 (UTC)

18:24, 8 April 2019 (UTC)

23:00, 15 April 2019 (UTC)

refill 2 pending worker

Is there any issue with the bot? It has been pending worker for a long time and still not assigned one. --Xaiver0510 (talk) 02:49, 17 April 2019 (UTC)

19:08, 23 April 2019 (UTC)

newsletter page

Your newsletter page is full to the point where the message delivery has ceased to that page. You need to make the target page smaller. — billinghurst sDrewth 11:47, 25 April 2019 (UTC)

22:27, 29 April 2019 (UTC)

16:27, 6 May 2019 (UTC)

decade old reference merge bug

https://en.wikipedia.org/w/index.php?title=Child_marriage_in_Niger&oldid=896909962 If you merge multiple references that already have names things go wrong. Some of them do not get their names changed to the new one. AManWithNoPlan (talk) 16:20, 13 May 2019 (UTC)

https://en.wikipedia.org/w/index.php?title=Child_marriage_in_Niger&type=revision&diff=896910605&oldid=896909962 AManWithNoPlan (talk) 16:22, 13 May 2019 (UTC)

00:48, 14 May 2019 (UTC)

Author parameters are duplicated

Hi,

I've noticed that when using the reFill tool in the past few days that the author parameter repeats the same info.

See here :[59] for an example.

Thanks, David O. Johnson (talk) 04:22, 20 May 2019 (UTC)

This might be a GIGO error. The code <meta name="author" content="Emily Kopp" /> appears twice in the source of that web page. – Jonesey95 (talk) 07:37, 20 May 2019 (UTC)

13:04, 20 May 2019 (UTC)

Issue with changing references from https to http

One reference on Draft:For Gyumri was changed from https to http, however, the website seems to have a valid certificate. See details below:

  • Task Name fixWikipage
  • Task ID 89cdcc9c-de3e-4bb3-9743-957f1ea0f58b
  • Change ID 1
  • Old Text https://dailybruin.com/2018/10/15/musicians-unique-performance-blends-armenian-folk-jazz-improvisation/
  • New Text {{Cite web|url=http://dailybruin.com/2018/10/15/musicians-unique-performance-blends-armenian-folk-jazz-improvisation/|title=Musician’s unique performance blends Armenian folk, jazz improvisation|website=dailybruin.com}}

Thanks, Dreamy Jazz 🎷 talk to me | my contributions 21:16, 26 May 2019 (UTC)

15:33, 27 May 2019 (UTC)