[00:23:40] For some reason i have 1 page that’s loading a default mobile theme and the rest of the page is loading desktop on mobile (: i love troubleshooting [00:24:57] idc I'm mexican lol [00:26:47] Any advice on getting a mobile layout working while still having it use your custom css theme? Im just using old vector [00:29:22] https://64.media.tumblr.com/9b057f08b681b90528cde0e35ddb99aa/a6ea4dc73d0e9bff-79/s500x750/09ab1ebb9274d41cc47c4f53a9d21e873d6785a8.gif [00:29:33] MediaWiki:Mobile.css [00:30:02] Whitest "mexican" [00:30:45] LOL [00:36:54] I hate so much the "MediaWiki:Commons.css" advice because newbies are going to put everything in there for one skin making the other skins look like ahh [00:38:42] I’ll admit i’ve already cannibalized from some other wiki formats, but mostly it was just to get the code to change the colors to ones of my choice. I needed it to be blue 😔 so i stole the code and rewrote a bunch of it lol [01:03:38] That's how it gets done at first - building on the work of those who came before you. [01:03:45] [1/4] Ctrl-C [01:03:45] [2/4] MediaWiki:Mobile.css [01:03:46] [3/4] Ctrl-V [01:03:46] [4/4] Thanks for watching [01:05:40] ❌️ Neds to be optimized [01:10:20] Hi guys, in which section can I ask for help and advice? [02:36:53] IRC is like SMS [02:38:23] [1/13] Ctrl-C [02:38:23] [2/13] MediaWiki:Mobile.css [02:38:23] [3/13] Ctrl-V [02:38:24] [4/13] Delete parts [02:38:24] [5/13] Inspect element on mobile layout [02:38:24] [6/13] Ctrl-C [02:38:24] [7/13] Ctrl-V [02:38:25] [8/13] Ctrl-C [02:38:25] [9/13] Ctrl-V [02:38:25] [10/13] Ctrl-C [02:38:26] [11/13] Ctrl-V [02:38:26] [12/13] Repeat 6 times [02:38:27] [13/13] Thanks for watching [04:18:47] i think its because of fandom 😭 [04:19:57] One more reason to burn Fandom's HQ [04:49:13] isnt that how coding works though, no shame in taking a part of the cake [05:14:29] well yea but common.css is for all skins [05:14:47] because of fandom people mistakenly put all their code there [05:15:06] you dont mean templates right [05:43:07] [1/3] i'm trying to make a template that also assigns a category based on parameters passed to that template. In two of my three cases I can just assign the parameter directly to the category, but in one of my cases the parameter comes with some extra information that i don't want in the category. is there a way to string match the bit of that third parameter that's consistent to set [05:43:07] [2/3] that category, while passing every other version of that parameter raw? [05:43:08] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1303595501865668668/image.png?ex=672c536b&is=672b01eb&hm=4b86f718ac97984dfe12c079d99ec60dd6cfeb8bc50b5971ec95a57f2147002a& [06:16:55] looking around more i'd like to use `Module:String` but I get a `Script Error: No such module: "String"` when I just through it in there (I do have `$wgPFEnableStringFunctions` on). I've never used a module before so I'm not sure where I'm going wrong [06:21:15] `$wgPFEnableStringFunctions` is for the ParserFunctions extension. You can see the documentation [here](). [06:23:31] so should I just do a `#ifexp: {{#pos:string|search}} > 0 | true case | false case}}`? [06:23:31] https://meta.miraheze.org/wiki/%23pos:Template:string [06:24:09] Something like that, yeah. [06:27:37] [1/2] this worked, thanks! [06:27:37] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1303606698606460948/image.png?ex=672c5dd8&is=672b0c58&hm=4965ea4a5fbcf0f8fd1df63c91e01aeebd91d785a2fa42fcc00a0252f7f465f9& [08:10:30] ahh the joys of making a phabricator request and instantly worrying if you did something wrong haha [08:11:37] i'm sure i'm fine, i'm just nervous about these kinds of things [08:16:16] eh, as long as we have all the info we need, we can shuffle it around [08:18:05] it's just a extension request and the form was clear enough to me. I worry I somehow missed something but that's my anxiety talking [08:18:33] luckily it was all we needed [08:18:44] unluckily, that extension was declined like a few months ago [08:20:21] yep, I just saw! no worries, I didn't know how to search for existing requests so I figured this might happen [08:20:51] unlucky coincidence :p [08:21:51] 😔 ✌️ i'll see if there's any way to swap out markdown to wiki formatting without doing it manually [08:22:09] oh ofc pandoc workms [08:22:39] oh yeah we forgor about that [09:06:56] [1/2] whats the class for the white box [09:06:56] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1303646791970983959/image0.jpg?ex=672c832f&is=672b31af&hm=125550ccc08be986dc552b30bdc1cc29b35b3b59d71a64c043cf8c72bd243766& [09:31:27] [1/2] lol [09:31:27] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1303652961574060052/image0.jpg?ex=672c88ee&is=672b376e&hm=7ef8fb6b6db5454139e20d6680f51019b695733b6bc61865f0c252bf795a7e86& [10:16:03] they don't have any template sadly [10:33:57] What happened 😐 [10:40:27] no idea [10:56:18] Your wiki link pls [11:12:21] [1/4] two questions: [11:12:22] [2/4] - how do i add the create page special page to the side bar (and is that a good idea) [11:12:22] [3/4] - i want to make it such that a visitor needs to do some verification that is manually looked over before being able to create an account and getting to edit and add pages; currently i've just removed the create account perm from `(everyone)`, and intend to impose some sort of protection on every page (except one talk page) that requires the editor be a `User`. how do i do that, a [11:12:22] [4/4] nd what's a good way to allow account creation after their verification has been vetted? [11:13:10] for the second question: since miraheze is a centralauth wikifarm, anyone can make an account on some other miraheze wiki and use it to automatically create a local account on yours [11:13:51] and for the first question: https://www.mediawiki.org/wiki/Sidebar [11:14:10] ah, so i would have to create a group above user that has edit perms and remove edit perms from user as well [11:14:23] mhm [11:14:32] i see, thanks for the info :D [11:14:36] you're welcome ^_^ [11:14:44] you may use the confirmed group for this if you want to [11:16:52] https://utg.miraheze.org [11:30:42] <_changezi_> [1/2] A question:  [11:30:42] <_changezi_> [2/2] Can the [[Template:Help navigation]] be translated into new languages? This template lists and is used on many high-traffic pages; I’ve translated some of those pages into ur. I just wanted to confirm if this template can be translated as well, it’s not listed on [[Meta:Translators#List of high traffic pages]]. [11:30:42] https://meta.miraheze.org/wiki/Template:Help_navigation https://meta.miraheze.org/wiki/Meta:Translators#List_of_high_traffic_pages [11:30:43] [1/2] [11:30:43] [2/2] [11:32:24] another question: would it be easier to protect every page requiring the elevated user role except the one used for verification, or to remove edit perms from user and everyone but to somehow still allow that page to be edited by users. and how would I do it? [11:43:14] is it possible to show a link only to users who are in a certain group? [11:43:32] as in on the sidebar? [11:43:39] yeah [11:43:47] interesting thought to experiment with [11:44:13] oh i thought it was a default feature haha [11:44:33] if it's troublesome then it's probably alright, i just wanted to only show the create page button to the elevated user group [11:44:51] but it's alright since the lower groups wouldn't be able to do anything anyway [11:45:25] try using https://www.mediawiki.org/wiki/extension:rightFunctions#Ifgroup to make the text empty [11:45:36] and if that fails, perhaps use it to add a css class and hide with css? [11:45:47] this is assuming that the sidebar is cached per user tho [11:45:53] ooh i see, ill check it out later [11:46:54] also i assume there's some way to change the title page display? i kind of want it to always show as a text and not a link [11:47:00] or is that a skin thing [11:47:23] wdym title page display [11:47:27] *wiki title display [11:47:34] dunno if the relay shows discord edits [11:47:47] nah, it doesn't [11:47:56] wdym wiki title display ^^; [11:48:13] like by default each wiki shows the name of the wiki on the top left [11:48:30] but by default it's just an link and it changes colour depending on whether you've clicked it or not [11:48:48] but i'd like for it to just display as text without changing colour [11:49:06] wondering if there's a way to set that for the wiki itself or if it's a css/skin thing that i can only change for myself [11:49:09] you can use css for that [11:49:23] for all visitors/users? or just myself [11:49:44] https://www.mediawiki.org/wiki/Manual:Interface/Stylesheets [11:49:50] for all visitors [11:49:58] (there's also per-user css if you're interested in that) [11:50:24] oh yeah, i forgot that mediawiki has per-group css built-in [11:50:49] alright i see it, thanks again haha [11:58:27] just to be clear, the css im looking to edit is Common.css? [11:59:01] personally, i'd go for the specific css file for the skin [11:59:07] but common technically works [11:59:23] oh nevermind i just had to spam hard refresh for it to work [11:59:26] average chrome experience [11:59:55] you also get aggressive caching from the servers because yes [12:00:29] haha true [12:01:27] [1/2] whats the class for the white box [12:01:28] [2/2] https://media.discordapp.net/attachments/407537962553966603/1303646791970983959/image0.jpg?ex=672c832f&is=672b31af&hm=125550ccc08be986dc552b30bdc1cc29b35b3b59d71a64c043cf8c72bd243766& [12:42:49] @raidarr thank you for your service, and I wish you the best of luck with your future endeavors. 🫡 [12:45:53] o7 [13:12:38] Mw skins share classes and ID's between them [13:15:14] Nope [13:35:11] bump (dunno if relay shows replies) [13:36:02] It shows who you replied to, not what message [13:36:15] darn [13:36:51] tldr is it easier to protect every page (including pre-existing ones) or to allow a group that cannot edit to edit one page [13:42:03] if it's a single one page, maybe create a custom namespace for it, while the rest can be entirely protected to admin lebel (or custom edit right, requires Phorge task) - wild idea tbh [13:50:11] so what does miraheze plan to do about what just happened yesterday (you know, something something ballot box something) [13:53:46] wdym lol [13:54:06] Miraheze moving out back to UK? [13:54:32] /j [14:02:14] I guess we'll see what happens 💀 [14:03:07] how difficult would it be to get the phorge task going [14:03:33] should i just disable edit perms for User and (everyone) and then just seek validation off-wiki lol [14:03:46] seek validation sounds wrong thats- thats not what i menat [14:15:16] `cdx-card` [14:37:41] [1/2] i mean [14:37:41] [2/2] i doubt users and user data will be safe in the US from next year [14:38:34] Moving back isn’t something we can afford to do [14:38:44] But that’s quite possibly true [14:39:16] Should have gone with a Server in the Netherlands [14:39:36] Fastest internet, good security [14:40:04] Even Google wanted to put their servers there but they asked too much space 😄 [14:40:46] if it comes with a nice price tag, perhaps [14:40:54] Swiss maybe [14:41:05] that's a bit of an overreaction and I'm sure you know it [14:41:27] as someone who is hailing from certain hell hole I still trust google more than the government i stuck w/ [14:42:07] For us normal people indeed, but for NGO's Journalists, Political parties, Firms, Businesses, etc... [14:42:22] also boy, the chances of me disappearing behind digital iron curtain are never zero [14:53:59] [1/2] It’s super easy to get one started [14:54:00] [2/2] [14:55:14] oh phorge is like github issues i thought it was an automation tool HAHA cool cool [14:55:29] Well [14:55:34] Phorge is a suite of tools [14:55:37] When we say phorge [14:55:50] We probably mean Maniphest(can you tell the naming scheme) [14:56:07] Which is the task management app [14:56:22] Ie uh [[phorge:T1289]] [14:56:22] https://meta.miraheze.org/wiki/phorge:T1289 [14:56:24] [14:56:36] oh [14:56:55] But yeah I prefer it over GH issues [14:57:05] fair nuf [14:57:19] i shall settle for off-site validation in the meantime then [14:57:38] i just need to pick icons now 😔 [15:03:43] <_changezi_, replying to _changezi_> Bumping my question, got lost in the chat [16:28:13] That's a complicated question that's more likely to get an answer the #support channel, we have very few experts on multi-language and general chat moves fast [21:02:23] <_changezi_> I'll move it there then, thanks