User talk:Zhaofeng Li

From Wikipedia, the free encyclopedia
Jump to: navigation, search


Refill gadget not working[edit]

Clicking it on Cash cow returns [1] which doesn't work. The only way to make it work is to remove everything after "page=Cash_cow". KonveyorBelt 22:19, 19 August 2015 (UTC)

Also it doesn't even work on cash cow: There are obvious bare links on the reflist, and it doesn't recognize them. KonveyorBelt 22:23, 19 August 2015 (UTC)
Nvm, seems to be because of odd syntax in the link itself, see this edit. Gadget still doesn't work though. KonveyorBelt 22:26, 19 August 2015 (UTC)
@Konveyor Belt: I understand it's probably too late, but does the gadget work for you now? If it doesn't, what browser are you using? Thanks for the report. Zhaofeng Li [talkcontribs] 09:06, 17 November 2015 (UTC)[edit]

@Zhaofeng Li: have you tried to use your tool recently? Is hacked? Thank you for your time. Face-smile.svg Lotje (talk) 09:51, 15 September 2015 (UTC)

Possible bug FYI[edit]

I was notified of a referencing error concerning this edit at Bowen Stassforth. It seems that one citation link, which is repeated several times in the article and which is incidentally dead, failed to be integrated by your script, leaving instead a pair of empty ref tags. Regards, -- Ohc ¡digame! 10:57, 16 September 2015 (UTC)

@Ohconfucius: Looking into it. I'm really, really sorry for being unresponsive, but I've been very busy in real life lately. Zhaofeng Li [talkcontribs] 02:46, 1 October 2015 (UTC)
@Ohconfucius: Fixed in the test version, finally. Thanks for the report! Zhaofeng Li [talkcontribs] 02:03, 14 December 2015 (UTC)


Enjoy your wikibreak. Face-smile.svg Lotje (talk) 03:28, 1 October 2015 (UTC)[edit]

"'Set `url=` to the URL and `format=` to `CiteTemplateCitationGenerator` or `PlainCs1CitationGenerator`" should be `CiteTemplateGenerator` or `PlainCs1Generator`.--Antigng (talk) 05:17, 16 November 2015 (UTC)

@Antigng: Fixed in 83e9dd. Thanks for the report! Face-smile.svg Zhaofeng Li [talkcontribs] 08:17, 16 November 2015 (UTC)

Pinyin Wiki[edit]

Hi, I've just created a new tool on Tool Labs that adds approximate Pinyin readings to the Chinese Wikipedia. I thought you may be interested as you are a native Chinese speaker and I notice you have used Tool Labs. I'd be very interested in your feedback. Do you think it could help someone learn to read Chinese?

The modified wiki is available at, or via the info page.

I haven't learnt enough Chinese yet so I can't judge how good the readings are. I know that they are not 100% perfect, as I basically have a database that has a 1-1 correspondence between characters and readings, which is obviously going to get some wrong. (The readings I am using at the moment are those from the "kMandarin" field of the Unihan Database.) However, I am wondering whether in most cases an approximate reading is enough to help you get most of the meaning, and the rest can be inferred by context.

-Spacemartin (talk) 16:14, 20 November 2015 (UTC)

@Spacemartin: Looks great, but I guess <ruby>...</ruby> tags are better for this purpose, like (cēn)(). And a faster alternative to using a full MediaWiki installation is to use mw:Parsoid or action=render to retrieve the bare HTML for a page (for example, [2]). Then, you can add pinyin by manipulating the DOM directly.
Also, keep in mind that a character may have different pronunciations and meanings, based on the context or the word it's used in. For example, 差 is pronounced chā in the word 差别 (difference), cī in 参差 (irregular), and chà in 差评 (poor evaluation). However, the kMandarin field in Unihan only lists chà. This can be misleading, especially for learners. The kHanyuPinyin and kXHC1983 fields contain all pronunciations listed in Hanyu Da Zidian and Xiandai Hanyu Cidian respectively, but I don't think they are helpful. Anyway, it's not bad as a demo. Keep up the good work!
Zhaofeng Li [talkcontribs] 04:14, 21 November 2015 (UTC)
Hmm yes, I could have used Parsoid, but (a) it looks like it doesn't support language variant conversion yet [3], and (b) the links come back with Chinese characters in the HTML attributes, meaning I would have to parse the HTML to work out which characters to convert, whereas MediaWiki URL-encodes all of its HTML attributes, making the job much easier. And I think action=render is generally frowned upon for mirrors?
I'm thinking of doing some data mining on the Chinese Wiktionary at some point to get some word recognition going, hopefully that will improve the readings.
-Spacemartin (talk) 21:23, 21 November 2015 (UTC)

Hi again! As planned, I've now improved Pinyin Wiki with word recognition. I'm using the Chinese Wiktionary to create a database of multi-character words and their corresponding readings, and then using a greedy-matching algorithm to convert the words. I've put the characters into tooltips because they would otherwise make it harder to read. I'm really trying to help people improve their spoken Chinese, as it doesn't make much sense to learn characters until you're confident with the spoken language. Hopefully my wiki will make self-study easier.

I've updated User:Spacemartin/Pinyin Wiki with details of the new algorithm and how I am creating the dataset.

