Page MenuHomePhabricator

zhuyifei1999
*Not* Serious business title.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 13 2014, 10:19 AM (274 w, 4 d)
Availability
Available
IRC Nick
zhuyifei1999
LDAP User
Zhuyifei1999
MediaWiki User
Zhuyifei1999 [ Global Accounts ]

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

Tue, Jan 14

zhuyifei1999 added a comment to T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html.

I'm guessing Quarry probably isn't run outside of wmflabs?

Tue, Jan 14, 5:35 PM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security
zhuyifei1999 added a comment to T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html.

@sbassett Thanks ;) I'm wondering, since I've never requested CVEs before, what is the standard practice of when to request CVEs and when not to?

Tue, Jan 14, 3:40 PM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security
zhuyifei1999 added a comment to T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html.

Applied. https://quarry.wmflabs.org/run/424170/output/0/tsv https://quarry.wmflabs.org/run/424170/output/0/csv LGTM.

Tue, Jan 14, 6:07 AM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security
zhuyifei1999 added a comment to T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html.

Wow thanks. +2.

Tue, Jan 14, 6:00 AM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security

Mon, Jan 13

zhuyifei1999 added a comment to T242538: Many grid engine backend webservices not registered at tools-proxy redis following depool restarts.

Might be.

Mon, Jan 13, 4:38 AM · cloud-services-team (Kanban), Toolforge

Sun, Jan 12

zhuyifei1999 created T242538: Many grid engine backend webservices not registered at tools-proxy redis following depool restarts.
Sun, Jan 12, 12:18 PM · cloud-services-team (Kanban), Toolforge

Thu, Jan 9

zhuyifei1999 updated subscribers of T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html.

I found out about this after seeing https://www.mediawiki.org/wiki/Topic:Vek4uyar23h08h7g

Thu, Jan 9, 5:56 PM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security
zhuyifei1999 added a project to T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html: Quarry.

CC @Framawiki

Thu, Jan 9, 5:54 PM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security
zhuyifei1999 created T242355: Trivial Quarry XSS: Tabular data CSV / TSV are not escaped and sent as text/html.
Thu, Jan 9, 5:53 PM · Vuln-XSS, Cloud-Services, Security-Team, Quarry, Security
zhuyifei1999 added a comment to T232457: Implement progress bar for video encodings in tool..

The way v2c does it: It regex matches Duration: (\d{2}:\d{2}:\d{2}) and time=(\d{2}:\d{2}:\d{2}) in stdout/err (forgot which) and computes the percent of time that has been encoded.

Thu, Jan 9, 3:52 PM · Google-Code-in-2019, VideoCutTool

Wed, Jan 1

zhuyifei1999 closed T147711: Add a button to toggle syntax highlighting in Quarry as Resolved.
Wed, Jan 1, 7:51 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 added a comment to T147711: Add a button to toggle syntax highlighting in Quarry.

I fixed the shrinking issue for width in 849e942. Height... quarry with syntax highlighing enabled auto resizes; do we want to replicate this?

Wed, Jan 1, 6:51 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 added a comment to T147711: Add a button to toggle syntax highlighting in Quarry.

@DannyS712 Any tracebacks on your side?

Wed, Jan 1, 6:37 AM · Patch-For-Review, Google-Code-in-2019, Quarry

Mon, Dec 30

zhuyifei1999 added a comment to T241585: Facing an issue when loading a Tensorflow model.

Use the grid engine to run non-interactive scripts. VMS limit is set using -mem switch.

Mon, Dec 30, 12:52 PM · Toolforge

Mon, Dec 23

zhuyifei1999 added a comment to T241322: lvm on cloud-vps: bug or feature?.

Pro-lvm arguments

Mon, Dec 23, 10:48 PM · cloud-services-team (Kanban), Cloud-VPS

Sun, Dec 22

