Wikipedia talk:WikiProject JavaScript: Difference between revisions

Content deleted Content added
Line 60:
::::They're finally converting JSDuck to JSDoc? 🎉 Finally! It's a bit disappointing that the Babel idea was shot down, though. It would have provided a universally better experience for writing user scripts. <span style="background:#ffff00;color:#00159c;">'''''[[User:Chlod|Chlod]]'''''</span>&nbsp;<small style="font-size:calc(1em - 2pt)">([[User talk:Chlod|say&nbsp;hi!]])</small> 18:11, 13 December 2020 (UTC)
:::I wrote about the issue on [[Wikipedia:Village pump (technical)#Proper ECMAScript support|Wikipedia:Village pump (technical)#Proper ECMAScript support]], and there are discussions ongoing {{phab|T75714}}. Some people are so afraid of new technology, to quote from an issue written just a few days ago: ''"JS is a hazard and was a mistake."''. For me there is just no way I can justify the amount of work and time needed to produce even the smallest thing. It's really a shame because I think this is a major hindrance for the loads of skilled JS/ES/TS devs who regularly contribute to OSS projects that may be interested in contributing here... [[User:SkSlick|SkSlick]] ([[User talk:SkSlick|talk]]) 20:57, 13 December 2020 (UTC)
 
:::And see [https://github.com/azatoth/twinkle/pull/1220 here] for a spirited discussion on upgrading Twinkle to use TypeScript as part of a rewrite for localizability (spoiler: it doesn't seem to be going well).
:::{{re|Chlod}} Actually just a few weeks ago I too started out writing a [https://github.com/siddharthvp/twinkle/blob/xfd-rewritten/types/mediawiki.d.ts mediawiki.d.ts file]. It seems my raw coverage is greater, but I have put in just the types and not doc-comments. Can we please collaborate on this so that the same definitions can be used across Twinkle and Redwarn and hopefully, many more scripts/gadgets to come? Open to setting up a separate repo for this that can be published to npm. – [[User:SD0001|<span style="font-weight: bold; color: green">SD0001</span>]] ([[User talk:SD0001|talk]]) 14:47, 17 December 2020 (UTC)