Do you think you could help me by taking a look at a few articles, and letting me know what sort of an error rate it's getting, particularly with polysyllabic words? Just an estimate of how many errors per paragraph or something like that. I know that there are some errors, for instance I noticed "1990 niánfǎ míngliǎo" in wǎngyè liúlǎnqì (first section, first paragraph) instead of "1990 nián fǎmíngliǎo". Your help would be much appreciated. Thanks!

-Spacemartin (talk) 20:14, 13 December 2015 (UTC)

A barnstar for you! Scratchpad[edit]

Brilliant Idea Barnstar Hires.png The Brilliant Idea Barnstar
Thank you for Scratchpad - elegantly enabling offline editing of forked articles and online testing of parsed Wiki code, including citation and other templates. Awesome! -- Paulscrawl (talk) 21:17, 30 November 2015 (UTC)

Reverting MVT disambiguation edit[edit]

"mvt" is a file format for Mapnik Vector tiles <> which is one of the formats that OpenStreetMap can use. So, I think it is relevant.

Oops, it was a silly mistake. I've re-added the entry. Sorry about that! Zhaofeng Li talk (Please {{Ping}} when replying) 11:26, 29 December 2015 (UTC)

Disambiguation link notification for December 30[edit]

Hi. Thank you for your recent edits. Wikipedia appreciates your help. We noticed though that when you edited Mengshan Giant Buddha, you added a link pointing to the disambiguation page Sina (check to confirm | fix with Dab solver). Such links are almost always unintended, since a disambiguation page is merely a list of "Did you mean..." article titles. Read the FAQ • Join us at the DPL WikiProject.

It's OK to remove this message. Also, to stop receiving these messages, follow these opt-out instructions. Thanks, DPL bot (talk) 09:27, 30 December 2015 (UTC)

Fixed /me feeds DPL bot some oil Zhaofeng Li talk (Please {{Ping}} when replying) 09:31, 30 December 2015 (UTC)

Upside-Down Oshwah Award[edit]

Oshwah Picture.jpg
Upside-Down Oshwah Award
You fist-bumped Oshwah too hard! Enjoy your award. Cheers, Sn1per (t)(c) 04:07, 31 December 2015 (UTC)
It's an IRC joke if you didn't get it.

translation of existing Wikipedia page[edit]

I would like to submit MY ENGLISH TRANSLATION of the following wikipedia page in Italian, about a living musician named Marzio Del Testa

what can I do ??? your instructions are very difficult and I've already been speedy deleted once (unjustly I believe) — Preceding unsigned comment added by Jones62 (talkcontribs) 13:56, 19 January 2016 (UTC)


The option "Do not add access dates" is always set on. Could this be changed to always be set off, or alternatively, that the editor can call the tool with it set off? I always want the access dates.--DThomsen8 (talk) 14:22, 22 January 2016 (UTC)

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
Thanks to your useful tool:) Stang 15:52, 13 February 2016 (UTC)



I saw on that you have a Telegram bot. Does it work? Do you have the source for it somewhere? I wanted to try to write a wiki-editing Telegram bot myself, and I wondered whether I can build off your work :)

Thanks! --Amir E. Aharoni (talk) 18:01, 1 April 2016 (UTC)

@Amire80: Hey there! The bot isn't running at the moment, but the source is available here on GitHub. It doesn't do any editing, but I suppose it can be easily implemented with libraries like Peachy. Note that the source code currently uses a old version of the Telegram bot SDK, and you may want to read the latest documentation as quite a few APIs have changed since I wrote the bot. Good luck and have fun! Face-smile.svg Zhaofeng Li talk (Please {{Ping}} when replying) 09:38, 5 April 2016 (UTC)
I did something here:
It's very raw, but I did manage to make some edits using it! I hope to clean it up and make it active some time soon. --Amir E. Aharoni (talk) 08:16, 6 April 2016 (UTC)

Palliative Care[edit]

I am obviously confused by this Wiki editing process. The current Palliative Care page could really use some editing, which I spent hours on, but then all my work was undone. I am not following how I am supposed to submit my edits. Do editors just automatically undo the edits and leave them at that? Who owns the page to approve the edits? — Preceding unsigned comment added by PCnurse (talkcontribs) 04:19, 17 April 2016 (UTC)

@PCnurse: Hi, I've reverted your edit as I don't think it's good enough to be published. Although I don't have relevant expertise in this area, I'd like to point you to Referencing for beginners which should give you an idea of how to properly make citations on Wikipedia. In addition, I think it may be better to add to the relevant sections and to improve the lede, rather than insert large blocks of text at the beginning. After improving your draft, you may suggest your changes on the article's talk page and ask editors at WikiProject Medicine for their opinions.
I have a feeling that this may be an assignment. If it's the case, I'm really sorry about delaying your work. Please refer your instructor to Wikipedia:Student assignments - We have a program aiming to help educators use Wikipedia as a teaching tool more effectively, and to facilitate mutual communication.
Again, I'm sorry if the whole thing is confusing. Feel free to ask if you have any question!
Zhaofeng Li talk (Please {{Ping}} when replying) 04:44, 17 April 2016 (UTC)

