[00:22:13] Hi everyone. Sorry if this is not the right channel, I just joined. I am trying to add language box templates from Wikipedia, but they aren't being formatted properly. [00:22:15] https://domuranu.miraheze.org/wiki/Template:Infobox_language [00:22:38] See here. I'm not sure what I'm doing wrong, as they appear normal on other wikis dedicated to worldbuilding. [00:22:57] I tried importing the template from Wikipedia as an XML file in the latest attempt, which you're seeing here [00:30:22] [1/2] Dependencies , with dependencies with dependencies, and lack of CSS for it. Wikipedia infoboxes are WAY too over-engineered and complex for 99% of MH wikis needs. There are very few people, if any, here that are truely able to really navigate them, and know how they truely work. Much better to make your own using the Portable infobox extension (eve [00:30:22] [2/2] n comes with a visual builder for making a simple infobox, but also able to make just about any kind of infobox you need. Documentation is in the 📌 of this channel. [00:31:22] Ah great, thanks for clearing that up! Is there any way I can track down how many pages were created with the XML file import, and delete them? [00:33:57] Best bet would be to go to Special:Log and select Import Log in the first field I think, not 100% sure if there are better ways though [00:48:39] Sounds good, thanks 👍 [04:21:26] I'm having an issue with the https://dev.miraheze.org/wiki/FastDelete script that I made where it inexplicably only loads on ~20% of the pages I visit. This occurs on any wiki in any namespace. [04:21:49] Does anyone know what's causing this? I've reviewed my code and I can't find any issues. There aren't any errors in the browser console. [04:25:27] Cache probably? [04:27:21] Hmm [04:27:22] I see [04:28:20] Upon further inspection this was only happening on amazingyoutubers.miraheze.org and it went away now. [05:03:29] The causes were a mix of caching, a ton of things being loaded in my global.js, and the speeds being slow in onion land. [05:06:20] would be interesting if Miraheze offered a read-only Tor mode [05:06:29] Tor website I mean [05:08:36] Signed-in users are able to edit over Tor, so there could be a sign-in function. [05:08:43] Tor onions are cool. [05:31:16] I really lost track of time making the FastDelete script (it took me a few hours for ~150 lines of code, and I thought it would be much simpler), but it was definitely worth it. This is a huge time save in the long-term, for me and probably for others. [05:31:54] Wasn't it just a modified Fandom script? [05:32:08] It looks similar anyway [05:32:25] I did that one a couple years ago also. [05:38:24] Yes [05:38:28] It is a modified Fandom script. [05:38:43] Copy-pasting it and changing 10 lines of code requires a lot of work :thumbsup: [05:41:48] Lol yeah It can sometimes... the hardest one I ported from Fandom was probably MultiUpload... but I did a ton of mass scripts, like mass categorisation, and a bunch more. A lot of nice scripts I should probably publish lol, but yes, I understand it can be difficult to port some of those... [05:42:46] I thought it would be a lot simpler than it was ngl [06:07:52] https://meta.miraheze.org/wiki/User:Collei/wikibits.js - importArticles port [06:07:53] Not tested yet [06:18:11] No browser console errors (surprisingly) [06:26:31] What even is all that [06:26:39] So much stuff set on window [06:27:29] That is not ideal JS, I don't know how Fandom used it for so many years... [06:28:30] If it ain’t broke don’t fix it I suppose [06:29:28] I'm not sure how you can say that isn't broke, it is broken, maybe not from functionality, but from a technical standards standpoint, yes it is... [06:29:45] (not you, in particular, talking about Fandom) [06:31:24] Could definitely be cleaned up for sure [06:31:51] Definitely yeah... [06:32:06] Some stuff seems to be cross comparability for old browsers, did they not use jquery at the time? [06:32:50] It is ancient code... [06:33:40] Like almost 20 years old I think. [06:35:42] Sheesh [06:37:17] At least parts of it are.... it has been modified since then, but not to much... [06:37:24] I’ve always assumed that jquery was bundled with mw from the beginning [06:39:10] Not actually sure... that code was created when MediaWiki was only 4 years old.. [06:39:30] *3 years old [06:41:50] Interesting, jquery only was included since mw 1.16 [06:43:04] And wow jquery is younger than I thought [06:43:28] Initial release in 2006 [06:43:48] Yep, MW came out in 2002 IIRC [06:43:58] Or was 2003? [06:44:06] or 2004? [06:44:14] I can't remember for sure... [10:32:40] About time the Oversight usergroup was removed and replaced with the Suppress usergroup. [10:34:04] I was going to suggest removing the Oversight usergroup and replacing it with the Suppress usergroup, since most wikifarms nowadays have the Suppress usergroup instead of the Oversight usergroup. [10:34:13] But I guess I don't have to now. [10:35:54] The default technical name was changed in 1.40 [10:36:02] I'm not sure if it's user facing though [10:37:45] Oh. I could have sworn it was much earlier. Since it was on Fandom in 1.37. And I recall running into references relating to the Suppress usergroup that dated from 1.19. Though the Oversight usergroup was the one used by default in 1.19. [10:37:57] Yeah the i18n message needs changing [10:38:12] Nope, the name used in the software only just changed [10:38:35] But Wikimedia suppressed the changes through i18n on Wikimedia messages [10:38:54] We'll need to update i18n messages before 1.40 goes live [10:40:11] There's not anything special about what it's called though [10:40:24] I definitely remember both being referenced in Special:AllMessages since as far back as 1.19. Though the Oversight usergroup was the one that was active at the time. The Oversight usergroup wasn't replaced by the Suppress usergroup until much later. [10:40:25] Apart from the fact we don't allow you to assign or manage it [10:40:41] The actual user rights have always been supress [10:40:51] True. [10:40:58] So Special:AllMessages will have had references [10:42:25] Actually there was an `(oversight)` permission, but it was superseded ages ago. [10:42:55] That wasn't core though [10:43:05] True. [10:43:05] Oversight pre core I don't care about [10:44:17] [1/2] Ah yep, there was a predecessor to `(suppressrevision` named `(hiderevision)`. [10:44:18] [2/2] [12:50:30] [1/2] https://backrooms.miraheze.org/wiki/Help:Gadget-HotCat [12:50:30] [2/2] oh yeah i made this [12:52:11] No you didn't [12:52:23] HotCat is one of the most popular Wikimedia gadgets there is [13:05:48] Fooling no one lmao [13:14:50] if you use a screenshot of a movie/series/whatever, that would be fair use. if you're editing it to make it look nicer (like removing video artefacts or editing together frames to create a cleaner picture), do you have to use another license or is that still fair use? [13:16:58] [1/2] I consider it's still fair use, because I'm not an author, but I edit sleeve/cover images a lot since the quality and shape is poor in mist cases [13:16:58] [2/2] however I don't know about screenshots [13:17:23] of videos [13:25:21] aha, I guess it'll be okay then [14:49:20] no i made tha help page [14:49:36] i meant to say i made tghe help page :p [16:35:54] https://meta.miraheze.org/wiki/User:Collei/wikibits.js is working - now it's possible to use importArticles just like on Fandom. [16:43:01] Going to be making this soon: https://github.com/thecutefinder/fandom-js-port [17:08:59] what it does again? [17:13:12] on related note, oh boy, that node.js script works ... but I only now realized the wiki in question has over 2k files ... [17:51:07] [1/3] Can someone familiar with Extension:OAuth let me know if it's intentional that I can still refresh new access tokens after disappointing the consumer for my account? [17:51:07] [2/3] The access tokens don't work, but the error code is the same as expired access token so I'm having trouble handling that correctly. [17:51:08] [3/3] I feel like instead of getting new access tokens I should get an error at that request. [18:00:12] I'm surprised removing a consumer from my account invalidates all access tokens, but not the refresh tokens [18:21:43] A wiki for a game usually have lots of assets to upload [18:27:11] Can I advertise admin hiring here? [18:28:36] https://meta.miraheze.org/wiki/Community_noticeboard [18:47:11] yeah, and I uploaded 90% of it, I just didn't realize it was THAT MUCH before [21:31:09] [1/2] I filed T336113 for this weird behavior [21:31:09] [2/2] !wiki mw:phab:T336113 [21:31:11] [1/2] Open: Revoking authorization of OAuth2 consumer does not invalidate refresh tokens [21:31:11] [2/2]