zhuyifei1999 updated the task description for T147711: Add a button to toggle syntax highlighting in Quarry.
Sun, Dec 22, 10:45 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 closed T241290: Allow Fish scripts to run on Grid Engine on Toolforge as Resolved.
Sun, Dec 22, 5:46 AM · Toolforge (Software install/update)
zhuyifei1999 added a comment to T147711: Add a button to toggle syntax highlighting in Quarry.

Imported: https://codein.withgoogle.com/dashboard/tasks/6592552044593152/

Sun, Dec 22, 5:45 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 renamed T147711: Add a button to toggle syntax highlighting in Quarry from It should be possible to disable syntax highlight to Add a button to toggle syntax highlighting in Quarry.
Sun, Dec 22, 5:42 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 updated the task description for T147711: Add a button to toggle syntax highlighting in Quarry.
Sun, Dec 22, 5:42 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 added a project to T147711: Add a button to toggle syntax highlighting in Quarry: Google-Code-in-2019.
Sun, Dec 22, 5:37 AM · Patch-For-Review, Google-Code-in-2019, Quarry
zhuyifei1999 added a comment to T241290: Allow Fish scripts to run on Grid Engine on Toolforge.

@Erutuon Does it work now?

Sun, Dec 22, 5:23 AM · Toolforge (Software install/update)

Sat, Dec 21

zhuyifei1999 added a comment to T241290: Allow Fish scripts to run on Grid Engine on Toolforge.

I tried copying /usr/bin/fish locally and running it in the job engine,

Sat, Dec 21, 1:14 AM · Toolforge (Software install/update)

Fri, Dec 20

zhuyifei1999 awarded T214513: Deploy and migrate tools to a Kubernetes v1.15 or newer cluster a Love token.
Fri, Dec 20, 9:04 AM · Wikimedia-Incident, Goal, Epic, Toolforge, cloud-services-team (Kanban), Kubernetes
zhuyifei1999 added a comment to T240922: Change name of commons_describer tool or provide some workaround for Kubernetes/DNS.

For future reference, there was T176027: Tools with "_" in their name or names longer than 63 characters do not get Kubernetes namespaces created

Fri, Dec 20, 9:00 AM · Patch-For-Review, Toolforge, cloud-services-team (Kanban), Kubernetes

Dec 19 2019

zhuyifei1999 committed rTVTCef00f521a4d3: Run 2to3 everywhere (authored by zhuyifei1999).
Run 2to3 everywhere
Dec 19 2019, 5:52 AM
zhuyifei1999 committed rTVTCf16ea03ffae6: Get rid of converter module, undo a few 2to3 changes (authored by zhuyifei1999).
Get rid of converter module, undo a few 2to3 changes
Dec 19 2019, 5:52 AM

Dec 18 2019

zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

Google isn't responding (they probably don't have the incentive to), gonna wait for a few more days. If it stays like this, I'm gonna get a massive overhaul to how v2c download from YouTube. sneek peek: slimerjs + x11vnc

Dec 18 2019, 10:26 AM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons

Dec 16 2019