Thank you so much for the response. Yes, it is an assignment. We created our own Wiki's on our school's Blackboard page and are supposed to try to edit our topic's Wikipedia page. This is the first time the instructor has asked her students to try to make edits (and she wants feedback about the process, which I will refer her to the above mentioned link to help educators...etc.). Luckily, getting the edits accepted isn't part of the grade, but as I mentioned the PC page does really need some "sprucing up". Thank you again for all of your help. — Preceding unsigned comment added by PCnurse (talkcontribs) 05:28, 17 April 2016 (UTC)

Refill not working[edit]

Either the tool or wmflabs has problems. Not expecting a quick reply, just letting you know.--Auric talk 11:38, 20 May 2016 (UTC)

@Auric: It appears to be working the time you posted this, according to the logs. Maybe it's related to this bug? Sorry for the slow response. Zhaofeng Li talk (Please {{Ping}} when replying) 08:15, 30 May 2016 (UTC)


Thanks for creating this tool. I do a moderate amount of cleanup of references, and after only a few, the cleanup in visual editor works fine. However, if there are more than three or four, I turned to Refill. I have one small request — when I am in reference cleanup mode I'd like to do a number of articles. I can drop the article name into refill and it runs but then it closes, it would be nice if there were a toggle which could even default to closing when done but I could switch off and it would stay open and ready for another article. Is this feasible or am I missing something?

(I wrote this before realizing that you were on wiki break. If a talk page stalker sees this and has a suggestion for a better location for this request, please let me know.)--S Philbrick(Talk) 15:05, 1 June 2016 (UTC)

@Sphilbrick:  Done That's a great idea! I've added a "Save & Return" button in the test version which will open the edit interface in a new tab/window, then quietly navigate back to the tool's main page. After saving the edit, simply close the tab and the tool will be waiting for you in the previous one. By the way, I've just returned from my wikibreak. It will take me a while to get back to my usual wiki-mood, though. Face-smile.svg Thanks for your suggestion! Zhaofeng Li talk (Please {{Ping}} when replying) 17:16, 1 June 2016 (UTC)
By the way, did you know that you can add the tool to your sidebar or as a bookmarklet? That should help if you are hunting down and fixing articles one by one. But if you already have a list of articles to fix, the "Save & Return" button can save some time. Actually, I'm thinking about making a "batch mode" which allows you to enter multiple articles as a list. Not sure if it'd be helpful, though. Zhaofeng Li talk (Please {{Ping}} when replying) 18:02, 1 June 2016 (UTC)
Thank you very much for your very prompt response and support for my idea. Unfortunately, I ran into a snag yesterday which I'd like to share with you so you can help me contact the right people. First, I assume that the algorithm for converting a URL into a proper reference is the same in both Refill and in the convert option in Visual Editor.
An editor noticed yesterday that two reference improvements I made both failed. In the first case, a Google books URL which went to a specific page in the book converted into a reference which link to the overall book but did not identify the page number. In the second instance, conversion was botched due to a URL encoding error. Both of these are discussed on my talk page User_talk:Sphilbrick#Mistakes.
My assumption is that you worked on the program to handle multiple reference conversions within a single article as part of the creation of Refill, but didn't write the URL conversion routines yourself. My hope is that you can point me to the team that did work on the URL conversion so I can discuss these issues with them. Ideally, someone could modify the algorithm to handle both of these situations correctly. If that's not an option, I'd like to explore whether there is a semi automated way of fighting these problems so they can be handled manually. (Presumably, I could check every conversion manually but that would slow down the process to the point that it wouldn't be worth doing.)--S Philbrick(Talk) 12:05, 2 June 2016 (UTC)
@Sphilbrick: Both reFill and VisualEditor use Citoid (maintained by WMF) to extract bibliographic metadata from webpages. Citoid automatically downloads the cited webpages, scrapes interesting information (title, author(s), DOI, etc.) and passes it back to the tools. During the process, Citoid may make some (hopefully helpful) changes to the user-supplied URL, which explains the problem of the Google Books link. To see this in action, you can fill any URL onto Citoid's test interface and examine the raw data it generates (try entering a link to any Wikipedia article).
However, it's reFill and VE's responsibility to generate valid wikitext (that is, everything between the <ref>...</ref> tags) using data provided by Citoid.
Regarding the particular problems you mentioned, I've filed phab:T136911 and phab:T136912 against Citoid on Phabricator.
Zhaofeng Li talk (Please {{Ping}} when replying) 05:22, 3 June 2016 (UTC)
Thanks for filing both of those, and subscribing me. I'll watch to see when they are fixed.--S Philbrick(Talk) 13:16, 3 June 2016 (UTC)
  • I noticed recently that Refill seems to have stopped filling in the publisher/work parameters when populating the citation templates, like here. Can you please look into it to confirm that it's picking up all the relevant metadata? Regards, -- Ohc ¡digame! 07:31, 17 June 2016 (UTC)


I don't know if the metadata change on Refill is working out. The last couple times I used it, it seems the publisher field is more often than not left blank. See here and here for examples. – Muboshgu (talk) 23:27, 2 June 2016 (UTC)

