[02:07:34] why did nobody tell me the server finally got a tag [02:07:41] smh [02:35:34] I'm currently trying to make my articles where each page, in the lead section, contains an infobox and a quotation line. I'm trying to make it so that on mobile devices, the quotation line would go before the first paragraph before the infobox, as Wikipedia does, but I've so far been unable to find a solution. [02:43:05] [1/3] hello [02:43:05] [2/3] so i have a switch case for loading certain values based on the date; though from what I understand this date is based on `$wgLocaltimezone` but i'd like it to be based on the user's. is there a way to make it so? [02:43:06] [3/3] [switch case code here](https://pastebin.com/zmju1CAU) [03:08:27] my current thought is using the output from the [TimezoneConverter]() extension somehow, and using the resulting string as the case [03:34:21] [1/4] I'm having problems with this wiki I own. The VisualEditor suddenly broke yesterday and despite it being enabled in ManageWiki and the preferences, it still only shows source editing. What can I do to fix this? [03:34:21] [2/4] https://cdn.discordapp.com/attachments/407537962553966603/1417715271141036073/BfGYOsW.png?ex=68cb7dbc&is=68ca2c3c&hm=341de913a84111f7554a2eb969b148d4b1c9ca47f3d786a704b1d48d6d4bc303& [03:34:21] [3/4] https://cdn.discordapp.com/attachments/407537962553966603/1417715271480639538/a6Anszw.png?ex=68cb7dbc&is=68ca2c3c&hm=cd42355e88154df1163e9343d6987a73652e77951f31e3349443c64400b8e9bc& [03:34:22] [4/4] https://cdn.discordapp.com/attachments/407537962553966603/1417715271812255825/N76vNUB.png?ex=68cb7dbc&is=68ca2c3c&hm=83c91380963d5bedca78fec3dd366cb76467669c151c1c6501823e119f8efb94& [03:42:31] I can use the visual editor on your wiki. What happens if you append `?veaction=edit` to a page's url? E.g. https://allthingsemulation.miraheze.org/wiki/Nintendo_Wii_emulators?veaction=edit [03:43:17] [1/2] It just gives me the normal page, not the visual editor. [03:43:17] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417717520085024808/N4h7PSl.png?ex=68cb7fd4&is=68ca2e54&hm=1c946cd3597264ed03dd0771611a339179765e4d0daf0ee2b28e341ec556aae1& [03:44:52] [1/2] It shows both Visual and Source on my phone though [03:44:53] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417717921014091932/IMG_1450.png?ex=68cb8034&is=68ca2eb4&hm=60948f7cff42e30997ed861e21f709f1ce207e9988d0bf5d8c71d7fd4747268d& [03:51:43] [1/2] The visual editor works fine there, must be a cache issue on my desktop PC [03:51:43] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417719643870859376/IMG_1451.png?ex=68cb81cf&is=68ca304f&hm=0b0a6df62304fdf400079710b1848f3d9565d4aeaf74781bd4dbeec4c87e4a7a& [04:28:02] I cleared my whole browser cache and cookies for my wiki and the issue is fixed now. [05:12:22] here: https://xyy.miraheze.org/wiki/Special:BrokenRedirects [05:12:50] it's refreshed recently but still unresolved [05:13:35] and this is quite interesting [05:13:48] i've totally no idea [05:24:31] I can take a look tomorrow and see if i can find anything. [06:41:27] Open a support thread [07:28:57] rename the page special:cursedredirects [12:09:46] <90gq29> [1/2] Anyone else experiencing this issue? [12:09:46] <90gq29> [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417844981678215219/r68j6n9.png?ex=68cbf689&is=68caa509&hm=7031b7e0784c32bdfd03bc2737e89b803caa6558740812f6db6ca8265afe91be& [12:09:52] <90gq29> semanticmediawiki displays twice [12:10:23] did they fucking [12:10:25] Which wiki? [12:10:35] SMW probably changed the array key [12:10:37] or sth like that [12:10:46] if they did that im killing them i swear [12:10:50] dibs on that PR [12:11:37] https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/6dd90911d6cfba80a6d2137f6a80e58ffdb4577f [12:11:39] @pskyechology [12:11:58] ALISTAIR WHYYYYYYYYYYYY [12:12:08] :( [12:12:22] i'm grabbing my heat-seeking sandal [12:12:58] <90gq29, replying to abaddriverlol> gg [12:13:24] <90gq29> im guessing this affects all wikis running smw then? [12:13:32] [1/2] they moved it into a separate SMW-only section... why [12:13:32] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417845927724585025/image.png?ex=68cbf76b&is=68caa5eb&hm=f5d7484afcb6a8d1781cbaf48dfba0d614843fbe8d6e6c69fb36e51132a9ff8b& [12:13:37] yeah but it's not hard to fix [12:14:56] to bully us idk, i literally cant think of a good reason to do this [12:15:04] it just breaks existing settings [12:15:09] also don't forget to add the new class to the existing icons in PR [12:15:57] [1/2] well to them it's not a breaking change [12:15:57] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417846537878241353/image.png?ex=68cbf7fc&is=68caa67c&hm=8c18b9a673c8f9f0116a819f416e559fa6e4a995ed3b0d237cb01cdefc7b556c& [12:16:18] professional wiki 🤬 [12:17:23] [1/2] that's exactly what it was gonna be [12:17:24] [2/2] and if im not blind they're literally the only ones who have customized it lol [12:17:38] oh lol [12:22:35] [1/2] oh nvm i misunderstood [12:22:35] [2/2] yeah I added the class too [12:22:56] ...why does it need one? [12:23:08] oh right the spacing [12:23:16] it's giving skill issue honestly [12:23:23] no [12:23:35] they achieved that by putting the icon in a separate section [12:23:43] i actually don't know why [12:23:59] https://cdn.discordapp.com/attachments/407537962553966603/1417848558211567737/image.png?ex=68cbf9de&is=68caa85e&hm=dd181747d9e35cbf226a73495a28fee0b93a5d735730df81d1584398ea783bc4& [12:24:13] i think i am growing increasingly violent [12:24:24] /lh [12:24:28] [12:25:12] ok it's 6 years old so we can forget finding out why [12:25:19] yep [12:27:30] would be hilarious if some guy did it just to have that class on their local wiki [12:27:56] hmm yes today I will make a change to one of the biggest MW extensions just for a class [12:28:58] anyway I lied and pushed to main 😈 [12:29:57] fixed [12:34:18] @pskyechology (they're probably not gonna merge it but idc) [12:35:04] luckily we can play the paladox card here if we need to [12:35:10] we love paladox <3 [12:35:55] he mainly has push access to fix CI [12:36:30] Otherwise I would've pushed like 20 security commits to the SemanticMediaWiki org already [12:36:31] aw damn [12:36:33] LMAO [12:37:16] if we're getting semantic about it, they're just security oopsies :3 [12:37:39] lol [12:56:52] Sigh [12:57:51] ["poweredbysmw"]["semanticmediawiki"] makes sense lol [12:58:37] they had to be a bit extra [13:20:29] [1/2] is it intentional that fisch wiki looks like this on 1105px? MediaWiki:Timeless.css applies a lot of styling to max-width and min-width 1119px, but timeless itself applies styling to min-/max-width 1100px [13:20:30] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417862773148483657/image.png?ex=68cc071b&is=68cab59b&hm=2b0ed901aee0c559a1340fbbfe9d9738510ba2b1855d273959cff46c22305a76& [13:22:32] @snowfleaf ^ what have you done [13:22:52] I'm going to cry [13:23:38] no it's timeless moment [13:23:45] there's like [13:23:59] timeless looks stressfull to even edit css [13:24:20] hard to pin point the exact res of layout changes lol [13:24:47] thing is normally devices and screens don't get to these delicate res ranges [13:24:49] I feel like 90% of Timeless CSS has been easy but there's some specific things I couldn't find out without cribbing code frm other wikis. [13:25:04] you only notice that in windowed mode on pc/paptop [13:25:20] we need timeless with citizen flexibility [13:25:30] :tt_sweat: [13:26:15] i say, it's not critical [13:26:30] how annoying is editing timeless on a rate of one to tem [13:26:44] 5 [13:26:48] if you want timeless dark mode then good luck [13:26:58] lol [13:27:19] it's annoying after mw updates [13:27:37] otherwise, you can get used [13:27:45] god it's gonna be hell to make it work for every screen size isn't it [13:27:57] or carefully modify what others done already [13:28:09] I think you can just change the widths to 1100px and be done with it [13:28:25] yep just did that [13:28:28] hope it works... :blue_pray_pls: [13:28:35] wait it's that easy [13:28:39] Just remove css, html is enough :CursedSmile: [13:28:41] I only noticed because I was blatantly stealing fischipedia's css for timeless on the battle cats wiki [13:28:49] 👀 [13:29:09] DarkMode SUCKS [13:29:23] who said it's even good [13:29:34] vector 2022 and citizen have the only good dark modes [13:29:44] because they don't use DarkMode [13:29:56] i miss themetoggle on citizen ngl [13:31:24] did it work [13:31:42] girl idk [13:32:10] [1/2] still looks like this on exactly 1100 [13:32:10] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417865717604290570/image.png?ex=68cc09d9&is=68cab859&hm=a157301dba51fcd88ff893ad4246bb3f1d4e239647e618168ea99bbc809f3c03& [13:33:41] looking at bc wiki, replacing max-width:1100px with max-width:1099px seems to be fine [13:33:46] timeless try not to be annoying [13:37:09] I think it's just media queries being sensitive tbh [13:37:12] you guys don't usually look at sites at 1100px [13:38:07] single sidebar layout is rarely a thing [13:38:25] more likely to be forced on bigger less to imitate vector layout [13:38:44] my tablet goes w/ 2 sidebar on horizontal [16:55:54] Timeless and citizen combined together 👀 [16:58:51] i don't even know what an array key even is... unless you're referring to someone or something else [17:15:24] <90gq29> [1/5] Anyone know whats happening here? [17:15:24] <90gq29> [2/5] Img.1: inside a template [17:15:25] <90gq29> [3/5] Img.2: outside [17:15:25] <90gq29> [4/5] https://cdn.discordapp.com/attachments/407537962553966603/1417921897219231824/NWxEczA.png?ex=68cc3e2c&is=68caecac&hm=452b67e6b40e73ccd57a3779c056a03b4f4ae939bde7e82d22ed8c14c8da959c& [17:15:25] <90gq29> [5/5] https://cdn.discordapp.com/attachments/407537962553966603/1417921897966080062/bbqsJWL.png?ex=68cc3e2c&is=68caecac&hm=08f37311399faf115cd8de409f8f18913bddc582772d1e4bbb289a3fc4b5e41e& [17:15:31] <90gq29> https://cdn.discordapp.com/attachments/407537962553966603/1417921928555004095/qV4uLLY.png?ex=68cc3e33&is=68caecb3&hm=d5e9da9e1255a818318941febd5c93bc0ab33a294b5a8b21cf131b3c7845faec& [17:16:00] <90gq29> looked normal a month ago, and it hasn't been changed at all so i'm thinking maybe the 1.44 update caused it? [17:19:54] <90gq29> ok nvm fixed it [17:33:59] Your username is the same as the abbreviation of Semantic MediaWiki (tech's favorite extension). [17:36:19] No way it's Mr. Semantic MediaWiki himself [17:40:42] :lmaoRisitas: [17:50:37] how to use these modern monochrome badges instead of yellow mh, gray cc, red mw? [17:51:52] <90gq29, replying to honoka55> you need to request them on the ticket site [17:52:14] <90gq29> i forgot what its called but just upload the images and ask for it [17:53:07] [[phorge]] [17:53:08] [17:53:49] oh that's complicated i prefer js [17:54:11] it's borderline not allowed for badges [17:54:24] i forgot why [17:54:39] Accessibility I think? [17:55:42] The conversation starting from here https://discord.com/channels/407504499280707585/407537962553966603/1388088832846725131 [17:59:02] Ideally we want this documented on meta for non-discord people, but it takes time and discord's search functionality is so much better than any similar tool I've seen. [17:59:28] oh css is another solution [17:59:31] i like that [18:02:18] ideally this should be configurable in managewiki:EpicFaceMH: [18:05:35] [1/2] You could submit it on Phorge to see what people think. I'm a bit pessimistic because it makes abuse easy, but there are plenty of ways for a wiki to abuse their freedom already and this one of the less harmful ones. [18:05:36] [2/2] Perhaps it can be made into a `managewiki-restricted` setting so that it's easier to update and does not require a PR. [18:07:44] i think the biggest blocker to that is ManageWiki not supporting associative arrays well [18:08:08] and that is somewhere on CA's to-do list I'm pretty sure [18:08:11] just image urls [18:08:29] you don't really have to put the array in managewiki i mean [18:08:40] true [18:09:00] With that said, tech is way more active than stewards nowadays. If you submit a simple configuration change like this Skye will probably do it within a day. SR/R gets less attention because we have many stewards but few are actively processing steward requests. [18:09:19] our stewards have lives [18:10:31] It's also 6 stewards vs 11 tech (not counting Harej since his access is different from regular tech team members). [18:11:10] btw i just find operations that require prs cumbersome so i prefer css/js ways when possible now. last time it did take me some time to read mw docs to figure out how to configure the copyright link before i can open a very simple ticket ([[phab:T14169]] [18:11:11] [18:11:30] js is... how do I put it? absolutely ass in performance [18:11:47] it is [18:12:20] this again requires reading many codes to open a ticket i think [18:12:40] so why not just use developer tool in my browser:EpicFaceMH: [18:14:14] Yeah I'm very grateful that NA can clear the queue during his weekends. Otherwise there'd be a terrible backlog until someone steps in. [18:15:53] I think we encourage PRs because it's the gateway drug to more active involvement in tech. Make PRs for my wikis -> make PRs for other people's wikis -> learn how to do more things with tech -> apply to become a tech team member. [18:18:27] it's also more robust than delicate frontend stuff [18:24:24] Yeah, would really love to have a more robust Wiki Reviewer + Steward team again, but it's a tricky (and often challenging) role to get covered and as Skye noted - we all have lives. 😄 [18:25:16] Very thankful for my colleagues who keep things tidy enough that it isn't totally overwhelming to blast through in one sitting. [18:30:28] big indie wikis don't bother changing badges, I don't really see reasons other than ~aestethic~ in changing them [18:30:49] i tried to give them background at max [18:31:42] they aren't so ridiculously visually jarring [18:33:19] I like to have black and white bages as to go with my colors better [18:48:12] super niche request, but does anyone know if theres a gadget or something that adds a strikethrough (i.e. /s) button to the source editor? [19:09:40] <90gq29, replying to honoka55> its really just finding/creating a svg and submitting it [19:09:42] <90gq29> from what i recall [19:12:53] It's not really possible [19:13:32] The only way that would be possible is to use something like a JSON editor, via JS which would have security implications [19:19:27] I mean certainly if you implement JSON schema validation it wouldn't be that complex right [19:19:28] why not? I'm imagining something like a table, where on one side you define the keys and on the other side you can define values (using our already supported types) [19:19:58] Didn't think of that tbf [21:01:38] [1/2] i thought wikis still used `margin-bottom `for these things [21:01:38] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1417978829095567400/image.png?ex=68cc7331&is=68cb21b1&hm=3f8b34ce4a34e672885d01ea083be90ec046fc4bbe3ca6ca4c02e8477b8824da& [23:18:02] i'm still new to this and have no idea but is it possible to load a specific js file for a specific page and not all of them [23:24:01] [1/6] You can do so with gadgets. Or, you can write some `if`s. [23:24:01] [2/6] ``` [23:24:01] [3/6] if (mw.config.get("wgPageName") === "Main_Page") { [23:24:02] [4/6] mw.loader.load("..."); [23:24:02] [5/6] } [23:24:02] [6/6] ``` [23:24:41] can you explain what gadgets are by any chance so i can know if they would be the better choice? [23:25:43] [1/2] https://www.mediawiki.org/wiki/Extension:Gadgets [23:25:44] [2/2] One day I will write a guide about all the possible ways to load js. That day is not day, so I can only give you a link to the documentation. [23:26:50] Bascially it allows you to define gadgets that consist of js/css. It has lots of nice features such as allowing users to enable/disable it, limiting gadgets to certain user groups, etc.