zhuyifei1999 committed rTVTCa2cb6c3212f3: Update urlextract.py (#112) (authored by royjor2016 <26777013+royjor2016@users.noreply.github.com>).
Update urlextract.py (#112)
Dec 16 2019, 11:19 PM
zhuyifei1999 committed rTVTC2317e7aea144: Replace pipe | with &#124; (#111) (authored by royjor2016 <26777013+royjor2016@users.noreply.github.com>).
Replace pipe | with &#124; (#111)
Dec 16 2019, 10:51 PM
zhuyifei1999 added a comment to T240825: Server-side upload for Coffeeandcrumbs.

Since it's easiest with the filename already set to the target, I created symlink https://v2c4.wmflabs.org/2016_State_of_the_Union_Address_–_Barack_Obama_Presidential_Library.webm & copied the text to that url with .txt

Dec 16 2019, 7:51 AM · User-Urbanecm, Commons, Wikimedia-Site-requests
zhuyifei1999 added a comment to T191805: Allow Mediawiki to store file size greater than 32 bits.

No, all these are fine. A 32 bit field can store the number 2^32 fine. These fields should work fine as long as the file size is less than 2^(2^32), which we're in no danger of approaching :)

Dec 16 2019, 3:19 AM · MediaWiki-File-management, Commons, Multimedia

Dec 12 2019

zhuyifei1999 added a comment to T240528: Become no tool found.

Will it happen in the future?

Dec 12 2019, 9:02 AM · Toolforge
zhuyifei1999 closed T240528: Become no tool found as Invalid.

https://lists.wikimedia.org/pipermail/cloud-announce/2019-December/000240.html Maintenance.

Dec 12 2019, 8:59 AM · Toolforge

Dec 11 2019

zhuyifei1999 changed the status of T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads from Open to Stalled.

They think it's a ToS violation... so... this gotta be difficult.

Dec 11 2019, 6:31 AM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
zhuyifei1999 closed T239380: Request to take over refill tool on toolforge as Invalid.
Dec 11 2019, 3:48 AM · InternetArchiveBot, Toolforge-standards-committee

Dec 9 2019

zhuyifei1999 reassigned T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads from zhuyifei1999 to Matanya.

I was informed by @Matanya last Wednesday that Google will respond to us in 1-2 weeks.

Dec 9 2019, 3:54 AM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons

Dec 8 2019

zhuyifei1999 added a comment to T239380: Request to take over refill tool on toolforge.

Not expected by me, no. I will add you back to the list. There was a bug that I never could reproduce ~2.5 years ago where Chase got removed from the admin tool twice in a 3 week period. I wonder if this was something similar? In his case however there was no associated change alert.

Dec 8 2019, 3:55 AM · InternetArchiveBot, Toolforge-standards-committee

Dec 7 2019

zhuyifei1999 updated subscribers of T239380: Request to take over refill tool on toolforge.

@bd808 @Andrew I was checking if I could get @eranroz the access and apparently striker thinks I'm not in tools.admin anymore, to which LDAP seems to agree:

Dec 7 2019, 8:46 AM · InternetArchiveBot, Toolforge-standards-committee

Dec 6 2019

zhuyifei1999 renamed T240036: tools.wmflabs.org/sigma exceeded 'max_user_connections' from Unable to connect to MySQL (enwiki.labsdb) to tools.wmflabs.org/sigma exceeded 'max_user_connections'.
Dec 6 2019, 6:57 PM · Tools, cloud-services-team (Kanban), Data-Services
zhuyifei1999 added a comment to T240036: tools.wmflabs.org/sigma exceeded 'max_user_connections'.

Do you have a minimum reproducing test case?

Dec 6 2019, 6:40 PM · Tools, cloud-services-team (Kanban), Data-Services
zhuyifei1999 added a project to T240036: tools.wmflabs.org/sigma exceeded 'max_user_connections': Data-Services.
Dec 6 2019, 6:39 PM · Tools, cloud-services-team (Kanban), Data-Services

Dec 4 2019

zhuyifei1999 closed T236568: "video" Cloud VPS project jessie deprecation as Resolved.

We rebuilt all of them on stretch buster on Oct 26.

Dec 4 2019, 5:56 PM · Cloud-VPS (Debian Jessie Deprecation)

Nov 29 2019

zhuyifei1999 added a comment to T239353: New maintainer needed for Phetools OCR for Wikisource.

Without being a maintainer of the tool, how can I edit the pages related to this?

Nov 29 2019, 5:18 PM · Toolforge-standards-committee (Maintainer needed)

Nov 28 2019

zhuyifei1999 updated subscribers of T239022: Some texts are not automatically converted from Simplified Chinese to Traditional Chinese on Chinese Wikivoyage.

@Gabrielchihonglee Your bot is long overdue

Nov 28 2019, 4:57 PM · MediaWiki-Language-converter, Chinese-Sites
zhuyifei1999 updated subscribers of T239380: Request to take over refill tool on toolforge.

@eranroz @Huji @Ladsgroup @Matanya @Quiddity Anyone wanna to the secret information checking? I won't have time till this (or perhaps next) weekend.

Nov 28 2019, 5:32 AM · InternetArchiveBot, Toolforge-standards-committee
zhuyifei1999 updated the task description for T239380: Request to take over refill tool on toolforge.
Nov 28 2019, 5:28 AM · InternetArchiveBot, Toolforge-standards-committee

Nov 27 2019

zhuyifei1999 added a comment to T239312: Tool adoption request for fpcbot.

Also, it implies that "each maintainers" is tool admin for that specific tool?

Nov 27 2019, 5:43 PM · Toolforge-standards-committee, Commons, Tools
zhuyifei1999 added a comment to T239312: Tool adoption request for fpcbot.

Under Abandoned tool policy maintainers can be added by us if the tool was non-functional or the current maintainers are inactive. Neither criteria seem to apply under this case (The bot last edit: 2019-11-27T13:00:55, Maintainer last edit: 2019-11-21T22:34:54). I think it would be best for you to just ask them for access.

Nov 27 2019, 4:43 PM · Toolforge-standards-committee, Commons, Tools

Nov 26 2019

zhuyifei1999 changed the status of T239210: Add me as a maintainer(need write access) to the tool named qic from Resolved to Declined.
Nov 26 2019, 6:22 PM · Tools, Toolforge-standards-committee, Commons
zhuyifei1999 edited projects for T239210: Add me as a maintainer(need write access) to the tool named qic, added: Toolforge-standards-committee; removed Tool-admin.

Is this an adoption request?

Nov 26 2019, 3:31 PM · Tools, Toolforge-standards-committee, Commons

Nov 21 2019

zhuyifei1999 added a comment to T238836: [Technical Review]: https://wikitech.wikimedia.org/wiki/Help:Accessing_Cloud_VPS_instances.

File managers: Linux can also use the same sshfs via fuse.
Banners: I haven't seen that banner in quite a while (a few years?). Is that still a thing? Or is it just me not seeing it?

Nov 21 2019, 4:33 PM · User-srodlund, Toolforge, Documentation

Nov 14 2019

zhuyifei1999 added a comment to T238375: quarry-web-01 leaks files in /tmp.

xlsxwriter creates temp files at two places,

Nov 14 2019, 10:11 PM · Quarry
zhuyifei1999 added a comment to T238375: quarry-web-01 leaks files in /tmp.

They seem to be uncompressed xlsx worksheets.

Nov 14 2019, 10:01 PM · Quarry
zhuyifei1999 created T238375: quarry-web-01 leaks files in /tmp.
Nov 14 2019, 9:52 PM · Quarry
zhuyifei1999 closed T235768: generate_family_file.py crashes when run against private wikis as Resolved.
Nov 14 2019, 7:24 AM · Pywikibot
zhuyifei1999 added a comment to T188941: Consider different varieties of Cloud VPS instance flavors.

Just so this doesn't get lost:

Nov 14 2019, 3:09 AM · cloud-services-team (Kanban), Cloud-VPS

Nov 13 2019

zhuyifei1999 closed T235811: Wikimedia Commons "Collapse captions" gadget not working as Resolved.

Workarounded. https://commons.wikimedia.org/wiki/MediaWiki:Gadget-Collapse-Captions.js Ideally this should still be brought in-house. You now have a MutationObserver, which, just like captionsPanel, is basically "private".

Nov 13 2019, 12:19 AM · SDC General, Commons

Nov 12 2019

zhuyifei1999 added a comment to T235811: Wikimedia Commons "Collapse captions" gadget not working.

@zhuyifei1999: Commons is a project tag dedicated to Commons issues and it is set on this task, so this feels like a valid task under Commons.

Nov 12 2019, 9:59 PM · SDC General, Commons

Nov 11 2019

zhuyifei1999 placed T235811: Wikimedia Commons "Collapse captions" gadget not working up for grabs.

So I tried to fix this.

Nov 11 2019, 6:28 PM · SDC General, Commons
zhuyifei1999 added a comment to T236704: Import of the youtube channel "Les possédés et leurs mondes".

@zhuyifei1999 I am getting the same "YouTube said: Unable to extract video data" error. Do you think you can take a look?

Nov 11 2019, 6:03 PM · Wiki-Techstorm-2019, video2commons, Commons
zhuyifei1999 closed T235811: Wikimedia Commons "Collapse captions" gadget not working as Invalid.

Tracking issues with on-wiki gadgets on wiki.

Nov 11 2019, 2:26 AM · SDC General, Commons
zhuyifei1999 placed T141438: [[Wikimedia:Video2commons-confirmmsg]] i18n issue up for grabs.
Nov 11 2019, 2:13 AM · video2commons, I18n
zhuyifei1999 placed T141439: [[Wikimedia:Video2commons-notessubtitles]] i18n issue up for grabs.
Nov 11 2019, 2:13 AM · video2commons, I18n

Nov 6 2019

zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

Can you use video2commons? I don't know what CDC does, but I'd assume that is the download + transcode + upload, which is the same as what v2c does in the backend, which is on special-purpose instances, unlike toolforge's generic grid.

Nov 6 2019, 3:27 AM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons

Nov 5 2019

zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

If someone can explain how I can legitimately run an FFmpeg recoding job on webgrid and save the files on a WMF server, that would be useful, but this experience, including getting warnings about my work, has seriously discouraged me from relying on WMF cloud services in the future, primarily because of the massive waste of precious volunteer time it takes to keep on testing and rewriting code to fit in with ever changing, non-specific and hard to understand "requirements" of this environment, compared to simply hosting a script on my own ancient kit.

Nov 5 2019, 5:26 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
zhuyifei1999 added a comment to T236348: Give suppressredirect right to filemovers on Commons.

Please don't feel pressured to do a translation that you don't want to do. This isn't an urgent matter that has to be resolved immediately. We can wait a little while longer to find a translator. I would never want you to feel forced to do something that you are uncomfortable with.

Nov 5 2019, 5:03 AM · User-DannyS712, Wikimedia-Site-requests, Commons

Nov 3 2019

zhuyifei1999 added a comment to T236348: Give suppressredirect right to filemovers on Commons.

I can do a Chinese translation as a last resort tomorrow, but it might not be great / idiomatic and will probably sound weird.

Nov 3 2019, 7:24 AM · User-DannyS712, Wikimedia-Site-requests, Commons

Nov 1 2019

zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

Looks like the rate limit is currently lifted :)

Nov 1 2019, 7:13 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

@zhuyifei1999 Does v2c typically do the downloads on Toolforge, or are the instances in the video Cloud VPS project actually doing that work? If it is the latter, we could try a temporary solution of adding public IPv4 addresses to the video instances to spread across more IPs which would hopefully give a larger quota from YouTube.

Nov 1 2019, 5:29 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
zhuyifei1999 added a comment to T237097: Server side upload for Sporti.

Yeah, stashfailed is somewhat random. For big files (> around 2G), it sometimes works sometimes not. And the worst part is that immediately retrying after a failure almost always fails (due to things like lock issues). If a task was created through v2c than an upload was attempted and failed. Waiting a while a retry might work but not guaranteed.

Nov 1 2019, 3:07 PM · video2commons, Commons

Oct 31 2019

zhuyifei1999 committed rTVTCa0a23091f687: Fix StrictRedis LREM as well (authored by zhuyifei1999).
Fix StrictRedis LREM as well
Oct 31 2019, 7:18 PM

Oct 29 2019

zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

@Fae .... Try running it in one of the kubernetes python shell

Oct 29 2019, 3:51 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons

Oct 28 2019

zhuyifei1999 added a comment to T235627: Toolforge: upgrade main proxy servers to Debian Buster.

No idea how it used to work (T56052 is old), but zhuyifei1999@tools-sgebastion-08: ~$ curl tools.wmflabs.org now hangs.

Oct 28 2019, 9:49 PM · Toolforge, cloud-services-team (Kanban), Kubernetes
zhuyifei1999 merged T236705: video2commons broken after import attempt into T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.
Oct 28 2019, 4:43 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
zhuyifei1999 merged task T236705: video2commons broken after import attempt into T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.
Oct 28 2019, 4:42 PM · video2commons, Commons
zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

However that's a bit odd considering that the code does work when not on the grid, unless the problem is that IP addresses used by the grid host are getting blocked by YouTube/Google while the IP addresses used via live sessions are not.

Oct 28 2019, 4:41 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
Fae awarded T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads a Hungry Hippo token.
Oct 28 2019, 1:38 PM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons

Oct 26 2019

zhuyifei1999 committed rTVTC159730fb161e: requirements.txt: Commont out pywikibot (authored by zhuyifei1999).
requirements.txt: Commont out pywikibot
Oct 26 2019, 9:58 PM
zhuyifei1999 committed rTVTC7a5109c62adf: Newer redis python are strictredis by default (authored by zhuyifei1999).
Newer redis python are strictredis by default
Oct 26 2019, 9:58 PM

Oct 25 2019

zhuyifei1999 claimed T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.
Oct 25 2019, 12:39 AM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons
zhuyifei1999 added a comment to T236446: Cloud Services shared IP (static NAT for external communications) often rate limited by YouTube for video downloads.

Yeah, https://commons.wikimedia.org/wiki/Commons:Village_pump#video2commons this happened. How do I workaround this....

Oct 25 2019, 12:39 AM · Upstream, cloud-services-team (Kanban), Cloud-VPS, video2commons

Oct 13 2019

zhuyifei1999 committed rPWBCe0730be19a7c: site_tests.py: Only threads started by the test for test_lock_page (authored by zhuyifei1999).
site_tests.py: Only threads started by the test for test_lock_page
Oct 13 2019, 7:06 PM
zhuyifei1999 closed T235320: test_articles and test_members methods of category_tests.TestCategoryObject are failing as Resolved.

https://travis-ci.org/wikimedia/pywikibot/jobs/597288441

Oct 13 2019, 4:40 PM · Pywikibot, Pywikibot-tests

Oct 11 2019

zhuyifei1999 committed rPWBCa93412adf7e0: site.py: lock_page release mutex during sleep (authored by zhuyifei1999).
site.py: lock_page release mutex during sleep
Oct 11 2019, 3:29 PM
zhuyifei1999 closed T235245: kaleem-bot as Invalid.
Oct 11 2019, 4:45 AM · Trash

Oct 1 2019

zhuyifei1999 closed T234310: Quarry struggling on the queue (2019-10-01) as Resolved.

I ssh-ed in to both workers, no weird behavior. No logs either. It's as if the celery workers never received the tasks.

Oct 1 2019, 11:56 AM · User-revi, cloud-services-team (Kanban), Quarry

Sep 28 2019

zhuyifei1999 added a comment to T233924: Server side upload for Nederlandse Leeuw.

Error: 'An exception occurred: TaskError: pywikibot.Error: APIError: chunk-too-small: Minimum chunk size is 1,024 bytes for non-final chunks.'

Sep 28 2019, 4:57 AM · Commons, Wikimedia-Site-requests, User-Urbanecm

Sep 26 2019

zhuyifei1999 added a comment to T210959: Make tools-static fontcdn/ and cdnjs/ redact UA.

(Why did I not get a phab notification?)

Sep 26 2019, 5:39 AM · cloud-services-team (Kanban), Toolforge, Privacy

Sep 22 2019

zhuyifei1999 added projects to T233530: When user create tool via toolsadmin, it doesn't create replica.my.cnf: Data-Services, cloud-services-team.
Sep 22 2019, 5:34 PM · cloud-services-team (Kanban), Data-Services, Toolforge

Sep 7 2019

zhuyifei1999 committed rPWBC6f0cafd37d59: Deprecate sysopnames (authored by Huji).
Deprecate sysopnames
Sep 7 2019, 5:50 PM

Aug 29 2019

zhuyifei1999 edited projects for T230758: Drop database s54020__wsexporttest_p and grant access to Quarry, added: Data-Services; removed Tool-Database-Queries, Toolforge.

By the way, should Quarry be able to access the tools' databases when they have a _p suffix? I'm getting "Access denied for user 's52788'@'%' to database 's54020__wsexport_test_p'". Is it possible to give it access to both databases?

Aug 29 2019, 3:40 PM · Data-Services
zhuyifei1999 merged T227942: Pushing "Explain" button outputs "Error Hmm... Is the SQL actually running?!" into T205214: EXPLAIN is broken because new analytics wiki replica cluster contains multiple servers.
Aug 29 2019, 3:35 PM · Patch-For-Review, Quarry
zhuyifei1999 merged task T227942: Pushing "Explain" button outputs "Error Hmm... Is the SQL actually running?!" into T205214: EXPLAIN is broken because new analytics wiki replica cluster contains multiple servers.
Aug 29 2019, 3:35 PM · Quarry

Aug 28 2019

zhuyifei1999 added a comment to T71283: dualism between user and sysop needs to be overtaken.

This is assuming the default family/lang is Commons. The same applies to any other site if the parameters passed to the Site constructor matches any case given to the usernames dict.

Aug 28 2019, 6:46 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot
zhuyifei1999 added a comment to T71283: dualism between user and sysop needs to be overtaken.

True that, it can be just one username per site, the preferred one? But listing that usernames can be actually useful as a safeguard, to not allow an username that's defined, but not allowed in usernames list, in case I don't want to use one username somewhere for some reason. Feel free to make it only default username, that's fine as well, just thinking loud :).

Aug 28 2019, 6:25 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot
zhuyifei1999 added a comment to T71283: dualism between user and sysop needs to be overtaken.

BTW Pywikibot tests miss the way to simply switch between several accounts (OAuth, BotPasswords, regular password) as well.

Aug 28 2019, 6:11 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot
zhuyifei1999 added a comment to T71283: dualism between user and sysop needs to be overtaken.
user-config.py
accounts = {
    "oznamovatel": {
        "username": "Oznamovatel",
        "oauth": [ consumer key, consumer secret, client key, client secret ]
    },
    "urbanecmbot": {
        "username": "UrbanecmBot",
        "oauth": [ consumer key, consumer secret, client key, client secret ]
    }
}
usernames['wikipedia']['cs'] = [  'urbanecmbot', 'oznamovatelbot' ] # both urbanecmbot and oznamovatelbot used
usernames['wikipedia']['en'] = [  'urbanecmbot' ] # only urbanecmbot used
Aug 28 2019, 6:10 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot
zhuyifei1999 added a comment to T71283: dualism between user and sysop needs to be overtaken.

This is quite common situation on Czech Wikipedia, one bot account and one sysop account for every sysop bot operator, edits by Pywikibot are made from each of them depending on whether sysop rights are needed or not. I suggest somethng like this (pseudocode):

Aug 28 2019, 5:10 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot

Aug 27 2019

zhuyifei1999 added a comment to T71283: dualism between user and sysop needs to be overtaken.

The only thing needed is to support specifying two accounts, one bot, one sysop and allow to switch between them easily (by a parameter?)

Aug 27 2019, 11:01 PM · Patch-For-Review, Pywikibot-login.py, Pywikibot