With this edit, Refill parsed the date of the article as an author. – Muboshgu (talk) 18:00, 3 June 2016 (UTC)
@Muboshgu: The first |publisher= problem is because there is (still) no reliable way to get this information, and a blank |publisher= is provided as convenience. I'm considering turning off this feature by default. Regarding the date problem, I've filed phab:T137019 against Citoid on Phabricator. Thank you! Zhaofeng Li talk (Please {{Ping}} when replying) 11:23, 4 June 2016 (UTC)
Thank you! – Muboshgu (talk) 15:57, 4 June 2016 (UTC)

Tech News: 2016-23[edit]

20:51, 6 June 2016 (UTC)

A page you started (Shadowsocks) has been reviewed![edit]

Thanks for creating Shadowsocks, Zhaofeng Li!

Wikipedia editor Colonel Wilhelm Klink just reviewed your page, and wrote this note for you:

You were right; why the hell didn't it have an article here? Good work, and thanks. :)

To reply, leave a comment on Colonel Wilhelm Klink's talk page.

Learn more about page curation.

Bizarre metadata extracted by Refill[edit]

Looking at this edit, I see that Japan Times was added to the |title=, whilst Los Angeles Times was split into two components and included within |author=. -- Ohc ¡digame! 15:11, 14 July 2016 (UTC)

Happy Birthday![edit]

Wikipe-tan Birthday.svg
Wishing Zhaofeng Li a very happy birthday on behalf of the Birthday Committee! Chris Troutman (talk) 06:22, 3 August 2016 (UTC)
@Zhaofeng Li:, happy birthday and thank you for everything. Face-smile.svg Lotje (talk) 08:23, 3 August 2016 (UTC)


I would like to know if you can add these three languages in refill tool

  1. Telugu
  2. Kannada
  3. Bengali

Please let me know if it is possible. Regards. --Tito Dutta (talk) 11:52, 15 August 2016 (UTC)

@Titodutta:  Done on the test version! You may want to add translations for those wikis on Translatewiki. Don't know why I didn't get a notification for this message Face-sad.svg Zhaofeng Li talk (Please {{Ping}} when replying) 06:09, 23 August 2016 (UTC)
  • Thanks, I'll contact editors who may help here. Thank you. --Tito Dutta (talk) 07:23, 23 August 2016 (UTC)
Hi @Zhaofeng Li: can you also please also add the following languages?
  • Hindi (hi)
  • Gujarati (gu)
  • Konkani (gom)
  • Malayalam (ml)
  • Odia (earlier Oriya, or)
  • Punjabi (pa)
  • Tamil (ta)
  • Tulu (tcy)

Thanks. --Psubhashish (talk) 08:00, 23 August 2016 (UTC)

@Psubhashish:  Done on the testing version. Face-smile.svg Zhaofeng Li talk (Please {{Ping}} when replying) 02:25, 24 August 2016 (UTC)
Thanks @Zhaofeng Li:. This is the one, right? --Psubhashish (talk) 05:45, 11 September 2016 (UTC)
@Psubhashish: Yes, that's the one. I should have been clearer about that. Zhaofeng Li talk (Please {{Ping}} when replying) 20:01, 15 September 2016 (UTC)

Problem with CiteGen/Wayback[edit]

Getting a proper archive citation with your extension CiteGen has become difficult.

For example;

This link:

produces this code

{{cite web|url=|archiveurl=|title=ABOUT HWPL|archivedate=14 March 2016|publisher=|accessdate=20 September 2016}}

I cannot see this link on my computer. I have a "This site can’t be reached" error showing.

Yet editing the link to : has the page displaying fine.

Yet it produces this code: {{cite web|url=|title=ABOUT HWPL|publisher=|accessdate=20 September 2016}}

Can you adjust the extension to work with both kinds of links?--Auric talk 11:25, 20 September 2016 (UTC)

@Auric: I know this is probably too late, but the resulting citation in your example works fine for me, with the first link pointing correctly to the Wayback Machine page, and the link to "the original" leading to the dead website as expected. CiteGen/reFill automatically extracts the original URLs of archived pages and use them in the |url= parameter, while putting the URLs of the archival in |archiveurl= where they belong. Zhaofeng Li talk (Please {{Ping}} when replying) 06:29, 16 December 2016 (UTC)
@Zhaofeng Li:, thanks for getting back to me. The problem persists. links won't show (or shows a 400 Bad Request HTML error), but links do. Yet the non-working version works fine with the extension (heading data, if present, shows up fine) but the working link doesn't. I've sent an email to Wayback about the problem, but haven't heard back yet. --Auric talk 12:11, 16 December 2016 (UTC)
@Zhaofeng Li:, just read their reply. The links work fine now. Apparently, I only needed to clear my cookies for that url.--Auric talk 20:13, 16 December 2016 (UTC)

Asian 10,000 Challenge invite[edit]

