zhuyifei1999
*Not* Serious business title.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Oct 13 2014, 10:19 AM (154 w, 19 h)
Availability
Available
IRC Nick
zhuyifei1999
LDAP User
Zhuyifei1999
MediaWiki User
Zhuyifei1999

There is currently no text in this page. You can search for this page title in other pages, or search the related logs.

Recent Activity

Today

zhuyifei1999 closed T176694: Switch Quarry to use *.analytics.db.svc.eqiad.wmflabs as replica database host as Resolved.

LGTM

Tue, Sep 26, 4:10 AM · Data-Services, Quarry
zhuyifei1999 closed T176694: Switch Quarry to use *.analytics.db.svc.eqiad.wmflabs as replica database host, a subtask of T142807: Decommission labsdb1001 and labsdb1003, as Resolved.
Tue, Sep 26, 4:10 AM · Goal, cloud-services-team (FY2017-18), Data-Services, DBA
zhuyifei1999 added a comment to T176694: Switch Quarry to use *.analytics.db.svc.eqiad.wmflabs as replica database host.

I donno is the config.yaml is puppetized somewhere (probably not), but this change should do the switch:

$ sed 's/enwiki.labsdb/enwiki.analytics.db.svc.eqiad.wmflabs/' /srv/quarry/quarry/config.yaml | diff /srv/quarry/quarry/config.yaml -
15c15
< REPLICA_HOST: 'enwiki.labsdb'
---
> REPLICA_HOST: 'enwiki.analytics.db.svc.eqiad.wmflabs'
Tue, Sep 26, 3:44 AM · Data-Services, Quarry

Sun, Sep 24

zhuyifei1999 added a comment to T176496: Error entering a category on Commons: "SyntaxError: missing } after property list" (due to MediaWiki:Gadget-Cat-a-lot.js/pl).

That does look possible, as the main body of Cat-a-lot is only enabled on Special: and Category: namespaces.

Sun, Sep 24, 3:09 PM · Wikimedia-General-or-Unknown, Commons
zhuyifei1999 closed T175355: AjaxQuickDelete file rename hangs upon trying to edit any large pages as Invalid.

Saving large pages itself is slow. This is essentially invalid unless it can be shown that the "hang"-ing is not on the network side bug on the regex side.

Sun, Sep 24, 5:51 AM · Commons, Wikimedia-General-or-Unknown

Sat, Sep 23

zhuyifei1999 added a comment to T176496: Error entering a category on Commons: "SyntaxError: missing } after property list" (due to MediaWiki:Gadget-Cat-a-lot.js/pl).

Perhaps it depends on gadgets one has turned on? I also can't see the error when I'm logged out.

Sat, Sep 23, 7:18 PM · Wikimedia-General-or-Unknown, Commons
zhuyifei1999 added a comment to T176527: Raise tool memory limit - similarity.

Is the source code available somewhere? Maybe someone could do some memory profiling and see what is going on.

Sat, Sep 23, 4:48 AM · Toolforge

Fri, Sep 22

zhuyifei1999 edited projects for T176364: Request access to logstash (nda group) for @framawiki, added: LDAP-Access-Requests; removed Ops-Access-Requests.
Fri, Sep 22, 10:17 PM · LDAP-Access-Requests, WMF-NDA-Requests, Operations
zhuyifei1999 added a project to T176364: Request access to logstash (nda group) for @framawiki: WMF-NDA-Requests.
Fri, Sep 22, 10:13 PM · LDAP-Access-Requests, WMF-NDA-Requests, Operations
zhuyifei1999 added a comment to T176496: Error entering a category on Commons: "SyntaxError: missing } after property list" (due to MediaWiki:Gadget-Cat-a-lot.js/pl).

This is creepy... I have no idea what is going on. That line isn't even JS.

Fri, Sep 22, 9:53 PM · Wikimedia-General-or-Unknown, Commons
zhuyifei1999 added a comment to T176496: Error entering a category on Commons: "SyntaxError: missing } after property list" (due to MediaWiki:Gadget-Cat-a-lot.js/pl).

Could you click "Category:Clovis,_California:24:2" and see where it leads?

