Wikipedia talk:WikiProject JavaScript: Difference between revisions

Content deleted Content added
Line 65:
::::@[[User:SD0001|SD0001]], sounds good :)
::::On another note, I also think it might be useful to make a project on Meta-Wiki where we do this, and additionally can provide warning/xfd/tag definitions in a standard format that can be used across all bots/scripts/tools/etc. It'd make things much easier for everyone just having one standard library that can be installed via NPM, or the raw JSON data that can be fetched/stored locally. It'd also mean Wiki localisation would be so much easier, and all the tools can provide the same templates. What do you think? 🎄🎄 [[User:Ed6767|<span style="font-family:'Roboto',sans-serif;font-weight:300;text-shadow: 2px 2px 10px black;color:black;">Ed</span>]] [[User talk:Ed6767|<span style="color:black;"><strong>talk!</strong></span>]] 🎄🎄 15:48, 17 December 2020 (UTC)
:::::{{re|Ed6767}} That would be a nice thing to aim for. But I'm not sure if that's straightforward as all that data isn't easily represented in JSON form. [https://github.com/wikimedia-gadgets/twinkle/blob/l10n/src/tag-data.ts Here's] the file for tag data. 95% of it is JSON, but it gets tricky to stay within JSON limits for the data on what inputs to ask the user for each tag. – [[User:SD0001|<span style="font-weight: bold; color: green">SD0001</span>]] ([[User talk:SD0001|talk]]) 17:46, 18 December 2020 (UTC)
 
== Proposal to change the user scripts header message ==