Hi. The Wikipedia:WikiProject Asia/The 10,000 Challenge has recently started, based on the UK/Ireland Wikipedia:The 10,000 Challenge and Wikipedia:WikiProject Africa/The 10,000 Challenge. The idea is not to record every minor edit, but to create a momentum to motivate editors to produce good content improvements and creations and inspire people to work on more countries than they might otherwise work on. There's also the possibility of establishing smaller country or regional challenges for places like South East Asia, Japan/China or India etc, much like Wikipedia:The 1000 Challenge (Nordic). For this to really work we need diversity and exciting content and editors from a broad range of countries regularly contributing. At some stage we hope to run some contests to benefit Asian content, a destubathon perhaps, aimed at reducing the stub count would be a good place to start, based on the current Wikipedia:WikiProject Africa/The Africa Destubathon which has produced near 200 articles in just three days. If you would like to see this happening for Asia, and see potential in this attracting more interest and editors for the country/countries you work on please sign up and being contributing to the challenge! This is a way we can target every country of Asia, and steadily vastly improve the encyclopedia. We need numbers to make this work so consider signing up as a participant! Thank you. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 05:05, 21 October 2016 (UTC)

New deal for page patrollers[edit]

Hi Zhaofeng Li,

In order to better control the quality of new pages, keep out the spam, and welcome the genuine newbies, the current system we introduced in 2011 is being updated and improved. The documentation and tutorials have also been revised and given a facelift. Most importantly a new user group New Page Reviewer has been created.

Under the new rule, you may find that you are temporarily unable to mark new pages as reviewed. However, this is nothing to worry about - most current experienced patrollers are being accorded the the new right without the need to apply, and if you have significant previous experience of patrolling new pages, we strongly encourage you to apply for the new right as soon as possible - we need all the help we can get, and we are now providing a dynamic, supportive environment for your work.

Find out more about this exiting new user right now at New Page Reviewers and be sure to read the new tutorial before applying. MediaWiki message delivery (talk) 04:30, 13 November 2016 (UTC)

Are you aware[edit]

That as of this timestamp, reFill is not working in its usual fashion? I am a great fan. Let me know here if I can do anything to help return it to availability. I also would have some suggestions, regarding defaults and other matters (as a former Prof.), if you have time to engage them. Cheers, Le Prof (talk) 16:36, 14 November 2016 (UTC)

New Page Review needs your help[edit]

Hi Zhaofeng Li,

As an AfC reviewer you're probably aware that a new user right has been created for patrolling new pages (you might even have been granted the right already, and admins have it automatically).

Since July there has been a very serious backlog at Special:NewPagesFeed of over 14,000 pages, by far the worst since 2011, and we need an all out drive to get this back down to just a few hundred that can be easily maintained in the future. Unlike AfC, these pages are already in mainspace, and the thought of what might be there is quite scary. There are also many good faith article creators who need a simple, gentle push to the Tea House or their pages converted to Draft rather than being deleted.

Although New Page Reviewing can occasionally be somewhat more challenging than AfC, the criteria for obtaining the right are roughly the same. The Page Curation tool is even easier to use than the Helper Script, so it's likely that most AfC reviewers already have more than enough knowledge for the task of New Page Review.

It is hoped that AfC reviewers will apply for this right at WP:PERM and lend a hand. You'll need to have read the page at WP:NPR and the new tutorial.

(Sent to all active AfC reviewers) MediaWiki message delivery (talk) 16:33, 15 November 2016 (UTC)

reFill tool[edit]

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. Face-smile.svg Lotje (talk) 15:04, 30 November 2016 (UTC)

@Lotje: Hi, did people who objected to the use of the tool provide reason as to why? Please forward it to me if they do. Thanks! Zhaofeng Li talk (Please {{Ping}} when replying) 06:16, 16 December 2016 (UTC)
@Zhaofeng Li: do you mean if other users still object? I am pretty sure, if I try it again I will get blocked or get a a RegBlok by for example EvilFreD. Anyway, various reasons are mentioned in Dutch. Wikiklaas might be best placed to comment, or MoiraMoira. There is for example Partij voor de Vrijheid, that was (if I remember well) in the beginning of new cookie-wall information regulations in Europe.... If you ask me Dutch speaking users are not happy with templates in English, they prefer the templates Dutch, though that does not make any difference to the readers! Do you want me to give a a go and try it out again and find out what happens? Or do you wish to give it a try and see if you get some comment. Face-smile.svg Lotje (talk) 14:31, 16 December 2016 (UTC)
@Zhaofeng Li:, Only me again. I used the tool again and the reaction on the edit summary was: (BTNI-bewerking van Lotje ongedaan gemaakt; geen verbetering), translated into English: Do not overtake if there is any doubt-edit by Lotje reverted; no improvement. signed Brimz Lotje (talk) 17:40, 16 December 2016 (UTC)
@Zhaofeng Li: without leaving any comment Lotje (talk) 13:20, 17 December 2016 (UTC)
@Zhaofeng Li: recentlyI used de tool again, like here f.e.. Till now it has not been reverted but I am pretty sure this is going to happen. When it does, I will post the comments. Sincerely yours. Lotje (talk) 15:17, 31 December 2016 (UTC)
And here, on Gianni Schicchi Lotje (talk) 08:43, 1 January 2017 (UTC)
@Zhaofeng Li:, Brimz, a user who is (imo stalking me) has reverted this commenting: 1 wijziging weggehaald zonder refill, translated into English: removal of 1 change without refill. Waiting for the others to come. My guess is, this user has specific reasons to insist upon leaving bare urls. Lotje (talk) 16:22, 1 January 2017 (UTC)
@Zhaofeng Li: *Toevoegen van een foute weergave van de naam van een ministerie bij het gebruik van de refill-tool. in English: adding incorrect description of the name of a ministry in using the refill-tool Lotje (talk) 16:39, 1 January 2017 (UTC)


