User talk:Franklin Yu/common.js

From ArchWiki
Latest comment: 9 May 2017 by Kynikos in topic complaint

complaint

User script mechanism in this Wiki is really confusing.

The content is parsed by the server, which can be avoided. Even worse, the server is using an old JavaScript version, which doesn't support template literals or arrow functions, while the error message is very good at misleading users. --Franklin Yu (talk) 05:18, 7 May 2017 (UTC)Reply[reply]

The user-script mechanism in this wiki is the vanilla MediaWiki one, in fact the behavior that you describe also happens on Wikipedia.
This is due to mw:Manual:$wgResourceLoaderValidateJS and mw:ResourceLoader, you can submit a patch to add support for the ES6 specs at Phabricator.
Kynikos (talk) 10:44, 8 May 2017 (UTC)Reply[reply]
Thanks for the pointers. I did a quick search in Phabricator and this seems to describe the same issue, does it? I subscribed to the issue; is there any way to vote for it? --Franklin Yu (talk) 05:06, 9 May 2017 (UTC)Reply[reply]
Yes, that's exactly the issue that you desribed above. I don't think you can vote for a task, but apparently you can award "tokens", which I have absolutely no idea what they are for, and are probably just ignored by the developers... Either you try to actively help with the resolution, or just wait for someone else to do it ^^ — Kynikos (talk) 09:56, 9 May 2017 (UTC)Reply[reply]