My initial idea was indeed some extra buttons on an existing wiki page, but that's not set in stone. I assumed just adding some buttons would be easier, but from what you say, maybe not? 

And per Travis's note, yeah, I grew up with jQuery, but I gather it's a bit old-school there's days. 

On Aug 8, 2024 13:18, Aoyan Sarkar <sarkarao...@gmail.com> wrote:
Just wanted to know, is this like a separate standalone page or do you want to make it into a Gadget (like Twinkle)? If it’s standalone you can use Vue or React or any other front end framework, but if you want to make it as a Gadget you’re going to have to do a bit more work to make it work. Especially if you want to be like Twinkle and add extra buttons to the existing UI.


On Thu, Aug 8, 2024 at 1:14 PM Travis Briggs <audiod...@gmail.com> wrote:
Vue.js is definitely a good option. I already had a lot of _javascript_ experience, but I learned Vue at someone's recommendation for a wikimedia project and it was a great experience.

One quick tip that might help you: in the "old world" you might use jQuery or something to do AJAX requests (XHR). However, in modern browsers, the built-in `fetch` function is more than adequate for almost everything.

Also, I would highly recommend using create-vue to bootstrap your project, because it sets up all the complicated _javascript_ "compilation" steps for you, and gives you commands so that you can just do "npm run build" and get a static site in a single directory.

Good luck!
-Travis

On Thu, Aug 8, 2024 at 8:36 AM Kimmo Virtanen <kimmo.virta...@gmail.com> wrote:
Hi,

Vue.js is afaik current choice.

-- Kimmo

On Thu, Aug 8, 2024 at 6:34 PM Roy Smith <r...@panix.com> wrote:
I'm about to embark on building a client-side _javascript_ tool intended to help with enwiki's [[WP:DYK]] process.  JS is not my strength (and what I do know about tooling is quite outdated) so I'm looking for advice on what's in common use in the WMF environment these days.  If I'm going to learn some new tools, I figure I might as well learn what folks here are using.  If only because it'll make it easier for me to mooch on other people for help :-)

As far as testing goes, I used to use JUnit.  I gather that's pretty old-hat by now.  What are you-all using?

And for app frameworks.  Angular?  React?  I hear Vie might be the new hotness?  I'm leaning more towards "easy to learn" vs "most powerful".
_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/
_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to