how do I add my Church to the Sub category?

S. Founding Church of Scientology 1424 16th St NW, Washington, DC 20036

Wikimedia Commons has media related to Churches in Washington, D.C.. Phone: (202) 797-9826 Monday - Friday 9:30AM - 9:30PM Saturday-Sunday 9:30AM -6:00PM

©2016 FCDC. All Rights Reserved. HUBBARD and SCIENTOLOGY are trademarks owned by Religious Technology Center and are used with it's permission. Services relating to Scientology religious philosophy are delivered throughout the world exclusively by licenses of the Church of Scientology International with the permission of Religious Technology Center, holder of the SCIENTOLOGY and DIANETICS trademarks. Grateful acknowledgement is made to L.Ron Hubbard Library for permission to reproduce selections from the copyrighted works of L. Ron Hubbard — Preceding unsigned comment added by (talk) 11:52, 18 December 2016 (UTC)

Sorry, but Wikipedia is not a directory. Zhaofeng Li talk (Please {{Ping}} when replying) 11:56, 18 December 2016 (UTC)

Tech News: 2016-51[edit]

20:33, 19 December 2016 (UTC)

New page reviewer granted[edit]

Wikipedia New page reviewer.svg

Hello Zhaofeng Li. Your account has been added to the "New page reviewers" user group, allowing you to review new pages and mark them as patrolled, tag them for maintenance issues, or in some cases, tag them for deletion. The list of articles awaiting review is located at the New Pages Feed. New page reviewing is a vital function for policing the quality of the encylopedia, if you have not already done so, you must read the new tutorial at New Pages Review, the linked guides and essays, and fully understand the various deletion criteria. If you need more help or wish to discuss the process, please join or start a thread at page reviewer talk.

  • Be nice to new users - they are often not aware of doing anything wrong.
  • You will frequently be asked by users to explain why their page is being deleted - be formal and polite in your approach to them too, even if they are not.
  • Don't review a page if you are not sure what to do. Just leave it for another reviewer.
  • Remember that quality is quintessential to good patrolling. Take your time to patrol each article, there is no rush. Use the message feature and offer basic advice.

The reviewer right does not change your status or how you can edit articles. If you no longer want this user right, you may ask any administrator to remove it for you at any time. In case of abuse or persistent inaccuracy of reviewing, the right can be revoked at any time by an administrator. MusikAnimal talk 00:04, 21 December 2016 (UTC)


I want to thank you very much for developing the reFill tool; you have no idea how handy it is! I've been using it to add the |accessdate on pt-wiki bare URLs, but there seems to be a minor problem with this function: Instead of formatting the date as standardized by the local manual of style ("22 de dezembro de 2016"), it currently doesn't append the necessary prepositions, resulting in "22 dezembro 2016". Is there a way to fix it, please? Thank you very much! --ArgonSim (talk) 02:18, 22 December 2016 (UTC)

 Confirmed Looking into it. Zhaofeng Li talk (Please {{Ping}} when replying) 16:19, 24 December 2016 (UTC)


Hello, I create a task in phabricator to enable Arwiki to use reFill tool, but they closed the request and told me to send a mas in you talk page, so at first thank you about this tool, and how we can enable it in Arabic wikipedia? --Alaa :)..! 16:08, 24 December 2016 (UTC)

@علاء:  Done with this commit. Could you test the tool with an article there to see if it works correctly? Thank you! Zhaofeng Li talk (Please {{Ping}} when replying) 16:22, 24 December 2016 (UTC)
Thank you, but How I can use it "(ar) not appear in tool list yet"?! --Alaa :)..! 16:36, 24 December 2016 (UTC)
(ar) appear when I used the tool in English language, I'll try it now!--Alaa :)..! 16:40, 24 December 2016 (UTC)
Thank you very musch, it's work good (see) but I think there's a mistake in edit summary? --Alaa :)..! 16:40, 24 December 2016 (UTC)
Thanks again, I fix it here--Alaa :)..! 16:58, 24 December 2016 (UTC)

Seasons Greetings[edit]

Lotje (talk) 06:40, 25 December 2016 (UTC)

Merry Christmas![edit]

Tech News: 2017-02[edit]

19:12, 9 January 2017 (UTC)

Tech News: 2017-03[edit]

23:24, 16 January 2017 (UTC)

Welcome to Wikipedia! Need a hand?[edit]

Teahouse logo
Hello! Zhaofeng Li, I noticed your article was declined at Articles for Creation, and that can be disappointing. If you are wondering why your article submission was declined, please post a question at the Articles for creation help desk. If you have any other questions about your editing experience, we'd love to help you at the Teahouse, a friendly space on Wikipedia where experienced editors lend a hand to help new editors like yourself! See you there! WCMemail 12:35, 17 January 2017 (UTC)
@Wee Curry Monster: Hi there, not sure what's happening, but I have never submitted any article to AfC. Did you click the wrong button by any chance? Face-smile.svg Zhaofeng Li talk (Please {{Ping}} when replying) 18:54, 17 January 2017 (UTC)
Sincere apologies, not entirely sure how that happened but yes it was a mistake @Zhaofeng Li:. WCMemail 20:22, 17 January 2017 (UTC)

