[02:22:16] [1/2] does anyone know how you would get this image previewer like the one on wikipedia? [02:22:17] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1197002923503255552/image.png?ex=65b9aed8&is=65a739d8&hm=d56ca9755144ed8ea691d5c2621e4f20c0b7a15c0f77b80abe00b662f5bf9442& [03:56:12] its one of the extensions [03:56:27] :ThinkerMH: [03:56:41] i think its called image loader or something idk [03:57:53] found it and it was calle media viewer [04:00:34] i havent been able to log in for a while and my wiki has gotten the inactive banner :/ I'm not going to be able to log in for a while because i'm busy with uni assignments. anything i can do? [04:03:45] wikis are typically not deleted for at least 6 months [04:04:02] in fact, before last week, last time we deleted wikis was in November 2022 [05:21:22] [1/2] stub templates on fandom rarely use mbox or modules [05:21:22] [2/2] it might be done as table even [05:21:45] but seems like lack of styling on your side [05:22:09] Tables do make for good infoboxes [05:22:16] oh, absolutely [05:23:10] they are just scary when you open source code lol [05:24:12] I suggested PTW to use tables on article management templates, they were simple at first, but SKL implemented fancy styling [09:18:32] yeah, i didnt write this template so im not sure what the reasoning behind using mbox [13:52:09] ^^ i recently made a table infobox on Fandom and, when in the support forum, instead of answering a question I had, people just,,,, acted shocked and disturbed that i was using a table, and like I'd never heard of how superior and easy portable infoboxes are SFDSFGFD??? [13:52:33] bro it's not about being easy it's about the aesthetic and being supremely autistic [13:57:44] Amen [13:58:06] I personally believe PI is one of the best things to come out of fandom but hey [13:58:31] I respect one who stands against the bourgeoisie \j [13:58:41] Unless said establishment is me [14:00:40] SDFDSFDSI do use PI pretty often, because it does make infoboxes a lot easier, but sometimes u wanna stretch ur skills and make something more custom [14:00:57] Totally und [14:01:01] [1/3] I initially made PI infoboxes on Fandom, and actually managed to make them look the way I wanted, w/ neon and little borders, and I used themes there [14:01:01] [2/3] but when I joined Mira, for some reason, themes refused to work [14:01:01] [3/3] so I just went and recreated them as tables, then I was told about TemplateStyles [14:01:47] Legroom are you still being bullied by 2FA lol? [14:01:58] nah I installed it [14:02:05] had to go w/ google tho [14:02:09] Cool lol [14:02:44] I don’t think you need it now so ha [14:02:58] wdym lmao [14:03:26] I think someone removed the thread perms from MWTSV, that or my discord is having a stroke [15:45:41] [1/3] does anyone know how I can do this for image previews? [15:45:42] [2/3] https://jojowiki.com/All-Star_Battle [15:45:42] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1197205110334423070/image.png?ex=65ba6b25&is=65a7f625&hm=f16e18b1684282e487834dcad079b2cd3f4648278703302b3a2c407e0ed17450& [15:46:49] [1/2] if it's any useful hint, `TB` is mentioned a lot [15:46:49] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1197205393974239312/image.png?ex=65ba6b68&is=65a7f668&hm=31606bff99a798b13b6e890f034bacf8686899e7ce88820e6ed4d331ad340776& [15:48:02] i'm not noticing anything on the wiki's `Common.js` pages [15:48:51] nor `Common.css` [15:48:57] so i'm assuming it's an extension of sorts [15:55:15] [1/2] check version page, maybe there's something [15:55:15] [2/2] but I feel like one might heavily modify mediaviewer [15:56:14] Hey so I uploaded an image on my wiki but it don't appear and when I click on it it send me on a page "unauthorized", what did we do wrong ? [15:58:15] [1/2] how do i enable this [15:58:15] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1197208272390868995/image.png?ex=65ba6e17&is=65a7f917&hm=b5c3fdb71d858374a086827c2ca5cb3609bdabe2d9e1d4806ce7311167744366& [15:58:17] can't find the permission [15:59:54] it is called `managewiki-``restricted` for a reason [16:00:00] it's only available to Stewards [16:00:09] You can file a request at [[Steward requests]] to get it enabled [16:00:09] https://meta.miraheze.org/wiki/Steward_requests [16:00:10] [16:00:32] ah. [16:00:50] had a scroll through, but couldn't find anything on Special:Version [16:01:47] [1/4] https://jojowiki.com/MediaWiki:Gadget-Thickbox [16:01:48] [2/4] https://jojowiki.com/MediaWiki:Gadget-Thickbox.css [16:01:48] [3/4] https://jojowiki.com/MediaWiki:Gadget-Thickbox.js [16:01:48] [4/4] I don't know how gadgets work but maybe this helps? [16:03:10] there are problems w/ files because of old hardware the file system is currently on, it will be migrated to new servers soon and thing shall get better [16:03:12] oh that does seem to be it [16:03:17] no idea what gadgets are though [16:03:39] js scripts which can be turned on/off in user preferences [16:03:43] roughly speaking [16:03:52] they are just very complex [16:03:56] so i can just create a Gadget page and be good to go? [16:04:24] I think 3 pages have to be created for a gadget? [16:04:38] you gotta follow instructions [16:05:08] took me a long time but I finally made an infobox template [16:09:44] agent, I think you archived some unresolved reports [16:09:56] https://phabricator.miraheze.org/T11690 :salute: [16:10:35] you didn't have to create phab task lol [16:10:52] idk i just followed the instructions i saw [16:11:14] [[Steward requests#Restricted setting change requests]] [16:11:14] https://meta.miraheze.org/wiki/Steward_requests#Restricted_setting_change_requests [16:11:15] [16:13:03] mwop mwop [16:13:56] Okay thanks [16:18:22] https://cdn.discordapp.com/attachments/407537962553966603/1197213332277579816/image.png?ex=65ba72cd&is=65a7fdcd&hm=d2900932627e519a6e9f9814cf41999f454da35637cf0b74c2756c2792827e74& [16:18:50] You don't get ManageWiki-restricted [16:19:11] Stewards will make the change for you after checking its its appropriate [16:19:22] oh okay [16:19:28] why is this one gatekept anyway [16:19:57] it allows you to do insane stuff like enable Semantic MediaWiki without running the install script for it [16:20:02] breaking your wiki [16:20:16] so that's mostly why only Stewards have it [16:20:39] yeah, if something is restricted there's a good reason for that ... [16:21:18] not the permission [16:21:23] i mean the extension [16:21:27] why does it require that permission [16:22:02] what orange star said? [16:22:22] can anyone mark FAQ for translation, I've updated CN/SN links [16:22:29] actually I don't know why that extension specifically [16:22:29] *please, thanks [16:22:33] I'll try to check [16:25:13] It was made a restricted extension in https://github.com/miraheze/mw-config/commit/408b3c0ecf977ff572172cccabb5250accec60c4 [16:25:49] feels like talking to some hidden council when the bot messages [16:25:53] No reasoning was given in the commit message for it [16:26:38] iirc it will leave wikis without the ability to edit pages if the page is too big/has too many links [16:28:29] how so? [16:36:37] Well, the extension has to query the DB to figure out which of the extensions in the page already exist: https://github.com/wikimedia/mediawiki-extensions-AutoCreateCategoryPages/blob/5509cc87db1f716511e5f66585ae957d73b5510e/src/AutoCreateCategoryPages.php#L61 [16:37:05] So that already adds some latency [16:37:23] Then it loops over ALL the new categories that need creating: https://github.com/wikimedia/mediawiki-extensions-AutoCreateCategoryPages/blob/5509cc87db1f716511e5f66585ae957d73b5510e/src/AutoCreateCategoryPages.php#L66 [16:38:03] Every time you create a category the extension has to write to the DB [16:38:24] have enough extensions that need creating and I could see how it could go wrong [16:38:38] extensions -> categories [16:39:34] there's also hotcat gadget [16:39:58] which lets you to add/remove/change categories w/o entering editor [16:40:03] Auto Create Cat can go very wrong and be very hard to cleanup unless you've checked you're happy with the config before it's enabled [16:41:50] also by "you" I meant the extension [17:26:55] Orange_Star: mediawiki has a sort of concept of other wikis [17:27:09] But I'm not sure how the logging code works [17:27:10] really? [17:27:24] You can do database stuff on foreign wikis [17:27:29] CentralAuth does that [17:27:34] Orange_Star: it's shit [17:27:36] CentralAuth :( [17:28:06] Orange_Star: central auth has a special place [17:28:20] It's just a bit far down in hell [17:28:31] Not the farthest layer though [17:28:57] I mean something other than just manually opening the database and writing to the log tables, which, sure, it works but... [17:29:15] The logging code may have it [17:29:18] which is what I guess CA is doing [17:29:22] Amir would likely know [17:30:50] Ask in #mediawiki [17:38:15] Well turns out Reception wants the log to be on Meta aka RequestSSLCentralWiki [17:38:20] so that makes it much easier [17:41:45] it's copypaste time >:) [17:53:02] Orange_Star: I did a lot of stuff with ImportDump when creating it, it's the most modern extension we have I think, and RequestSSL is based on it, but could take a look at it and get some more ideas if you want? [17:58:01] heh, by based on you mean copy/pasted 98% 😄 [18:31:23] https://cdn.discordapp.com/attachments/407537962553966603/1197246805256175718/8co472.jpg?ex=65ba91fa&is=65a81cfa&hm=2ed6022f9041c9c8100ca490d51182fdc67597b7438ad74e823bf41d2bfe902f& [18:37:28] Here it is after much jumping around the ManageWiki source code: https://github.com/Reception123/RequestSSL/pull/5 [18:37:49] I don't think I missed anything but I'll take a look tomorrow anyway (CI when reception??) [18:38:02] CosmicAlpha: Isn't ImportDump basically a finished extension? [18:38:35] Also it will get merge conflict'd later but that's a problem for future me [18:40:25] Are the servers stable enough to upload some pictures now [18:41:00] Yeah that should be fine [18:41:05] [1/2] Also cab somebody show me how to update an image summary [18:41:05] [2/2] I forgot to put the copyright on some images I updated to a different wiki [18:41:12] Orange_Star: Thanks! I'm testing your status change now and if that works will go to logging [18:49:41] Orange_Star: yes, it is, but I still need to finish full automation and chunking for it with job, etc... [18:57:33] honestly I'm not sold on automating it being a good idea [18:57:58] the import script was never meant to process untrusted data I think? [18:58:35] let's go to #miraheze-tech, these conversations have no purpose being here oops [19:08:11] Seems to be a bit of a backlog on Extension requests on [[SN]] [19:08:11] https://meta.miraheze.org/wiki/SN [19:08:11] [19:08:35] Like Late Sept backlog [19:49:19] <.labster> I'm starting to wonder if I should require a hyperlink to open a support request. [19:49:38] Hm? [19:50:31] Is there not like a template post thing? [19:50:50] To force people to add a link to their wiki [19:52:32] <.labster, replying to rhinosf1> this guy gets it [19:53:16] what if wiki private [19:53:48] Why can't you post the url [19:53:59] We can't help if we don't know the wiki for a lot of issues [19:54:07] we had cases when people simply don't want to reveal wikis [19:54:09] The existence of a wiki at that domain isn't private [19:54:28] for whatever reason [19:57:26] Ain’t it on [[Special:RequestWikiQueue]]? [19:57:26] https://meta.miraheze.org/wiki/Special:RequestWikiQueue [19:57:27] [19:57:39] <.labster> I just changed the post guidelines description to suggest that they post a link [19:59:11] I meant when users ask for help here [19:59:36] sometimes they refuse to auth (tie discord and mira accounts) and link the wiki they are working on [20:00:21] Oh I was thinking of AN and SN [20:01:19] Could lock it to the auth role [20:01:21] But eh [20:01:51] I did think about making some channels unavailable unless you're authed in, primarily to reduce the vector of spam and raiding [20:02:19] <.labster> Probably just shoutwiki folks looking for help from anywhere [20:02:42] I wish ShoutWiki had a Discord [20:02:45] leave only general and offtopic? [20:02:48] but they just have a small idle IRC channel [20:02:53] that's the idea [20:03:03] sounds like a good idea to me [20:03:10] it don’t tell you what the role is I hate this https://discord.com/channels/407504499280707585/786615849921675294/1197266893657083964 [20:03:12] It hirts [20:03:27] we had some indie wiki folks asking for help couple of times lol [21:20:23] are y'all still experiencing issues with images? cuz im looking at other wikis and all their images seem to work fine, but the wiki i'm working on still receives errors whenever I upload and all its images are dead [21:22:27] <.labster> No, everything is fine for images for me. (Of course the wiki is constantly losing my login and session data, but that's a different problem) [21:22:49] <.labster> @plantt which wiki are you talking about? [21:23:56] is there a problem rn with losing auth cookies? [21:24:10] not myself specifically but some of my editors have reported problems [21:24:27] I hope they find my session data soon, i was using that :P [21:24:50] <.labster> From what I understand auth and session data is going to be a consistent problem until we move to the new servers [21:26:09] ^ [21:27:24] well for some reason i am not allowed to link to it, but its kar miraheze org with periods inbetween those spaces [21:27:58] <.labster, replying to plantt> type `/auth` to link your Miraheze account to post links [21:29:25] [1/2] https://kar.miraheze.org/wiki/Main_Page [21:29:25] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1197291606219436153/Capture.PNG?ex=65babbb3&is=65a846b3&hm=332f800df846b9cef4c918d516d0ba4fd63971eb586244dc08ed642eff5df72f& [21:29:42] <.labster> Yeah they're returning 401 unauthorized, that's broken. [21:30:31] is there anything i can do about it or should i just wait it out? [21:30:50] <.labster> Probably waiting means you will never have images. [21:31:56] Is it a new wiki? [21:32:15] a couple days old, but i could upload stuff on the first day [21:32:27] probably due to the Swift outage [21:33:25] <.labster> But Swift is working now, yes? So either the images are missing, or permissions are wrong. [21:33:44] I'm running setContainersAccess now [21:33:59] Yeah but we restored Swift from a backup I think [21:34:05] so some data may be wrong [22:09:15] Uh, im not exactly sure what y'all did, but unless it normally takes more than 30 minutes to go into action, i don't think it worked [22:13:51] <.labster> @agentisai ^ should I open a phabricator ticket? [22:17:35] You could but the script is still running [22:17:40] I'm guessing setContainersAccess might fix it [22:17:46] It does [22:17:56] especially if your wiki starts with a letter farther down the alphabet [22:19:40] ᵒʰ ᵒᵏ ᶦ ʷᵃˢ ⁿᵒᵗ ᵉˣᵖᵉᶜᵗᶦⁿᵍ ᵗʰᵃᵗ [22:20:15] It's not that far down, I'm wondering if we've had a repeat of the previous thing where setContainersAccess.php won't fix it properly. I'll have to look for my fix script though [22:20:33] If it is [22:31:54] It's barely on 'ar' [22:32:11] It's running from mwtask181 because mwtask141 has some issues with mwscript [22:43:35] got scared for a second and thought it said "both gore" [22:43:57] like if swift had got hacked [22:44:21] yeah that aint flying on a kirby wiki [22:46:01] I see it lol [22:46:28] [1/2] Wait [22:46:28] [2/2] I can't use fair use on my wiki? [22:49:58] miraheze is headquartered in the UK im pretty sure, so all their wikis need to adhere to british copyright law. the UK doesnt have fair use written into their copyright law. instead, they have a slightly different fair dealing system. you can read up on it here: https://en.wikipedia.org/wiki/Fair_dealing_in_United_Kingdom_law [22:50:45] So I can't use US copyright laws on my wiki [22:50:59] Cuz I'm working on licenses for files [22:51:11] Actually not anymore [22:51:31] Wait [22:51:36] actually maybe??? [22:51:58] As of January 6th Miraheze is controlled by the WikiTide Foundation [22:52:02] A US non profit [22:52:09] but some servers are still in the UK [22:52:20] Uuuuuuuh [22:52:22] where in the world is miraheze sandiago [22:52:59] It's controlled by a US-based company [22:53:00] void Are we still governed by Brit’ish copyright law until all the servers move? [22:53:01] [1/2] I mean [22:53:01] [2/2] Can I saw that it's under US laws because the material is made in the US? [22:53:07] Got it, if you start seeing any failures in the output though, let me know so I can find my script that fixes it. [22:53:31] No, it’s juristiction of the website [22:53:40] Where the servers are [22:55:10] [1/2] I mean my work is CC BY-SA 4.0 [22:55:11] [2/2] I just need the equivalent of that [22:55:44] Curse the bri'ish [22:56:03] pretty sure creative commons isnt local to single country [22:56:19] So I can just use creative commons for copyright license for my wiki [22:57:15] [1/2] i think it does it by default on mirahese cuz they put one of these on the bottom of every page [22:57:15] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1197313716828508220/image.png?ex=65bad04b&is=65a85b4b&hm=5c5aa02c5d2b4c657353f2a73aee3ec0bd2cbe36982afb52eab3dd4057f5c500& [22:58:25] I mean when you have to put a license when uploading a file [23:41:07] <.labster> My understanding is that both UK and US law apply to Miraheze currently, which means that copyvio is only allowed if it conforms to both fair use and fair dealing [23:43:26] Hm, would it depend on what database server the wiki text and images are hosted on? [23:43:31] if you wanna get lawyer [23:44:46] <.labster> We are a US company doing business from the UK [23:45:29] <.labster> Both of those things normally grant jurisdiction.