Fri, Sep 22, 5:52 PM · Wikimedia-General-or-Unknown, Commons
zhuyifei1999 added a comment to T176496: Error entering a category on Commons: "SyntaxError: missing } after property list" (due to MediaWiki:Gadget-Cat-a-lot.js/pl).

Could you paste the log in your browser console, preferable with debug=true? See https://en.wikipedia.org/wiki/Wikipedia:Reporting_JavaScript_errors

Fri, Sep 22, 4:56 PM · Wikimedia-General-or-Unknown, Commons
zhuyifei1999 updated the task description for T176447: Files at Commons enter [[Category:Files with no machine-readable license]] after renaming.
Fri, Sep 22, 1:01 AM · CommonsMetadata, Multimedia, Commons

Wed, Sep 20

zhuyifei1999 added a comment to T176323: welcome.py: bot only sleeping without welcoming users on srwiki.

... and example of a user that should be welcomed?

Wed, Sep 20, 4:40 PM · TestMe, Pywikibot-Other-scripts, Pywikibot-core
zhuyifei1999 added a comment to T176323: welcome.py: bot only sleeping without welcoming users on srwiki.

... which edit?

Wed, Sep 20, 4:27 PM · TestMe, Pywikibot-Other-scripts, Pywikibot-core
zhuyifei1999 added a comment to T176323: welcome.py: bot only sleeping without welcoming users on srwiki.

... and what would you expect? If there should be an edit (as opposed to having nobody to welcome) please point out which edit it should do.

Wed, Sep 20, 4:05 PM · TestMe, Pywikibot-Other-scripts, Pywikibot-core

Tue, Sep 19

zhuyifei1999 added a comment to T176101: Cannot delete File:MKC,S.jpg on zhwiki due to DBQueryError.

Is T176185 related? /me don't have access...

Tue, Sep 19, 1:27 AM · Patch-For-Review, Vuln-Inject, Wikimedia-log-errors, Chinese-Sites, MediaWiki-Page-deletion

Mon, Sep 18

zhuyifei1999 awarded T172519: Tool "etytree" loads jquery, jquery-mobile, and jquery-ui from code.jquery.com, mixed http/https a Cookie token.
Mon, Sep 18, 7:20 PM · Tools
zhuyifei1999 reopened T172519: Tool "etytree" loads jquery, jquery-mobile, and jquery-ui from code.jquery.com, mixed http/https, a subtask of T172065: Hunt for Toolforge tools that load resources from third party sites, as Open.
Mon, Sep 18, 7:06 PM · Toolforge-standards-committee, Tools, Privacy
zhuyifei1999 reopened T172519: Tool "etytree" loads jquery, jquery-mobile, and jquery-ui from code.jquery.com, mixed http/https as "Open".
$ curl https://tools.wmflabs.org/etytree/ -s | grep jquery
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
Mon, Sep 18, 7:05 PM · Tools
zhuyifei1999 updated subscribers of T176130: Lua error on winning photos page.

Related: T173194 CC @Jarekt

Mon, Sep 18, 6:12 PM · Wiki-Loves-Monuments (2017)
zhuyifei1999 added a project to T176101: Cannot delete File:MKC,S.jpg on zhwiki due to DBQueryError: Wikimedia-log-errors.
Mon, Sep 18, 4:04 AM · Patch-For-Review, Vuln-Inject, Wikimedia-log-errors, Chinese-Sites, MediaWiki-Page-deletion
zhuyifei1999 renamed T176101: Cannot delete File:MKC,S.jpg on zhwiki due to DBQueryError from image can't delete to Cannot delete File:MKC,S.jpg on zhwiki due to DBQueryError.
Mon, Sep 18, 4:03 AM · Patch-For-Review, Vuln-Inject, Wikimedia-log-errors, Chinese-Sites, MediaWiki-Page-deletion

Sun, Sep 17

zhuyifei1999 added a comment to T172065: Hunt for Toolforge tools that load resources from third party sites.

or I can feel free to create a subtask for this?

go ahead.

Sun, Sep 17, 3:27 PM · Toolforge-standards-committee, Tools, Privacy

Sat, Sep 16

zhuyifei1999 added a comment to T172609: Tool "ifttt-testing" loads assets from many sites, mixed http/https.