Tech News: 2017-04[edit]

20:15, 23 January 2017 (UTC)

On this day, 5 years ago...[edit]

Balloons-aj.svg Hey, Zhaofeng Li. I'd like to wish you a wonderful First Edit Day on behalf of the Wikipedia Birthday Committee!
Have a great day!
Lepricavark (talk) 03:09, 30 January 2017 (UTC)

Tech News: 2017-05[edit]

18:45, 30 January 2017 (UTC)

Unfilled parameters[edit]

Gongxifacai, my friend. I have noticed that in many cases, the ReFill tool currently leaves many parameters, particularly |date=, |work= and |publisher= unfilled. From this edit it can be seen that the script correctly fills in the work for The New York Times. Others like The Guardian, where they are present, are inserted into |via= instead of |work=. In most other cases, this data is missing. It would be great if you could tweak it to fill in the other key fields. Regards, -- Ohc ¡digame! 22:26, 4 February 2017 (UTC)

  • In the meantime, I wrote a module for my script that fills in blank |publisher= fields with the domain name, and my Sources script can then transform these according to the lookup table I built. The end result looks like this. Let me know what you think. -- Ohc ¡digame! 00:30, 5 February 2017 (UTC)
    • @Ohconfucius: Wow, thanks for that script. reFill does have a hard-coded list for filling out |publisher= field in its own standalone parser. While it is now using mw:Citoid exclusively, I will see what I can do to tweak Citoid's output. Zhaofeng Li talk (Please {{Ping}} when replying) 23:05, 11 February 2017 (UTC)
      • @Zhaofeng Li: Feel free to copy over any bits that will help your script fill in the parameters more completely. Regards, -- Ohc ¡digame! 23:53, 11 February 2017 (UTC)

Tech News: 2017-06[edit]

19:46, 6 February 2017 (UTC)

Tech News: 2017-07[edit]

18:06, 13 February 2017 (UTC)

Tech News: 2017-08[edit]

19:25, 20 February 2017 (UTC)

Tech News: 2017-09[edit]

19:56, 27 February 2017 (UTC)

Tech News: 2017-10[edit]

23:23, 6 March 2017 (UTC)


The refill tool is down. Only a # appears when I try to save. Regards,BabbaQ (talk) 21:36, 11 March 2017 (UTC)

Tech News: 2017-11[edit]

15:25, 13 March 2017 (UTC)

Thank you[edit]

Wanted to let you know I stumbled across User:Zhaofeng Li/RetroLogo purely by chance and was delighted by it. I actually wanted to have the logo Paul created as the logo I saw as I thought it was the best version ever. With your script, I have that opportunity! Thank you and great work! К Ф Ƽ Ħ 15:36, 17 March 2017 (UTC)

Tech News: 2017-12[edit]

22:03, 20 March 2017 (UTC)

Tech News: 2017-13[edit]

14:46, 27 March 2017 (UTC)

Tech News: 2017-14[edit]

17:53, 3 April 2017 (UTC)

Tech News: 2017-15[edit]

18:35, 10 April 2017 (UTC)


Hi, per this issue would you consider blacklisting from reFill here. The domains are:,, and -- GreenC 03:50, 14 April 2017 (UTC)

@Green Cardamom: Oops, I replied on GitHub. I hacked around a little bit, and the test version should now convert short links to their long counterparts. Please tell me if you think it's ready. Thanks! Zhaofeng Li talk (Please {{Ping}} when replying) 19:12, 20 April 2017 (UTC)
Hi sorry I don't often login to GitHub. Replied there. -- GreenC 02:41, 21 April 2017 (UTC)

Tech News: 2017-16[edit]

19:32, 17 April 2017 (UTC)

Tech News: 2017-17[edit]

16:40, 24 April 2017 (UTC)

reflinks script[edit]

Hi, could you please ensure that mediawiki.util is loaded in your meta:User:Zhaofeng_Li/Reflinks.js scripts ? —TheDJ (talkcontribs) 14:24, 1 May 2017 (UTC)

@TheDJ: Hi, does this work? Zhaofeng Li talk (Please {{Ping}} when replying) 21:57, 1 May 2017 (UTC)

Tech News: 2017-18[edit]

19:50, 1 May 2017 (UTC)

Tech News: 2017-19[edit]

02:25, 9 May 2017 (UTC)

Editing News #1—2017[edit]

Read this in another languageSubscription list for this multilingual newsletter

Did you know?

Did you know that you can review your changes visually?

Screenshot showing some changes to an article.  Most changes are highlighted with text formatting.
When you are finished editing the page, type your edit summary and then choose "Review your changes".

In visual mode, you will see additions, removals, new links, and formatting highlighted. Other changes, such as changing the size of an image, are described in notes on the side.

Toggle button showing visual and wikitext options; visual option is selected.

Click the toggle button to switch between visual and wikitext diffs.

Screenshot showing the same changes, in the two-column wikitext diff display.

The wikitext diff is the same diff tool that is used in the wikitext editors and in the page history.

You can read and help translate the user guide, which has more information about how to use the visual editor.

