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)


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

Tech News: 2015-41[edit]

18:33, 5 October 2015 (UTC)

VisualEditor update[edit]

This note is only delivered to English Wikipedia subscribers of the visual editor's newsletter.

The location of the visual editor's preference has been changed from the "Beta" tab to the "Editing" section of your preferences on this wiki. The setting now says Temporarily disable the visual editor while it is in beta. This aligns with almost all the other WMF wikis; it doesn’t mean the visual editor is complete, or that it is no longer “in beta phase” though.

This action has not changed anything else for editors: it still honours editors’ previous choices about having it on or off; logged-out users continue to only have access to wikitext; the “Edit” tab is still after the “Edit source” one. You can learn more at the visual editor’s talk page.

We don’t expect this to cause any glitches, but in case your account no longer has the settings that you want, please accept our apologies and correct it in the Editing tab of Special:Preferences. Thank you for your attention, Elitre (WMF) -16:32, 7 October 2015 (UTC)

Tech News: 2015-42[edit]

16:29, 12 October 2015 (UTC)

Tech News: 2015-43[edit]

16:02, 19 October 2015 (UTC)

Tech News: 2015-44[edit]

18:04, 26 October 2015 (UTC)

VisualEditor News #5—2015[edit]

Read this in another languageSubscription list for this multilingual newsletter

Did you know?
You can use the visual editor on smartphones and tablets.

Screenshot showing the menu for switching from the wikitext editor to VisualEditor

Click the pencil icon to open the editor for a page. Inside that, use the gear menu in the upper right corner to "Switch to visual editing".

The editing button will remember which editing environment you used last time, and give you the same one next time. The desktop site will be switching to a system similar to this one in the coming months.

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 fixed many bugs, added new features, and made some small design changes. They post weekly status reports on Their workboard is available in Phabricator. Their current priorities are improving support for languages like Japanese and Arabic, making it easier to edit on mobile devices, and providing rich-media tools for formulæ, charts, galleries and uploading.

Recent improvements[edit]

Educational features: The first time you use the visual editor, it now draws your attention to the Link and Cite tools. When you click on the tools, it explains why you should use them. (T108620) Alongside this, the welcome message for new users has been simplified to make editing more welcoming. (T112354) More in-software educational features are planned.

Links:  It is now easier to understand when you are adding text to a link and when you are typing plain text next to it. (T74108T91285) The editor now fully supports ISBN, PMID or RFC numbers. (T109498, T110347, T63558)  These "magic links" use a custom link editing tool.

Uploads:  Registered editors can now upload images and other media to Commons while editing. Click the new tab in the "Insert Media" tool. You will be guided through the process without having to leave your edit. At the end, the image will be inserted. This tool is limited to one file at a time, owned by the user, and licensed under Commons's standard license. For more complex situations, the tool links to more advanced upload tools. You can also drag the image into the editor. This will be available in the wikitext editor later.

Mobile:  Previously, the visual editor was available on the mobile Wikipedia site only on tablets. Now, editors can use the visual editor on any size of device. (T85630)  Edit conflicts were previously broken on the mobile website. Edit conflicts can now be resolved in both wikitext and visual editors. (T111894) Sometimes templates and similar items could not be deleted on the mobile website. Selecting them caused the on-screen keyboard to hide with some browsers. Now there is a new "Delete" button, so that these things can be removed if the keyboard hides. (T62110) You can also edit table cells in mobile now.

Rich editing tools:  You can now add and edit sheet music in the visual editor. (T112925)  There are separate tabs for advanced options, such as MIDI and Ogg audio files. (T114227 and T113354)  When editing formulæ and other blocks, errors are shown as you edit. It is also possible to edit some types of graphs; adding new ones, and support for new types, will be coming.

On the English Wikipedia, the visual editor is now automatically available to anyone who creates an account. The preference switch was moved to the normal location, under Special:Preferences.

Future changes[edit]

You will soon be able to switch from the wikitext to the visual editor after you start editing. (T49779) Previously, you could only switch from the visual editor to the wikitext editor. Bi-directional switching will make possible a single edit tab. (T102398) This project will combine the "Edit" and "Edit source" tabs into a single "Edit" tab, similar to the system already used on the mobile website. The "Edit" tab will open whichever editing environment you used last time.

Let's work together[edit]

If you can't read this in your favorite 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!

Whatamidoing (WMF) 04:16, 30 October 2015 (UTC)

Tech News: 2015-45[edit]

16:43, 2 November 2015 (UTC)

Tech News: 2015-46[edit]

17:18, 9 November 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)

Tech News: 2015-47[edit]

19:39, 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, [43]). 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 [44], 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)

Tech News: 2015-48[edit]

20:26, 23 November 2015 (UTC)

ArbCom elections are now open![edit]

You appear to be eligible to vote in the current Arbitration Committee election. The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to enact binding solutions for disputes between editors, primarily related to serious behavioural issues that the community has been unable to resolve. This includes the ability to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail. If you wish to participate, you are welcome to review the candidates' statements and submit your choices on the voting page. For the Election committee, MediaWiki message delivery (talk) 16:53, 24 November 2015 (UTC)