[10:07:18] [telegram] are there any Visual Editor javascript wizards here? I need help with how to modify the link annotation widget [13:30:33] [telegram] dontasktoask.com ? [13:52:24] [telegram] heh [13:52:32] [telegram] At least his question is better than "is anyone here?" :P [13:52:55] [telegram] i thought i was avoiding that by specifying what part i need help with 😜 [13:55:23] [telegram] basically, i want to add the prefix of a page (like Wp/xx) to the internal link text box when a user clicks the "add link" button in VE. But i'm struggling to find out what hooks are available to use (seriously, why are javascript hooks in mediawiki so poorly documented?) [17:25:43] [telegram] basic newbie question 😜 is there any example of code in js (I'm using react) to implement a normal login in wikimedia projects (using our general account) [17:28:42] Depends what you want exactly [17:28:42] https://www.mediawiki.org/wiki/API:Login#JavaScript [17:29:01] [telegram] maybe this one https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/716255/10/server/auth.js [17:29:19] [telegram] I'm building an image uploader, and would like it to login to Commons (re @wmtelegram_bot: [irc] Depends what you want exactly) [17:29:52] There's also quite a few libraries that already exist https://www.mediawiki.org/wiki/API:Client_code#JavaScript [17:30:36] [telegram] thanks!