Still loaded:

https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/css/materialize.min.css 
http://materialdesignblog.com/Material-Design-Flipper/material/css/ripples.min.css 
http://materialdesignblog.com/Material-Design-Flipper/material/css/material-wfont.min.css 
http://materialdesignblog.com/Material-Design-Flipper/css/flipper.css 
http://materialdesignblog.com/Material-Design-Flipper/material/js/ripples.min.js 
http://materialdesignblog.com/Material-Design-Flipper/material/js/material.min.js 
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js 
https://cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/js/materialize.min.js 
http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,700,300|Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic 
http://fonts.gstatic.com/s/robotocondensed/v14/Zd2E9abXLFGSr9G3YK2MsDR-eWpsHSw83BRsAQElGgc.ttf 
http://materialdesignblog.com/Material-Design-Flipper/material/fonts/Material-Design.woff?2u7a7w
Sat, Sep 16, 4:39 PM · Tools
D3r1ck01 awarded T172609: Tool "ifttt-testing" loads assets from many sites, mixed http/https a Like token.
Sat, Sep 16, 11:32 AM · Tools

Fri, Sep 15

zhuyifei1999 awarded T175768: Improvements for the Toolforge 'webservice' command a Goat token.
Fri, Sep 15, 5:37 PM · Outreachy (Round-15), Toolforge

Thu, Sep 14

zhuyifei1999 reopened T169864: Zoomviewer is down as "Open".

https://commons.wikimedia.org/wiki/Commons:Village_pump#ZoomViewer_down says it's down.

Thu, Sep 14, 4:16 PM · Tools, Commons
zhuyifei1999 added a comment to T175881: Redirect Toolforge Quarry page to Cloud VPS Quarry.

From Gerrit change 304764, I *think* this is Yuvi's attempt to move Quarry to Toolforge. There are quite some benefits, such as better redundancy, but some other concerns, such as isolation, can be painful.

Thu, Sep 14, 1:54 AM · Toolforge, Quarry

Wed, Sep 13

zhuyifei1999 closed T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls as Resolved.

This bug is about 500s and 503s as result of HHVM should catching OOM in Lua→PHP→Lua calls; this behavior is fixed, hence closing. How Wikidata returns data and how parser works are out of scope of this task. Optimizations to Wikidata label querying are tracked at T173194 / T173262.

Wed, Sep 13, 11:05 PM · Patch-For-Review, Wikimedia-log-errors, MediaWiki-extensions-Scribunto, Operations, Commons

Tue, Sep 12

zhuyifei1999 added a comment to T175167: Not able to edit user-config.py file in PAWS.

We should clarify somewhere (FAQ? Glossary? Terminology?) that:

  • by home directory we almost always mean your home directory, where your personal files belong, not /home, where user home directories usually reside in. Your home directory is usually obtainable via environment variable HOME (a.k.a. $HOME) or via reading passwd entry getent passwd $(id -u) | cut -d: -f6; these two methods should usually return the same path.
  • similarly, by root directory we almost always mean top-most directory in the directory hierarchy /, not the superuser's home directory /root.
Tue, Sep 12, 7:25 PM · cloud-services-team (Kanban), User-bd808, PAWS
zhuyifei1999 awarded T174769: Make it less cumbersome to bootstrap and update python webservices a Love token.
Tue, Sep 12, 3:17 AM · Toolforge
zhuyifei1999 added a comment to T175475: Pywikibot's upload.py doesn't like uploading images containing Unicode characters.

Dup of T99366?

Tue, Sep 12, 2:18 AM · Pywikibot-core

Mon, Sep 11

zhuyifei1999 awarded T175599: File metadata size extraction scoping a Party Time token.
Mon, Sep 11, 5:06 PM · Multimedia, AbuseFilter
zhuyifei1999 added a comment to T175466: The star icon will not show/load in Quarry's star button.

IIRC, you can't star your own query...

Mon, Sep 11, 1:06 PM · Quarry

Sun, Sep 10

zhuyifei1999 closed T175466: The star icon will not show/load in Quarry's star button as Resolved.

Thanks!

