User talk:Zhaofeng Li
Zhaofeng Li is taking a long wikibreak and will be back on Wikipedia next year (hopefully). |
|
Archives |
|||||||
---|---|---|---|---|---|---|---|
|
|||||||
|
Contents
- 1 Refill gadget not working
- 2 https://tools.wmflabs.org/refill/
- 3 Possible bug FYI
- 4 Wikipedia:Wikibreak
- 5 Tech News: 2015-41
- 6 VisualEditor update
- 7 Tech News: 2015-42
- 8 Tech News: 2015-43
- 9 Tech News: 2015-44
- 10 VisualEditor News #5—2015
- 11 Tech News: 2015-45
- 12 Tech News: 2015-46
- 13 https://github.com/zhaofengli/refill/blob/master/web/api.php
- 14 Tech News: 2015-47
- 15 Pinyin Wiki
- 16 Tech News: 2015-48
- 17 ArbCom elections are now open!
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 [talk ♦ contribs] 09:06, 17 November 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)
https://tools.wmflabs.org/refill/[edit]
@Zhaofeng Li: have you tried to use your tool recently? Is tools.wmflabs.org hacked? Thank you for your time. Lotje (talk) 09:51, 15 September 2015 (UTC)
- I just used it a few minutes ago, and it appears to be working properly. -- Ohc ¡digame! 12:09, 15 September 2015 (UTC)
- Strange, very very strange. Whom should I contact to ask for assistance? Lotje (talk) 15:18, 15 September 2015 (UTC)
- (talk page watcher) @Lotje: Posting a detailed bug report here would be a good start. See How to Report Bugs Effectively for advice on how to report bugs. If Zhaofeng Li isn't able to resolve the issue, then WP:VPT would be a good next step. Good luck! GoingBatty (talk) 02:20, 16 September 2015 (UTC)
- @Lotje: You might also be interested in User_talk:Zhaofeng_Li/reFill#ReFill_will_not_run_due_to_expired_security_certificate. Hope this helps! GoingBatty (talk) 02:21, 16 September 2015 (UTC)
- Fixed by WMF. See phab:T112608 for future reference. That's exactly why recurring tasks like certification renewal should be automated, which is what Let's Encrypt is trying to achieve. Humans have a tendency to forget stuff. Zhaofeng Li [talk ♦ contribs] 02:55, 1 October 2015 (UTC)
- Strange, very very strange. Whom should I contact to ask for assistance? Lotje (talk) 15:18, 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 [talk ♦ contribs] 02:46, 1 October 2015 (UTC)
Wikipedia:Wikibreak[edit]
Enjoy your wikibreak. Lotje (talk) 03:28, 1 October 2015 (UTC)
Tech News: 2015-41[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The link editor in the visual editor now shows results below the search box. This improves the usability on desktop and mobile. [2]
- The description at Special:ChangeEmail now clearly explains that the page can also be used to remove your email. [3]
Changes this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from October 6. It will be on non-Wikipedia wikis from October 7. It will be on all Wikipedias from October 8 (calendar).
- UploadWizard will remind users to add a category. [4]
- UploadWizard's category selectors will be easier to use. [5]
- A new Cite error will be shown if a named reference is defined more than once in the same article. [6]
Meetings
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs are the most important. The meeting will be on 6 October at 19:00 (UTC). See how to join.
Future changes
- Wikidata requests your input on how to improve the editing of Wikidata's data in other locations, such as Wikipedias.
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
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 en.wiki 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]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The database size lists have been updated. These control special page update frequency and which wikis use global abuse filters. [7]
Changes this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from October 13. It will be on non-Wikipedia wikis from October 14. It will be on all Wikipedias from October 15 (calendar).
- You will be able to upload images to Wikimedia Commons using the visual editor. When the image is uploaded it will be added to the article you're editing. [8]
- Pages that show citation error messages will automatically be placed in a hidden category. [9]
Meetings
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs you think are the most important. The meeting will be on 13 October at 19:00 (UTC). See how to join.
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
16:29, 12 October 2015 (UTC)
Tech News: 2015-43[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Tech News is trying to make reading the newsletter easier. The icon means the item is in the newsletter every week, but with new dates. The icon means the item is mainly relevant for readers with technical knowledge. You can leave feedback on this change.
- Timestamps in the protection log will now be in the user's timezone. Previously they would show Coordinated Universal Time (UTC). [10]
Problems
- A problem with MediaWiki made some pages show no content on October 14. This has now been fixed. [11]
- Some templates were misplaced in the Flow description bar. This could make it impossible to click on links. This will be fixed this week. [12]
- The deployment of the new MediaWiki version was stopped on October 14. No new code was deployed for the rest of week. This meant planned changes did not happen. [13]
Changes this week
- Changes that were planned to happen last week will happen this week. [14]
- Wikispecies, Meta and MediaWiki.org will be able to use Wikidata for sitelinks. [15][16][17][18]
Meetings
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs you think are the most important. The meeting will be on 20 October at 19:00 (UTC). See how to join.
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
16:02, 19 October 2015 (UTC)
Tech News: 2015-44[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from October 27. It will be on non-Wikipedia wikis from October 28. It will be on all Wikipedias from October 29 (calendar).
- The first time you use the visual editor, pop-ups will explain why and when you should use the citation and link tools. [19]
- You will be able to upload images to Wikimedia Commons from inside the wikitext editor by clicking "Upload" in the "Insert file" dialog. You will also be able to drag and drop them into an article when using the visual editor. [20][21]
- When you edit a code block in visual editor, you will have the syntax highlighted. [22][23]
- Index and Page namespaces on Wikisource will be defined as content namespaces in
$wgContentNamespaces
. [24]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
18:04, 26 October 2015 (UTC)
VisualEditor News #5—2015[edit]
Read this in another language • Subscription list for this multilingual newsletter
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 mediawiki.org. 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. (T74108, T91285) 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]
- Share your ideas and ask questions at mw:VisualEditor/Feedback. This feedback page uses Flow for discussions.
- Can you read and type in Korean or Japanese? Language engineer David Chan needs people who know which tools people use to type in some languages. If you speak Japanese or Korean, you can help him test support for these languages. Please see the instructions at mw:VisualEditor/IME Testing#What to test if you can help, and report it on Phabricator (Korean - Japanese) or on Wikipedia (Korean - Japanese).
- Local admins can set up the Citoid automatic reference feature for your wiki. If you need help, then please post a request in the Citoid project on Phabricator. Include links to the TemplateData for the most important citation templates on your wiki.
- The weekly task triage meetings are open to volunteers. Learn how to join the meetings and how to nominate bugs at mw:VisualEditor/Weekly triage meetings. You do not need to attend the meeting to nominate a bug for consideration, though. Instead, go to Phabricator and "associate" the main VisualEditor project with the bug.
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]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- You can now see how many editors are using a gadget on a wiki on Special:GadgetUsage. [25]
- If you are using the mobile version of Wikipedia, you can now see Wikidata descriptions under article titles in search results. [26]
- Editing conflicts are now detected when you edit on a mobile device. Before, this did not work properly on mobile. [27]
Problems
- On October 26 the Wikimedia sites went down for ten minutes. [28]
Changes this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from November 3. It will be on non-Wikipedia wikis from November 4. It will be on all Wikipedias from November 5 (calendar).
Meetings
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs you think are the most important. The meeting will be on 3 November at 19:00 (UTC). See how to join. You can also read the latest VisualEditor newsletter.
Future changes
- A help link will be added to Special:Search. Administrators might have to update the MediaWiki:Search-summary message to avoid two help links. [29]
- Empty list items could be allowed in the future. If so, this could affect some templates. [30]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
16:43, 2 November 2015 (UTC)
Tech News: 2015-46[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Superprotect has been removed. [31]
- You can now switch between the wikitext editor and the visual editor without saving. You will not lose the changes you have made. [32]
- JSON dumps of the production search indexes are now available. They can be imported to Elasticsearch. [33]
Problems
- Some translations for the Thanks and Echo extensions were missing. Translators have been asked to help and this should be solved soon. [34]
Changes this week
- Thumbnails of 16-bit TIFF files will be displayed properly. Before, this didn't work. [35]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from November 10. It will be on non-Wikipedia wikis from November 11. It will be on all Wikipedias from November 12 (calendar).
Meetings
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs you think are the most important. The meeting will be on 10 November at 19:00 (UTC). See how to join.
Future changes
- A new tool to navigate through diff pages is being developed. You can test it out and give feedback. [36]
- The options on Special:Watchlist will look slightly different. [37]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
17:18, 9 November 2015 (UTC)
https://github.com/zhaofengli/refill/blob/master/web/api.php[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! Zhaofeng Li [talk ♦ contribs] 08:17, 16 November 2015 (UTC)
Tech News: 2015-47[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes this week
- You can use TemplateData to indicate how you want a template to be displayed in wikitext. Tools like VisualEditor that edit templates will soon use this information. [38]
- Echo notification icons in MonoBook will look more like other icons in the theme. [39]
- The Community Tech team is doing a community wishlist survey to understand what they should be working on. They are now accepting proposals in all languages. You can create your proposal in the small box above the blue button and click it when you're done.
- Wikis can make the welcome notification link to a specific page. [40]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from November 17. It will be on non-Wikipedia wikis from November 18. It will be on all Wikipedias from November 19 (calendar).
Meetings
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs you think are the most important. The meeting will be on 17 November at 19:00 (UTC). See how to join.
Future changes
- Internet Explorer 8 will no longer have JavaScript support. You will still be able to browse and edit Wikipedia, but will not be able to use some features. This can be solved by upgrading to a newer version or switching to a different browser. The change will happen in January 2016. [41][42]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
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 https://tools.wmflabs.org/pinyin-wiki/, 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 参差. 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. ThekHanyuPinyin
andkXHC1983
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 [talk ♦ contribs] 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]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- A new Pageview API has been announced. Feedback is requested to help decide which data to add to it next.
Changes this week
- There are no MediaWiki deployments this week (calendar).
Meetings
- You can join the next meeting with the Language Engineering team. The topic is: Content Translation updates and Questions & Answers. The meeting will be on 25 November at 13:00 (UTC). See how to join.
- You can join the next meeting with the VisualEditor team. During the meeting, you can tell developers which bugs you think are the most important. The meeting will be on 24 November at 19:00 (UTC). See how to join.
- You can join the next meeting with the Architecture committee. The topic this week is "RfC: Raise MediaWiki's PHP version requirement and update coding standards". The meeting will be on 25 November at 21:00 (UTC). See how to join.
Future changes
- From 1 December, the MediaWiki API will no longer support the dbg, txt, and yaml output formats. [45]
Tech news prepared by tech ambassadors and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
20:26, 23 November 2015 (UTC)
ArbCom elections are now open![edit]
Hi,
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)