[04:33:22] <.labster> Oh, that's nice, @koreirose 's patch to RemoveRedlinks got merged. [04:34:33] <.labster> I'm curious to try it out on my wikis, since neither of them have unregistered editing [04:42:19] oo [05:06:31] Yeah I noticed [05:12:57] it works [05:13:09] but the hover styling is still a problem [05:13:20] but I guess it's not a big problem [08:31:43] I have not had hover styling issues on my device [08:32:04] Can you show screenshots of the exact problem and describe it better? I'll see if I can replicate and fix it [08:34:31] [1/2] hover styling doesn't work w/o `!important` [08:34:31] [2/2] in my case, softcell.miraheze.org, I changed link color to light blue, but w/o `a:hover { ... !important; }` it keeps default dark blue color on mouse hover/tapping [08:35:03] and thing is that [08:35:35] the hover is kept over disabled red links [08:35:53] i.e. plain white text turns light blue w/ text shadow [08:36:08] when you happen to hover over it, ofc [08:42:20] I'll try to fix it soon [08:42:26] I did not have that happen on Firefox even when hovering [08:42:40] However it might exist in other browsers or skins or be a fluke that it worked [09:05:24] might be a skin issue [09:05:55] I keep link styling in common.css, while both Timeless and Vector are fullybstyled [13:54:05] @originalauthority so what’s the to do list for garda [14:01:25] Also has a small feature idea [14:06:54] If I’m bored I may actually work on your bot lol [14:07:09] [1/2] After I do some light reading [14:07:10] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1221460299928965120/IMG_3094.jpg?ex=6612a88d&is=6600338d&hm=83e85f75c29a8bb2b4fcad69922cf12c144e73db5bebea4fe59fc02dc7860f85& [14:07:28] I love the library [14:08:31] (Also yes yes pixl couch reveal its real) [14:31:38] I got a few changes on my laptop that I haven't merged in yet, but the verification is pretty much done it just needs to add the role when someones verified (the actual verification and exchange of access key for profile info is already done) and then any other wacky features I can think of [14:33:23] was thinking of maybe emojis next to names for who Is to indicate user groups [14:33:38] Like that one fandom JS enhancements [14:34:53] Oooo yeah that would be cool [14:35:14] https://cdn.discordapp.com/attachments/1006789349498699827/1221467367545110610/image0.jpg?ex=6612af22&is=66003a22&hm=f8fd1c713540ac28784242ca2816fd610e27f21cc62c11a5867c22a927eae290& [14:35:28] We could use the icons we briefly used for role icons [14:35:40] https://cdn.discordapp.com/attachments/615786602454581249/1216455430532890664/Screenshot_2024-03-10_at_11.39.31_AM.png?ex=6609ade7&is=65f738e7&hm=a1ffb4e90543ace651fc55ece2ba92b409cee9a7bbc6ec573bf216cf714d47b0& [14:36:16] If it could support global groups also cool [14:36:48] Any other icons would be needed? Prob one for local crats and sysop [14:37:00] also do it only show home and meta wiki? [14:37:06] That’s what it seem like from the code [14:37:18] Wdym? [14:37:43] Looking at the code it seems it only shows those wiki [14:37:51] While nap shows all wikis you have edits on [14:38:09] https://discord.com/channels/407504499280707585/407700799188369430/1221331011690827848 [14:39:20] Ohhh yeah, atm it only shows those because i think thats the data you get from the initial api query, i think you have to do another api query to get the full list of wikis. Which is totally doable. [14:40:11] As a convention, local meta and global groups use the MH logo and local other wiki groups don’t? [14:40:40] For local groups mop for sysop, a wrench for crat maybe, paint for IA? [14:40:48] Yeah, that makes sense [14:41:08] Do we wanna use all custom emojis or use some discord default? [14:41:09] May clash [14:41:16] 🔧 🖌️ [14:42:06] Also since we have icons for mediawiki eng and SRE which do we wanna use for the global sysadmin group [14:42:21] Hmm, I'm not sure. Can you use custom emojis? [14:42:35] Probs sre [14:43:47] Yeah [14:43:56] The Bot don’t even need to be in the same server [14:44:06] If it knows the id it can use them [14:44:21] Hm [14:44:23] Lemme try smt [14:45:00] `:EatChamp:` [14:45:10] Damn it [14:45:15] EatChamp:812802578265931786 [14:45:36] EatChamp:812802578265931786 [14:45:59] I know what I’m doing yes yes [14:46:18] <:EatChamp:812802578265931786> [14:46:27] Drat [14:46:36] I was trying to make the bot send an external emoji [14:46:39] I guess it don’t have perms [14:46:43] shame [14:46:55] worth a shot [14:49:06] pretends that worked [14:50:01] [1/2] Here’s an example. Production Bot uses an emoji from a test server [14:50:01] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1221471085103550484/image0.jpg?ex=6612b298&is=66003d98&hm=3a52deb4a495835ee2eda9eda6a975a95d4b035457f01a6110e15be29e37c672& [14:50:13] Now the bot is in that server but previously it wasn’t and worked fine [14:50:20] mostly* [14:50:37] had some goofy issues with DMs that I still don't understand [14:50:51] is having the Prod bot in a dev server a pain in the ass? yes [14:50:56] it is [14:54:08] * PixDeVl is annoyed with discords confusing functionality [14:54:22] _huh_ [15:12:43] That brings back some memories [15:13:10] I don't have that book but I do have an SQL for beginners one that I still use for reference once in a while [15:13:31] I also grabbed a MySQL/MariaDB one [15:13:48] I go to the library and get like 10 pounds of books [15:13:58] I’ve gotten like 7 novels on one trip [15:14:04] Another one I got like 17 manga [15:14:16] Wait, you guys have a functional library? [15:14:45] mine's not that good, I don't even bother going [15:15:03] Yeah it’s nuts I can check out ~90 books at once I think [15:15:27] And unless someone puts a hold I can keep them for approximately the heat death of the universe [15:15:30] If only they had that at my town's public library... [15:16:49] The exact limit I think it’s it auto renews after 3 weeks [15:16:59] And smt like 10 renews [15:17:19] I have 22 loans rn [15:17:27] Cause lots of short ones [15:17:50] They also in my experience don’t charge late fees [15:18:11] Lmao loan history: 83 [15:18:31] And that’s not including before I enabled tracking loans [15:19:17] There’s some goods ones here i should reread [15:19:28] The Sycthe trilogy was fire [15:20:00] Ah yes my favorite, the minecraft novels lmao [15:20:02] Anyways [15:20:21] I read way too much 😄 [15:20:24] Moving on [15:22:42] i bought that from tiktok shop [15:22:46] still need to read it [15:22:49] arc of sythe? [15:23:37] https://cdn.discordapp.com/attachments/1006789349498699827/1221479541357416569/image0.jpg?ex=6612ba78&is=66004578&hm=4feccb283dd72d0b4e47970c53b73e622cc38239aee8ac6ea9af3015ae66d280& [15:23:42] I personally loved it [15:23:59] Thunderhead and the Toll too [15:24:06] The ending of the Toll was great [15:24:09] No spoilers [15:24:25] I also read the spin off anthology of stories/prequel [15:25:32] yes I've been meaning to read it before the movie comes oput [15:25:37] also speakijng of that php book [15:25:48] the only book on programming I have is a JS one and its so outdated now 😦 [15:42:41] the canned responses are now available to JS code on subpages of Special:RequestWikiQueue! [15:42:59] they can be obtained via `mw.config.get("CreateWikiCannedResponses");` [15:44:17] now I have to put them add some JS code that puts them into a textarea when selected to make them editable... [15:44:29] I forgot there’s a movie [15:44:36] Woooo [15:45:25] in Global.js? [15:45:28] or elsewhere [15:45:48] I should also say that's on the latest version of CW, which I haven't deployed to prod yet [15:46:18] in any JS code that runs on Special:RequestWikiQueue, global works but so does common.js on Meta [15:46:25] Ah [15:46:35] Usually it's a different line, though I could be wrong [15:46:53] `mw.loader.load("//en.wikipedia.org/wiki/User:Enterprisey/diff-permalink.js?action=raw&ctype=text/javascript");` [15:47:05] though is it mw.config.get for this one? [15:47:42] So that function is loading the javascript stored on that external page. [15:47:56] Ahh okay [15:47:57] Useful snippet [15:48:00] I use it myself [15:48:19] What get does in this context is pull from what's locally available, the resources that are natively loaded as part of that page [15:48:36] Ah, my mistake. I see the difference [15:48:38] And OS has now made those available via the JS hooks where they weren't before [15:49:02] Learn something new every day 😄 [15:49:20] (Also, tech folks do feel free to correct me, this is playing closer to the edge of my working knowledge. 😄 ) [15:50:15] what I've done is expose the canned responses as a variable to JavaScript code that runs anywhere on Special:RequestWikiQueue [15:50:38] it doesn't yet do anything useful, but it's a necessary step [15:51:30] Ah, I understand [15:51:47] [1/2] here it is in action [15:51:47] [2/2] https://cdn.discordapp.com/attachments/1006789349498699827/1221486629600886804/image.png?ex=6612c112&is=66004c12&hm=e44e30c6cc4b35230053443f28fde133de22fa5a25f9baac0c50e8ff3d708b57& [17:05:01] hmmm, looks like it will be annoying to do what I want to do via hacking the form [17:05:18] I'll have to prioritize making that API for CW [17:06:12] OS: do we have a designated SSL issue’s professional? [17:06:27] Or any MWE/SRE [17:06:49] I'm an MWE y'know [17:06:51] what is it [17:07:23] I know but the last time I pinged you for SSL you said your the only one without access to the relevant repo xD [17:07:29] #Custom Domain SSL Request -> 404 [17:19:35] Also great novels aside do Garda currently have a #auth-logs? [17:32:59] It does not yet [17:39:48] I can already say the CW API will be based on MW's REST API: https://www.mediawiki.org/wiki/API:REST_API/Extensions [17:40:57] we don't like the Action API 'round these parts [17:42:15] whats the difference again [17:42:45] Action API URL sucks [17:42:59] they look like this: https://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Earth [17:43:05] unreadable mess, right? [17:43:11] That’s what I normally use [17:43:19] Compare that with REST's https://en.wikipedia.org/w/rest.php/v1/page/Earth [17:43:23] I don’t think I’ve ever used REST [17:43:28] ….:. [17:43:35] he is the messiah [17:43:46] well actually [17:43:49] even looks easier to write [17:44:28] with using wrapper APIs to interact with the url parms in python its pretty convenient [17:44:41] its just values of an array/dict [18:17:20] anyways seems simple so i may start with trying to add that [18:22:06] Pixldev: I guarantee you've used the rest api [18:22:18] Given many core features do [18:23:54] Well actually VE no longer does [18:23:59] Well [18:24:14] Kinda [18:24:38] But Visual Editor, Discussion Tools, Visual Diff all rely on the REST API [18:24:54] Anything that relies on an oid [18:25:10] Except parsoid for the last 6 months [18:25:12] Those are not "core features" [18:25:20] Most of mediawiki core uses the action api. [18:25:39] Core to the experience [18:25:44] Not core as in part of core [18:25:56] VisualEditor is something most people have used [18:26:05] That isn't what you said, though. [18:26:14] Ye my bad [18:26:31] Well yeah. I mean as a developer writing my own scripts [18:27:02] Parsoid is soon to be the default parser for reads [18:27:16] But it uses direct access now using php functions [18:27:23] Not calling it via rest.php