Sun, Sep 10, 4:23 PM · Quarry
zhuyifei1999 added a project to T175466: The star icon will not show/load in Quarry's star button: Quarry.
Sun, Sep 10, 7:03 AM · Quarry
zhuyifei1999 updated the task description for T175466: The star icon will not show/load in Quarry's star button.
Sun, Sep 10, 7:02 AM · Quarry
zhuyifei1999 created T175466: The star icon will not show/load in Quarry's star button.
Sun, Sep 10, 7:02 AM · Quarry

Fri, Sep 8

zhuyifei1999 awarded T174094: Update Cloud Services logo+wordmark a Love token.
Fri, Sep 8, 9:53 PM · Design, Cloud-Services
zhuyifei1999 closed T175285: Quarry XLSX cells for long urls are wrongly empty as Resolved.

Should be resolved. Such text are no longer written as a link but as basic string. Please reopen if there are issues.

Fri, Sep 8, 6:09 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T172163: Create a #Wikimedia-User-Group-China group project.

Added some members according to https://cn.wikimedia.org/wiki/Category:User_Group_Member. Not-founds: Ericmetro, SyaNHs, Yangzhe1991, Yhz1221, 乌拉跨氪, 人神之间, 燃玉

Fri, Sep 8, 5:53 PM · Project-Admins
zhuyifei1999 added members for Wikimedia-User-Group-China: Alexander_Misel, Bencmq, Chiefwei, DukeAnt, Huihengchen, Mountain.
Fri, Sep 8, 5:48 PM
zhuyifei1999 added a comment to T172163: Create a #Wikimedia-User-Group-China group project.

I'm wondering how much this overlaps with Chinese-Sites?

Fri, Sep 8, 3:06 PM · Project-Admins

Thu, Sep 7

zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.

Wait a moment, it's excel's bug???

Thu, Sep 7, 4:52 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.

This is raised in https://github.com/jmcnamara/XlsxWriter/blob/b4c4b499ffb3db8e0fa1b306880bcbcb3675fd4d/xlsxwriter/worksheet.py#L828

Thu, Sep 7, 4:51 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.
Sep  7 16:42:41 jessie python[26945]: /srv/venv/local/lib/python2.7/site-packages/xlsxwriter/worksheet.py:831: UserWarning: Ignoring URL 'http://www.example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' with link or location/anchor > 255 characters since it exceeds Excel's limit for URLS
Thu, Sep 7, 4:44 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.

The same happens with xlsxwriter 0.9.9 instead of 0.5.2.

Thu, Sep 7, 4:43 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.

https://quarry.wmflabs.org/query/21426, 151 characters url can be but 279 cannot.

Thu, Sep 7, 4:29 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.

https://quarry.wmflabs.org/query/21425, 2048 characters plain text can be downloaded.

Thu, Sep 7, 4:24 PM · Patch-For-Review, Quarry
zhuyifei1999 added a comment to T175285: Quarry XLSX cells for long urls are wrongly empty.

