[00:24:19] (+ Antifurries one) [00:34:47] [1/2] huh [00:34:47] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1264017628427456555/1721435686567.png?ex=669c57a6&is=669b0626&hm=3891d4fcd4bb7d1c8fb5a61bee55a2de47a1b0f653ed7cfff2e6426e0ea24f18& [00:34:55] it works now but I'm not sure why it did that [00:35:12] Seems like maybe there was a brief connectivity hiccup based on that error. [00:50:11] wheres that [02:09:29] it was on my wiki but it only did that one then worked again [02:53:50] question [02:54:00] and answer [02:54:10] ever since the upgrade a search box I have is showing namespace numbers instead of their names [02:54:20] what's the search box [02:54:44] http://chinafake.miraheze.org/Template:Forum_search_box [02:55:16] good lord that’s a massive embed with zero text [02:55:21] I should probably fix that [02:57:55] can reproduce on public test wiki: https://publictestwiki.com/wiki/User:BlankEclair/Sandbox/inputbox [02:58:31] hmm [02:58:37] sounds like a job for the tech team [02:58:44] https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/InputBox/+/refs/heads/master/includes/InputBox.php#280 [02:58:59] i'll check the issue tracker and will try to reproduce on a local instance [02:59:35] (thumbs up reacted on discord) [03:06:12] fixed in inputbox commit dc5c7852128ec60d62f5d79a3257e1c84824c4f7, miraheze just hasn't updated the extension yet [03:09:14] mh task filed: https://issue-tracker.miraheze.org/T12364 [08:06:55] Can I prevent users from editing my wiki? (And grant the right to edit to certain) [08:07:27] mosqu1toboy: yes, remove the edit right (and probably others) from * and user in managewiki [08:07:46] then add those rights to either a new or existing group [08:39:02] Is there a way to automate page creation using scripts ? I have a database and I want to create a page for each entry, it would be faster to automate it rather than by doing it by hand [08:50:53] awing_ding: you can script something against the api to create pages yeah [08:51:01] [1/2] It seems that the "Fill out the survay" button does not display as a button if there is not a button in the word. It seems to rely on the csses related to inputboxes. [08:51:01] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1264142509341278289/QQ_1721465376097.png?ex=669ccbf4&is=669b7a74&hm=1e9e4774551f62afc61c483f536c456d7203d0afd6a8d9eac3fabb11fdbbac75& [08:52:04] For example, [term of use](https://meta.miraheze.org/wiki/Terms_of_Use) page does not contain a button, and then the "fill out the survey" button is not a button [08:53:40] Is it the same endpoint as the normal editing or is there a particular way to call it for scripting needs ? [08:53:53] awing_ding: yes there's a dedicated scripting api [08:54:25] https://www.mediawiki.org/wiki/Special:MyLanguage/API:Edit [08:55:17] if you want i can share a script i made more or less for this, though there's little documentation [08:56:09] That would be great thank you [08:59:55] awing_ding: https://git.average.name/BlankEclair/misc/src/branch/main/code/mediawiki/mw_bulk_create.py [09:00:16] Thank you [09:21:39] [1/34] ```lua [09:21:39] [2/34] local p = {} [09:21:39] [3/34] -- Stolen from google [09:21:40] [4/34] local function firstToUpper(str) [09:21:40] [5/34] return (str:gsub("^%l", string.upper)) [09:21:40] [6/34] end [09:21:40] [7/34] p.generate = function(frame) [09:21:41] [8/34] local str = "\n" [09:21:41] [9/34] local div = '
' [09:21:41] [10/34] local first = true [09:21:42] [11/34] for name, amount in pairs(frame.args) do [09:21:42] [12/34] amount = tonumber(amount) [09:21:43] [13/34] if name ~= "basefilename" then [09:21:43] [14/34] -- Add the tab and div [09:21:44] [15/34] if first then [09:21:44] [16/34] str = str .. firstToUpper(name) .. "=\n" .. div .. "\n" [09:21:45] [17/34] else [09:21:45] [18/34] str = str .. "\n|-|" .. firstToUpper(name) .. "=\n" .. div .. "\n" [09:21:46] [19/34] end [09:21:46] [20/34] -- Add the images [09:21:47] [21/34] for i = 1, amount do [09:21:47] [22/34] str = str .. "[[File:" .. frame.args.basefilename .. '_' .. name .. i .. ".mp3]]\n" [09:21:47] https://meta.miraheze.org/wiki/File:%22_.._frame.args.basefilename_.._%27_%27_.._name_.._i_.._%22.mp3 [09:21:48] [23/34] end [09:21:48] [24/34] -- Close the div [09:21:49] [25/34] str = str .. "/div" [09:21:49] [26/34] first = false [09:21:50] [27/34] end [09:21:50] [28/34] end [09:21:51] [29/34] str = str .. "\n/tabber" [09:21:51] [30/34] return mw.html.create('div'):wikitext(str):allDone() [09:21:52] [31/34] end [09:21:52] [32/34] return p [09:21:53] [33/34] ``` [09:21:53] [34/34] I've made this lua module in an attempt to automatically generate a tabber for sound effects, but for some reason the tabber won't work (we have the extension on the wiki) [09:21:54] https://cdn.discordapp.com/attachments/407537962553966603/1264150243323416628/image.png?ex=669cd328&is=669b81a8&hm=de568a5363adcb3211dc35c56c01b11b485762651999b007033fb78cdebfeb3f& [09:22:04] I assumed that html:wikitext would work but it doesnt seem to [09:22:09] Please don't paste long stuff [09:22:18] Please just link to it on your wiki [09:22:23] sorry [09:22:26] https://gimkit.wiki/wiki/Module:SfxTabber [09:23:29] if I manually copy the output and add it into the page it all works fine [09:27:46] thelazysquid: https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Scribunto/Lua_reference_manual#frame:preprocess [09:28:06] you'll need to use this instead of contructing ... manually [09:29:03] should I wrap the whole output in that? [09:29:39] remove and from the output then wrap the output with it yeah [09:30:28] you can see an example (of a different tag) here: https://publictestwiki.com/wiki/Module:Slideshow [09:31:24] wait extensionTag or preprocess [09:31:47] oh extensionTag is better [09:32:05] thanks [09:32:10] i somehow conflated the two [09:33:13] yep, it all works! [09:33:21] thanks again [09:33:24] you're welcome ^_^ [09:35:43] someone said tabber got borked on update, is it fixed? [09:36:02] meanwhile, I'm trying to get rid of tabbers lol [09:36:06] It fixed itself after purging the page for me [09:36:10] like, long before update [09:37:38] the tabbers are being really janky for me [09:37:43] especially with the audio [09:37:56] they're just randomly switching between sections that aren't selected [09:38:17] and gaining unneccesary scrollbars or being half cut off [10:32:25] what seems to be throwing these parser func errors? https://meta.miraheze.org/wiki/Fundraiser/Ads/hi [10:34:39] they work fine on the english version [10:46:00] How I can get permission "managewiki-restricted"? [10:46:55] mosqu1toboy: that is restricted for stewards only [10:47:15] i.e. settings that can only be toggled by those with managewiki-restricted can only be changed by stewards [10:48:26] If I created this wiki, am I stewards? [10:48:33] no [10:48:43] you'd be a bureaucrat and administrator, but not a steward [10:49:13] see https://meta.miraheze.org/wiki/Special:MyLanguage/Stewards [10:49:59] I need to submit a request for this permission? [10:50:04] No [10:50:08] not the permission [10:50:10] Thanks [10:50:14] you'll need to submit a request to change the setting you want [10:50:19] You need to ask a steward to make the change [10:50:24] https://meta.miraheze.org/wiki/Steward_requests/Restricted_changes [10:50:24] There is a noticeboard on meta [10:50:51] Okay, I understand [10:50:58] Thanks guys [11:21:53] How do I put Facebook pages on a wiki? Like Twitter, for example? [11:43:36] wdym? [11:47:16] embed? twitter embed is long time broken iirc, haven't seen fb embeds in a looong time [11:48:28] maybe there are js solutions like w/ discord widget, but then idk if fb is whitelisted on mira [11:52:28] nope not whitelisted [12:00:54] question [12:01:20] is it possible to set up the socialprofile extension so the wiki user page shows by default [12:28:39] [1/2] I'd suggest to wait for @originalauthority version, original SP is horrendous all the way around [12:28:39] [2/2] btw good suggestion if it's not implemented as setting yet [12:29:50] my version doesn't have all the silly shit social profile does [12:29:56] it just has the header at present [12:30:06] and the contents of your user page will display below it [12:30:13] oa's version will hopefully become industry standard shortly after creation [12:30:30] meanwhile i'm here like "why do we want social media features in a wiki" [12:30:51] awesome [12:31:49] i don't, i just want the ability to use the blogs and comments extensions (which require SP), and also having a little profile picture and whatnot above your userpage is cool [12:32:09] a refined blogs to go with refined sp would be neat [12:32:37] iirc there were silly inflexibilities/behaviors to the main blog extension and the simple variant cut too much for my taste [12:32:51] yes, and refined comments (make sure they're backwards compatible with the existing blogs and comments though, wouldn't want to lose all that content) [12:32:56] indeed [12:33:52] while i dislike fandom to a considerable extent since my wiki is moving from fandom i wanna make users moving from that wiki feel more at home [12:34:48] as silos go fandom does a pretty fair job sometimes making things guided in a way that the casual admin or user can work with, assuming they get past the ads [12:55:34] On pain of block lock and vanish all use of SP original will be outlawed by the supreme empire [13:09:56] isn't there simple blog extension [13:15:19] Yeah by CA [13:41:06] I wanted to say, like this: [13:41:11] https://cdn.discordapp.com/attachments/407537962553966603/1264215533679546491/Twit.PNG?ex=669d0ff7&is=669bbe77&hm=4dc90edda94ce3142e69f7322cb57add0742cb28e32c7e3a94aa87b807bcf536& [13:41:23] This kind of thing [13:47:50] ARCANE CARCANE ARCANE [13:48:01] Wait [13:48:07] FINAL season???? [13:56:26] Yes [14:02:30] Boooooo [14:02:36] I want more arcaane [14:25:36] Wait november [14:26:09] I can't wait any longer either. [14:35:06] be careful, there was also a ""final session"" in shingeki no kyojin [14:35:16] Which one is that [15:28:15] No, this time, it's really over [15:28:37] But not necessarily the end [15:49:44] Anyway. The notifications in discord shown someone's and not others [15:52:10] Hm, https://meta.miraheze.org/wiki/Special:CreateAccount parser func seems borked [18:42:47] anyone else getting frequently logged out or is it just me [18:49:16] I've been logged out every 1-3 days recently for the past week or so [18:49:38] ive been getting logged out 1-3 times a day for the past week 😭 [19:03:14] What is happening [20:27:41] Can I make the wiki style the same for everyone? (Style: Citizen) [20:38:13] Hello [20:42:07] hi three [20:44:18] I ran into a bug, so this issue is gone. Now the other question is where to throw the error report [21:08:56] You can set Skip Skins in managewiki/preferences to skip everything but citizen [21:15:24] oh look its the gimloader guy [21:15:36] how do you know about that lol [21:16:17] i found your gimkit cheats and i just decided to look into your profile a little while ago [21:16:21] probably around april or so [21:16:39] ah [21:57:41] Its an upstream issue caused by the third party cookie phase out [21:57:55] We can't do anything about it but sit on our hands and wait for the Foundation to fix it [22:04:56] Usually throw errors here if it was a simple bug [22:05:08] Issue tracker for moderate one [22:05:27] Simple one means like 5xx [22:21:27] [1/7] I got some small images on my main page that i use as buttons, i have set there size to 150px as i find it good looking on desktop. [22:21:28] [2/7] But when looking on mobile they are a tiny bit too big and dont adapt the way i want. [22:21:28] [3/7] So is there a EASY way to change the size on mobile but not desktop? [22:21:28] [4/7] '' [22:21:28] [5/7] span class="hover-image"style="margin: 0 10px;">[[File:Roadwork_road_icon.png |150px|link= ]]/span [22:21:29] https://meta.miraheze.org/wiki/File:Roadwork_road_icon.png_ [22:21:29] [6/7] [[File:Roadwork_road_icon.png |150px|link= ]]/span [22:21:29] https://meta.miraheze.org/wiki/File:Roadwork_road_icon.png_ [22:21:29] [7/7] '' [22:22:57] [1/2] Would like these to be 2 X 3, not 1 X 6 [22:22:58] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1264346841487507516/Screenshot_20240721_002203_Firefox.jpg?ex=669d8a41&is=669c38c1&hm=99012d6da2e3836d72625e00819646188fa3aa1713bb46f38ab7fe4f7d29300a& [22:28:23] easiest way? make them 140px [22:30:46] Thats what i expected :p thx tho [22:33:31] Ok [23:01:46] Had to go down to 135, which makes it a bit too small for my liking, gotta investigate some other options i guess [23:09:49] [1/8] depending on if u use .hover-image for anything else, u could do [23:09:49] [2/8] ``` [23:09:50] [3/8] .hover-image img { [23:09:50] [4/8] max-width: 40vw; [23:09:50] [5/8] height:auto; [23:09:51] [6/8] } [23:09:51] [7/8] ``` [23:09:51] [8/8] this makes the image never bigger than 40% the width of the screen (so basically does nothing on desktop, makes it 40% the screen width at most on mobile)