Since the last newsletter, the VisualEditor Team has spent most of their time supporting the 2017 wikitext editor mode which is available inside the visual editor as a Beta Feature, and adding the new visual diff tool. Their workboard is available in Phabricator. You can find links to the work finished each week at mw:VisualEditor/Weekly triage meetings. Their current priorities are fixing bugs, supporting the 2017 wikitext editor as a beta feature, and improving the visual diff tool.

Recent changes[edit]

A new wikitext editing mode is available as a Beta Feature on desktop devices. The 2017 wikitext editor has the same toolbar as the visual editor and can use the citoid service and other modern tools. Go to Special:Preferences#mw-prefsection-betafeatures to enable the New wikitext mode.

A new visual diff tool is available in VisualEditor's visual mode. You can toggle between wikitext and visual diffs. More features will be added to this later. In the future, this tool may be integrated into other MediaWiki components. [101]

The team have added multi-column support for lists of footnotes. The <references /> block can automatically display long lists of references in columns on wide screens. This makes footnotes easier to read. You can request multi-column support for your wiki. [102]

Other changes:

  • You can now use your web browser's function to switch typing direction in the new wikitext mode. This is particularly helpful for RTL language users like Urdu or Hebrew who have to write JavaScript or CSS. You can use Command+Shift+X or Control+Shift+X to trigger this. [103]
  • The way to switch between the visual editing mode and the wikitext editing mode is now consistent. There is a drop-down menu that shows the two options. This is now the same in desktop and mobile web editing, and inside things that embed editing, such as Flow. [104]
  • The Categories item has been moved to the top of the Page options menu (from clicking on the "hamburger" icon) for quicker access. [105] There is also now a "Templates used on this page" feature there. [106]
  • You can now create <chem> tags (sometimes used as <ce>) for chemical formulas inside the visual editor. [107]
  • Tables can be set as collapsed or un-collapsed. [108]
  • The Special character menu now includes characters for Canadian Aboriginal Syllabics and angle quotation marks (‹› and ⟨⟩) . The team thanks the volunteer developer, Tpt. [109]
  • A bug caused some section edit conflicts to blank the rest of the page. This has been fixed. The team are sorry for the disruption. [110]
  • There is a new keyboard shortcut for citations: Control+Shift+K on a PC, or Command+Shift+K on a Mac. It is based on the keyboard shortcut for making links, which is Control+K on a PC or Command+K on a Mac. [111]

Future changes[edit]

  • The VisualEditor team is working with the Community Tech team on a syntax highlighting tool. It will highlight matching pairs of <ref> tags and other types of wikitext syntax. You will be able to turn it on and off. It will first become available in VisualEditor's built-in wikitext mode, maybe late in 2017. [112]
  • The kind of button used to Show preview, Show changes, and finish an edit will change in all WMF-supported wikitext editors. The new buttons will use OOjs UI. The buttons will be larger, brighter, and easier to read. The labels will remain the same. You can test the new button by editing a page and adding &ooui=1 to the end of the URL, like this: The old appearance will no longer be possible, even with local CSS changes. [113]
  • The outdated 2006 wikitext editor will be removed later this year. It is used by approximately 0.03% of active editors. See a list of editing tools on if you are uncertain which one you use. [114]

If you aren't reading this in your preferred language, then please help us with translations! Subscribe to the Translators mailing list or contact us directly, so that we can notify you when the next issue is ready. Thank you! User:Whatamidoing (WMF) (talk) 19:18, 9 May 2017 (UTC)

Tech News: 2017-20[edit]

21:48, 15 May 2017 (UTC)

Tech News: 2017-21[edit]

22:15, 22 May 2017 (UTC)

Tech News: 2017-22[edit]

12:18, 30 May 2017 (UTC)

Tech News: 2017-23[edit]

19:04, 5 June 2017 (UTC)

Tech News: 2017-24[edit]

15:29, 12 June 2017 (UTC)

Tech News: 2017-25[edit]

15:44, 19 June 2017 (UTC)

Tech News: 2017-26[edit]

15:38, 26 June 2017 (UTC)

reFill 'watch' option[edit]

Can you make it so it's not a default option to 'watch' a page after you run it through reFill? Thanks --Jennica / talk 01:59, 3 July 2017 (UTC)

Tech News: 2017-27[edit]

15:32, 3 July 2017 (UTC)

Reflinks.js using localstorage[edit]

Hi, I just noted that meta:User:Zhaofeng_Li/Reflinks.js use localStorage, without wrapping every single call to it with try and catch. You can never rely on any set or get or even access to the localStorage variable itself to succeed. Privacy settings, incognito mode, storage being full etc can all cancel that access and throw exceptions at any moment. Please always wrap every call to localStorage in a try/catch —TheDJ (talkcontribs) 12:39, 4 July 2017 (UTC)

Tech News: 2017-28[edit]

15:07, 10 July 2017 (UTC)

Tech News: 2017-29[edit]

22:59, 17 July 2017 (UTC)

Tech News: 2017-30[edit]

15:58, 24 July 2017 (UTC)

Tech News: 2017-31[edit]

21:45, 31 July 2017 (UTC)

Tech News: 2017-32[edit]

21:45, 7 August 2017 (UTC)

Tech News: 2017-33[edit]

23:29, 14 August 2017 (UTC)