(Originally reported by @IKhitron on https://www.mediawiki.org/wiki/Topic:Txnc2f9ndpwke6w4)

Thu, Sep 7, 4:16 PM · Patch-For-Review, Quarry
zhuyifei1999 created T175285: Quarry XLSX cells for long urls are wrongly empty.
Thu, Sep 7, 4:09 PM · Patch-For-Review, Quarry

Wed, Sep 6

zhuyifei1999 added a comment to T172983: Reply to a task via email is broken: "No concrete, enabled subclass of PhabricatorMailReceiver can accept this mail".

Replying via mail did for for me in T171392#3554170

Wed, Sep 6, 9:27 PM · Release-Engineering-Team (Kanban), Regression, Phabricator
zhuyifei1999 added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

Note that the current "kludge" using "nowiki" to avoid immediate expansion works. It proves that lazy expansion of template or module parameters works! This is the way to go, but we should not need to use such "nowiki"/"unwiki" trick in out templates.

Wed, Sep 6, 3:26 PM · Patch-For-Review, Wikimedia-log-errors, MediaWiki-extensions-Scribunto, Operations, Commons
Liuxinyu970226 awarded T172065: Hunt for Toolforge tools that load resources from third party sites a Like token.
Wed, Sep 6, 9:09 AM · Toolforge-standards-committee, Tools, Privacy

Tue, Sep 5

zhuyifei1999 added a project to T174906: Fix broken zh abstracts dump jobs: Chinese-Sites.
Tue, Sep 5, 5:01 PM · Chinese-Sites, Patch-For-Review, Dumps-Generation
zhuyifei1999 awarded T173065: Tool "wikinity" loads assets from bootstrapcdn and ajax.googleapis.com a Cookie token.
Tue, Sep 5, 2:20 PM · Patch-For-Review, Tools
zhuyifei1999 awarded T174979: Remove Extension:RelatedSites from zhwikivoyage a Cookie token.
Tue, Sep 5, 3:31 AM · Patch-For-Review, Chinese-Sites, Wikimedia-Site-requests

Mon, Sep 4

zhuyifei1999 added a project to T174935: OOjs-UI raises 'Error: Widget not found: undefined' on c:Special:Upload: Commons.
Mon, Sep 4, 1:54 PM · MW-1.30-release-notes, MediaWiki-Uploading, Multimedia, Commons
zhuyifei1999 renamed T174935: OOjs-UI raises 'Error: Widget not found: undefined' on c:Special:Upload from "Uncaught Error: Widget not found: undefined" for unsafeInfuse on c:Special:Upload to OOjs-UI raises 'Error: Widget not found: undefined' on c:Special:Upload.
Mon, Sep 4, 1:53 PM · MW-1.30-release-notes, MediaWiki-Uploading, Multimedia, Commons
zhuyifei1999 merged task T174938: OOjs-UI raises 'Error: Widget not found: undefined' on Commons Special:Upload (legacy upload form) into T174935: OOjs-UI raises 'Error: Widget not found: undefined' on c:Special:Upload.
Mon, Sep 4, 1:52 PM · Commons, OOjs-UI
zhuyifei1999 merged T174938: OOjs-UI raises 'Error: Widget not found: undefined' on Commons Special:Upload (legacy upload form) into T174935: OOjs-UI raises 'Error: Widget not found: undefined' on c:Special:Upload.
Mon, Sep 4, 1:52 PM · MW-1.30-release-notes, MediaWiki-Uploading, Multimedia, Commons
zhuyifei1999 added a comment to T174935: OOjs-UI raises 'Error: Widget not found: undefined' on c:Special:Upload.

uh, you beat me.

Mon, Sep 4, 1:51 PM · MW-1.30-release-notes, MediaWiki-Uploading, Multimedia, Commons
zhuyifei1999 created T174938: OOjs-UI raises 'Error: Widget not found: undefined' on Commons Special:Upload (legacy upload form).
Mon, Sep 4, 1:50 PM · Commons, OOjs-UI

Sun, Sep 3

zhuyifei1999 renamed T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls from Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 when accessed from non-English languages specified in the template to Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.
Sun, Sep 3, 3:16 PM · Patch-For-Review, Wikimedia-log-errors, MediaWiki-extensions-Scribunto, Operations, Commons
zhuyifei1999 added projects to T174543: CHAR_LENGTH does not return the character count: DBA, Data-Services.
Sun, Sep 3, 2:55 AM · Data-Services, DBA, Quarry
zhuyifei1999 renamed T174867: Wikivoyage is missing from PAWS system user-config.py from Wikivoyage is missing to Wikivoyage is missing from PAWS system user-config.py.
Sun, Sep 3, 2:27 AM · PAWS

Sat, Sep 2

zhuyifei1999 merged T174868: Error: 500, Internal Server Error on many Commons categories. into T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.
Sat, Sep 2, 10:11 PM · Patch-For-Review, Wikimedia-log-errors, MediaWiki-extensions-Scribunto, Operations, Commons
zhuyifei1999 merged task T174868: Error: 500, Internal Server Error on many Commons categories. into T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.
Sat, Sep 2, 10:11 PM · Operations, Commons

Fri, Sep 1

zhuyifei1999 added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

There is a very interesting suggestion in that discussion that should be taken into account: use mw.wikibase.label. I can confirm that using mw.wikibase.label takes basically no memory (504K with the call, 503K without the call) compared to 42M+ when loading the whole page for tens of countries.

Fri, Sep 1, 4:56 PM · Patch-For-Review, Wikimedia-log-errors, MediaWiki-extensions-Scribunto, Operations, Commons
zhuyifei1999 committed rTVTC853157ce0b8b: Revert "v2c.js: Prefill new task model with last form" (authored by zhuyifei1999).
Revert "v2c.js: Prefill new task model with last form"
Fri, Sep 1, 3:09 AM
zhuyifei1999 added a reverting commit for rTVTCb7873e6e35ce: v2c.js: Prefill new task model with last form: rTVTC853157ce0b8b: Revert "v2c.js: Prefill new task model with last form".
Fri, Sep 1, 3:09 AM
zhuyifei1999 committed rTVTCb7873e6e35ce: v2c.js: Prefill new task model with last form (authored by zhuyifei1999).
v2c.js: Prefill new task model with last form
Fri, Sep 1, 3:09 AM

Tue, Aug 29

zhuyifei1999 added a comment to T174498: Monumental tool failed to load bundle.min.js.
$ curl -s https://tools.wmflabs.org/monumental | grep bundle
<script type="text/javascript" src="assets/bundle.min.js?v=17.07.02"></script></body>
Tue, Aug 29, 10:31 PM · Monumental

Aug 26 2017

zhuyifei1999 merged T174252: Issue with CommonsDelinker into T174164: Fix user script issues (deprecations) on Wikimedia Commons.
Aug 26 2017, 2:30 PM · Community-Tech, Commons
zhuyifei1999 merged task T174252: Issue with CommonsDelinker into T174164: Fix user script issues (deprecations) on Wikimedia Commons.
Aug 26 2017, 2:30 PM · Commons

Aug 25 2017

zhuyifei1999 added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

Nowiki-ization was a bad hack to reduce the memory consumption. It worked
for a few pages, such as the two in the initial report, but some still have
a memory consumption higher than the threshold, unfortunately.

Aug 25 2017, 8:07 PM · Patch-For-Review, Wikimedia-log-errors, MediaWiki-extensions-Scribunto, Operations, Commons
zhuyifei1999 added a comment to T174164: Fix user script issues (deprecations) on Wikimedia Commons.

It's basically a dependency issue. They depend on gadget libWikiDOM, which depends on the removed module jquery.mwExtension (see 3863dd2). I dunno what jquery.mwExtension does so dare not simply remove it from the dependency chain. I've pinged @Krinkle on-wiki and Steiny notified them on their talk page, but so far no response.

Aug 25 2017, 7:50 PM · Community-Tech, Commons
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

I can't even understand what are you talking about - the address you gave returns 404. It should not happen at all in wiki.

Aug 25 2017, 12:50 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T173996: Add code snippets with integrity hashes to CDNJS interface.

I think (might be wrong) yuvi said something about serving from local disk being super-fast compared to /static serving from NFS

Aug 25 2017, 2:31 AM · Tools
zhuyifei1999 added a comment to T173996: Add code snippets with integrity hashes to CDNJS interface.

Dunno why, but the relevant ticket is T96799

Aug 25 2017, 2:29 AM · Tools

Aug 24 2017

zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

You mean Category:Pages_with_script_errors? Most of them look irrelevant to me, and my last null edit run only removed a few dozen pages iirc. I just edited a broken template and started the bot. Let's see how many can be removed.

Aug 24 2017, 9:10 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

You can rerun it, starting filtering 14 first.

Aug 24 2017, 8:56 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

Great. What about the category?

It's running, but getting tons of 500s.

Aug 24 2017, 7:38 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

(Actually, everything besides Category: namespace on commons is clear)

Aug 24 2017, 7:28 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

Commons File: namespace is clear. The progress on Category: namespace is very slow due to T171392 & T173194

Aug 24 2017, 7:11 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Aug 23 2017

zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

Thanks, running.

Aug 23 2017, 2:19 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

No, @zhuyifei1999, I'm talking about the uncategorized errors. What's you're doing is not enough.

Aug 23 2017, 2:11 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
zhuyifei1999 added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

Somebody should purge them too.

Aug 23 2017, 2:06 PM · Wikidata-Sprint, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Aug 20 2017

zhuyifei1999 reopened T144132: (non-patrolled pages) don't appear as yellow in arwiki (class "not-patrolled" not set for <li>) as "Open".

I don't think this task is the same as the other task, which is a regression from 7660fe1 and therefore should not have appeared till this month. If this error is no longer reproduceable after the fix for T173556 please close.

Aug 20 2017, 7:53 PM · MediaWiki-Patrolling, Wikimedia-General-or-Unknown
zhuyifei1999 added a comment to T173651: Add serbian templates and section titles to noreferences.py.

If you have an error, please paste/upload any debugging informations here, such as command line arguments used, traceback, logs, and/or core dump.

Aug 20 2017, 8:26 AM · Pywikibot-i18n, Pywikibot-core, Pywikibot-Other-scripts
zhuyifei1999 added a comment to T173651: Add serbian templates and section titles to noreferences.py.

I don't understand what you mean by "I ever get errors with all" as it does not make sense grammatically. Do you mean "I never get errors at all", or "I get errors with all methods"?

Aug 20 2017, 8:23 AM · Pywikibot-i18n, Pywikibot-core, Pywikibot-Other-scripts
zhuyifei1999 added a comment to T173651: Add serbian templates and section titles to noreferences.py.

Also the allow patch formats are shown in the page:

Allowed patch formats:

  • git format-patch -M origin/master
  • git format-patch -1 --stdout HEAD
  • diff -u file1 file2
  • git diff
  • svn diff
Aug 20 2017, 8:19 AM · Pywikibot-i18n, Pywikibot-core, Pywikibot-Other-scripts
zhuyifei1999 added a comment to T173651: Add serbian templates and section titles to noreferences.py.

fatal: unrecognized input

^ is the error

Aug 20 2017, 8:14 AM · Pywikibot-i18n, Pywikibot-core, Pywikibot-Other-scripts
zhuyifei1999 closed T173651: Add serbian templates and section titles to noreferences.py as Invalid.

I can not upload this in gerrit. I can not upload because I ever get any error.

https://tools.wmflabs.org/gerrit-patch-uploader/

Aug 20 2017, 7:57 AM · Pywikibot-i18n, Pywikibot-core, Pywikibot-Other-scripts
zhuyifei1999 added a comment to T171713: Make QuitKeyboardInterrupt errors unified and disable traceback in scripts.

Honestly I don't understand why the quit should be a KeyboardInterrupt and not SystemExit, which are both direct sub-exceptions of BaseException. KeyboardInterrupt are almost always for SIGINTs, which may happen in many cases, most commonly CTRL-C, but it is usually an unexpected input and therefore people like a traceback. Script-caused exits should be SystemExit instead, as they are entirely expected, and will not cause a traceback in default sys.excepthook (sys.__excepthook__).

Aug 20 2017, 7:44 AM · Pywikibot-General, Pywikibot-core
zhuyifei1999 renamed T173645: replace.py should not crash when it does a replacement in Module: and get rejected by API for changing content model from Editing protected pages with bot - feature suggestion to replace.py should not crash when it does a replacement in Module: and get rejected by API for changing content model.
Aug 20 2017, 7:35 AM · Pywikibot-core, Pywikibot-replace.py

Aug 18 2017

zhuyifei1999 added a comment to T173556: class "not-patrolled" no longer set for <li> on Special:NewPages.

I believe that this is caused by my patch for T171138. I'll upload a patch to fix the disappearing color problem.

Aug 18 2017, 7:36 AM · Regression, User-Urbanecm, MW-1.30-release, MediaWiki-Patrolling
zhuyifei1999 added a comment to T173556: class "not-patrolled" no longer set for <li> on Special:NewPages.

Recent changes to SpecialNewpages.php: f45b40f, 7660fe1, 4475e1c

Aug 18 2017, 7:01 AM · Regression, User-Urbanecm, MW-1.30-release, MediaWiki-Patrolling
zhuyifei1999 added a project to T173556: class "not-patrolled" no longer set for <li> on Special:NewPages: Regression.
Aug 18 2017, 6:57 AM · Regression, User-Urbanecm, MW-1.30-release, MediaWiki-Patrolling