User Details
- User Since
- Apr 20 2021, 11:48 AM (128 w, 1 d)
- Availability
- Available
- LDAP User
- Diskdance
- MediaWiki User
- Diskdance [ Global Accounts ]
Sun, Oct 1
For everyone's info, F-droid has been blocked in China now.
Fri, Sep 8
@Quiddity I think it's unrelated. Looking at Pygments I cannot find lexers for html5 and html4strict, and looking up in the release notes I cannot find relevant information either.
Aug 18 2023
I hope WMF can participate in this project with the community since such a portal is hard to maintain solely by the community itself.
Aug 14 2023
Aug 9 2023
We could probably migrate to Vite and Vue and use SSG to generate a static site.
As the author of this task, I'll close this issue as declined in favor of T327286
Jul 31 2023
Jul 25 2023
Jun 15 2023
Okay, let's keep the discussion on topic. Which gadgets are the blockers? Who should be responsible, and how to fix them?
Some thoughts:
- It's not promising to rely on censorable but not yet censored platform (like Toolforge). We should use censorship-resistant platforms, typically to rely on large entities which government cannot easily block. (See also T327286)
- We should find a balance between security/privacy/anonymity and convenience. Use as less custom software as possible. The more complex the procedure is, the less a user will be willing to join. Anything involves money transfer should be avoided.
- Such portal may collect sensitive personal information. Does WMF privacy policy apply here? Which platform will it run on? I think this needs wider discussion.
Jun 13 2023
Jun 11 2023
Jun 10 2023
Jun 6 2023
A bunch of gadget compatibility issues should be resolved before the deployment.
May 21 2023
May 17 2023
jquery.tipsy is used by a default gadget on Chinese Wikipedia providing cross-language link support, which has wide usage in the wiki.
May 9 2023
May 7 2023
I can completely understand your team's eagerness to put Vector 2022 into wider usage, but I also hope that community consensus is respected in such case.
May 5 2023
It looks like we can just mark lexers in "non-HTML markup languages" category (https://pygments.org/docs/lexers/#lexers-for-non-html-markup-languages) to generate RTL content by default in a RTL wiki. @bd808 Is it technically feasible?
Hmmm, from my intuition, we should set up a config file telling which Pygments lexer is "ltr-only" (e.g. JavaScript) or not. (e.g. Wikitext)
May 4 2023
Apr 15 2023
@bd808 From my testing single quotes also work as lang='xxx'. I think those cases need to be searched too.
Use {{#tag:syntaxhighlight}} mentioned here.
Apr 14 2023
Apr 5 2023
Tracked in T298399.
Upstream PR is merged, now waiting for a Pygments release so we can bundle it in MediaWiki.
Apr 4 2023
That list is just for everyone's reference. They may not work in China currently, but we can possibly leverage their technique.
@Tgr This ticket is for evaluating Turnstile's use at Wikimedia websites, not just implementing it in MediaWiki.
Apr 2 2023
Apr 1 2023
Another potential risk is that integrating censorship evading measures may cause the iOS app to be removed from China App Store. I'm not saying we should not add this -- censorship poses a risk to us all and we should resist, but I'd rather be cautious and think about wise and lasting solutions, so it won't be a waste of money.
...but the word 'domain fronting' is usually connected with the use of clouds and CDNs.
Domain fronting takes the advantage of collateral freedom, but unfortunately I cannot see much damage for the government to block Wikimedia IPs. Yes, for a medium term this is a feasible approach, but it costs nearly nothing for the government to block an IP, but changing one costs a considerable amount of resource. What should we do if all IPs are blocked in the future?
Mar 10 2023
Upstream PR: https://github.com/pygments/pygments/pull/2373
Mar 5 2023
I have been working on this for quite a while. Now I am going though a bunch of tests, hopefully a PR would be filed soon.
Mar 4 2023
I have created https://zh.wikipedia.org/wiki/User:Diskdance/public/T306862_test for testing, and found this inconsistency (same in Vector 2022):
Mar 3 2023
Just curious, can this task be closed without a proper QA? We can confirm it works as expected on Chinese Wikipedia.
Mar 1 2023
@Edtadros As a Chinese speaker I can confirm it is correctly converted.
Dec 21 2022
FYI, TypeScript definitions of OOjs and OOUI are published at DefinitelyTyped and available on npm:
https://www.npmjs.com/package/@types/oojs
https://www.npmjs.com/package/@types/oojs-ui
Dec 11 2022
Oct 14 2022
Apologies for my ambiguous wording in my last reply.
Oct 5 2022
@bd808 In my use case the only objective is to check whether you can successfully receive a response from w.wiki regardless of what it is. This helps users figure out, for example, if it is DNS poisoned or interfered by state censor in any manners. Thank you for your clarification anyway.
Oct 4 2022
Oct 3 2022
Sep 4 2022
Yes! Apologies for that and I have added that scenario in the task description.
Aug 28 2022
Aug 27 2022
@Ladsgroup Hi, do you have any idea on this?
Aug 26 2022
Hi @abi_, thank you for your response! I have added message documentations. Then how can I give twn bot push access to my repo? By giving then collaborator rights?
Aug 24 2022
Aug 15 2022
Aug 13 2022
Jul 24 2022
By the way, I want to emphasize that QUIC encrypts initial packets of a connection. Even though its key is known, as a result of it, QUIC is more censorship resistant in many ways.
Jul 17 2022
Jul 11 2022
Jul 9 2022
Jul 6 2022
Jul 4 2022
Jun 30 2022
I am interested in porting {{NoteTA}} and CGroup module from Chinese Wikipedia to translatewiki.net to better support Chinese variant conversion. Both of them are written in Lua because of their size.
Jun 29 2022
Most of translation problems have been fixed now, but it is still problematic when Chinese is not in the top10 area. To fix this some abstraction and cleaning up is needed. See T311361.
Jun 26 2022
Jun 22 2022
@Jdlrobson Does the new ToC use Parsoid? IIRC Parsoid is not able to handle Chinese variant conversion properly now.
For everyone's information, CodeMirror 6 has been stable now:
Jun 11 2022
If we find out it's somewhat complex to implement this completely in the future, can we sync the search keywords only, at least?
Jun 9 2022
Jun 4 2022
Jun 3 2022
May 28 2022
@Jdrewniak Sorry to interrupt, but can I use ES6 features like arrow functions, Promise and fetch() in portals' code?
I have encountered a problem that, there is an asynchronous XHR in topten-localized.js and we must ensure that its execution is completed before that of PerformChineseConversion(), but it is not easy to achieve the effect.
I think the best approach is to convert code in topten-localized.js and page-localized.js to use Promise chains, which are not supported in IE11. Since IE11 has got its special treatment, can we just break support of it and use those modern stuffs? Thanks.