Developer notes
We may need to improve the validation of user options accordingly, to avoid invalid values being saved.
Original description
Steps to replicate the issue
I have no idea how to replicate this issue, it just broke without me changing anything, all scripts were working after my last change to any scripts.
Example links:
- For editor: https://zh.wikipedia.org/w/index.php?title=Wikipedia:沙盒&action=edit
- For IP info: https://zh.wikipedia.org/wiki/Special:Contributions/127.0.0.1
What happens?:
I have been consistently unable to use the 2017 wikitext editor and the IP info tool since yesterday (Jan 10), specifically on Chinese Wikipedia. The editor doesn't load at all, while the IP info tool consistently prompts me to accept the usage guidelines every time I open a new IP contribution special page. Before yesterday these tools worked without issue. I have tried to disable all user scripts (common.js) but had no luck recovering the beta features.
I find that the 2017 wikitext editor still works perfectly fine on all other Wikimedia sites, and only doesn't want to work on Chinese Wikipedia, though I haven't seen reports of other users facing the same issue. By comparing browser console logs, I find no specific warning message of loading failure but one warning message that might be related when loading the editor on Chinese Wikipedia:
ext.popups was loaded but everything is disabled
The same warning appears when I load up an IP contribution page. I'm not sure if this is likely what has broken both tools for me. If anyone can look into it and suggest what could have been wrong, and anything I can do client-wise to fix the issue. Thanks!
Edit (Jan 12):
Trying safemode=1 with both issues doesn't fix anything, issue also persists when using Desktop Mode on my mobile device, so it shouldn't be affected by extensions as I have none on my mobile.
Using debug=true on both 2017 editor and IP info pages give these new warning messages:
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'. Error with Permissions-Policy header: Unrecognized origin: 'intake-analytics.wikimedia.org'.
What should have happened instead?: Normal loading and usage of beta features
Other information:
- Cross-device issue, seems to not be a client problem
- Browser: Microsoft Edge 108.0.1462.54 (Official build) for MacOS & Android
- OS Version: MacOS Monterey (v12.1), MIUI Global 13.0.6 Stable