[04:20:01] [1/2] is there any way to make so that the two textboxes, (about the wiki and play FTTF RM) automictically scale depending on the width of the page? Because they go off the page on some skins and also because the widths of the [04:20:01] [2/2] is currently being done with css in common.css [04:23:37] never use fixed width value unless element is very small, use percentages [05:41:40] [1/2] the css extension does work, just requires specific syntax [05:41:40] [2/2] https://www.mediawiki.org/wiki/Extension:CSS [05:55:54] so when ur editing a template [05:56:05] how do i make it so the template parameters arent listed in alphabetical order [05:56:13] and instead the order as they appearr in the template [05:57:18] eh? [05:57:50] when you use template w/ named parameters, order doesn't matter [05:58:06] please explain more [05:58:23] or it has to do w/ visual editor? [05:58:53] true [05:59:00] but i want it so its easier to edit [05:59:17] cuz when i first clicked i was confused why one of the parameters in the middle was at the top [05:59:24] I don't really get what you mean [05:59:34] are you using the visual editor's template includer? [05:59:36] again, in visual editor? [05:59:39] yes [05:59:55] the template has TemplateData stuff? [06:00:00] yes [06:00:36] is it coded in alphabet order? [06:00:48] no [06:00:53] well im migrating from fandom [06:01:06] so in fandom the template parameters are in the order they appear [06:01:13] but in miraheze its alphabetical [06:01:24] could that have something to do with it [06:02:59] [1/21] {{Class [06:03:00] [2/21] | title1=Example [06:03:00] [3/21] | image1=Example [06:03:00] [4/21] | caption-image1=Example [06:03:01] [5/21] | description=Example [06:03:01] [6/21] | health=Example [06:03:01] [7/21] | speed=Example [06:03:02] [8/21] | price=Example [06:03:02] [9/21] | Allies=Example [06:03:02] [10/21] | allied_image=Example [06:03:02] [11/21] | caption-allied_image=Example [06:03:03] [12/21] | primary_weapon_allied=Example [06:03:03] [13/21] | secondary_weapon_allied=Example [06:03:04] [14/21] | equipment_allied=Example [06:03:04] [15/21] | Axis=Example [06:03:05] [16/21] | axis_image=Example [06:03:05] [17/21] | caption-axis_image=Example [06:03:06] [18/21] | primary_weapon_axis=Example [06:03:06] [19/21] | secondary_weapon_axis=Example [06:03:07] [20/21] | equipment_axis=Example [06:03:07] [21/21] }} [06:03:08] sorry its kinda big but this is what the template is [06:03:13] mb if i flooded the chat [06:03:23] but when i click edit the As are at the top [06:03:31] please wait a sec, I'm trying to check on my wiki [06:04:11] what you pasted is a boiler plate for source editor, it's jut a text to copy/paste and doesn't define anything in template itself [06:04:48] oh ok [06:04:53] oh well nvm ts fine [06:05:01] like you said they are named so doesnt matter [06:05:12] thx for the help [06:06:55] looks alright on my wiki [06:11:54] [1/2] could it be the documentation? iirc visual editor templates grab their parameter lists off that [06:11:54] [2/2] since i never use documentation i don't see this kind of prompt [06:15:43] yes, that what I meant by if TemplateData part coded alphabetically [06:16:21] but they said it works alright in fandom, the template is imported [06:17:55] it's recommended to keep TD code on documentation subpage [08:01:45] [1/2] Hello! [08:01:45] [2/2] I think the ssl cert on my custom domain wiki has expired, is this something that should be raised or will this be resolved on its own? [08:28:05] if my request got declined but i edited it so then it would follow what the mod said what i should add, can it still be accepted [08:44:05] Is there any tool to check copyright (or plagiarism) like copyvio? [09:41:03] 5th now [09:42:25] Yes, that is how it works for most people- go to the declining message, click the edit/response button thing, and go! [09:42:57] Can you raise a security ticket on phab? [09:43:31] That really sucks- idk how the contact form works (btw how do I set one up, do I need to make a new email?- But, is there a way to just block the sender and mark that content as spam? [09:45:46] thing is that they don't leave their contact email, so it's really funny that if I (somehow) wanted to email them back, I can't lol [09:51:17] oh damn. How does the contact form work then? [09:52:25] [09:52:33] it's an extension [09:53:18] and it requires a user w/ verified email to work, in my case I decided to create separate user [09:53:55] so stuff will be separated from my own email I attached to my Miraheze account [09:56:39] [1/2] Ah, okay, thanks for explaining. [09:56:39] [2/2] So, there's really no way to block them, or filter messages? That really sucks. [09:59:32] I'm making a task as Rhinos said, we'll see [10:03:44] should I attach screenshots of emails? the last three are from the same "company" [10:04:51] Ideally paste the raw email into a phab task [10:13:47] I think gmail calls it show original [10:17:52] [1/2] I'm on mobile, I'll see on laptop later [10:17:53] [2/2] but the task is made [10:19:06] Oh ye on mobile is horrid for that [10:28:42] how can i make someone an admininistrator on my wiki [10:30:27] Oh hey, this might help https://meta.miraheze.org/wiki/Guide_to_writing_wiki_requests [10:32:37] yeah i read that [10:33:21] i explained what the wiki was about i just did not add what the wiki would have [10:44:31] Go to there u `Special:UserRights` and put in the username of the one you want to give it to, and you can change there usergroups from there [10:45:12] thank you [10:45:27] no i just need to wait for my request to get accepted [10:57:24] is it rude to ask someone to accept a request [11:28:43] I'm not if I've asked this before, but #Make search not case sensitive? [12:22:29] They already know you want it accepted or you wouldn't have submitted it- I'd suggest just waiting. [12:25:02] It is because MH don't have an advanced search engine like Cirrussearch [12:28:40] Well, I think Cirrussearch can use ES7 now but there's a problem with performance [12:28:49] https://phabricator.wikimedia.org/T263142 [12:29:31] so it's not possible? [12:29:58] Yea, unless some SRE member is willing to install this [12:30:15] Have you tried searching on the SEO thingy? idk if it's possible but that's where I always go when I'm looking to change smth [12:31:02] Well, he's asking for internal search engine, not external one like Google [12:31:25] [1/2] Also, question: I founded my wiki, so what level does that make me? I've been looking through this https://meta.miraheze.org/wiki/User_groups [12:31:25] [2/2] And I'm a little confused. Am I a beaurocrat? [12:32:04] oh yh not seo- the set of links under 'administration' [12:32:09] the core settings and extensions things [12:32:17] Yea, if you created wiki yourself then you are the bureaucrat [12:34:33] [1/2] Ah ok cool [12:34:33] [2/2] Just wondering because I created an email and a new user account (I just called it 'contactdecapedia') to set up the contact form, and I want to know under what circumstances I should be giving access to the account to other people. I think if I award someone admin status then [12:35:18] Never, ever give your account to someone else [12:35:53] You can assign them admin (or bureaucrat if you want someone full control the wiki) [12:36:25] However, giving bureaucrat role means you can't control them anymore in case of they gone rogue [12:36:34] is it possible to create your own "wizard" thing, like `Special:CreateBlogPost` [12:39:10] [1/9] ```html [12:39:10] [2/9] [12:39:11] [3/9] [12:39:11] [4/9] Anything I write in the input box will end up here when creating the page [12:39:11] [5/9] [12:39:12] [6/9] [[Category:Articles by user KojoBailey]] [12:39:12] https://meta.miraheze.org/wiki/Category:Articles_by_user_KojoBailey [12:39:12] [7/9] [[Category:2023 December 20]] [12:39:12] https://meta.miraheze.org/wiki/Category:2023_December_20 [12:39:12] [8/9] NOEDITSECTION [12:39:13] [9/9] ``` [12:39:13] this is what blogs to rn [12:39:25] and i wanna replicate it [12:42:34] the Preload Namespace extension isn't bad, but not ideal [12:43:23] it treats the wikitext as actual wikitext which is really annoying, so any comments or templates are ignored [12:44:45] [1/2] I mean the secondary account I created for the contact form [12:44:46] [2/2] Yh dw I don't plan to ever give anyone else beaurocrat. Except maybe the creator of the media the wiki is for if they want it, but I think I might be more involved than they are lol [12:45:22] [1/2] No need to create a secondary account [12:45:22] [2/2] Just assign role [12:45:26] Is there an automatic list of admins/beaurocrats created as a special page, or should I create one? [12:45:33] For the contact form [12:45:57] Legroom was talking about it earlier [12:46:00] Yes, you can look at userrights [12:46:19] here [12:46:32] awesome, thanks! I'll link that then, that works [12:47:38] Special:ListGroupRights [12:48:48] Oh, sounds complex [12:49:03] And I have no idea🤷 [12:49:04] I just decided to make secondary for myself, it's not an obligatory [12:58:47] i've enabled captcha and also changed that to > 'Contact Form on ' . $wgSitename [12:59:06] are these magic words but for the page's creation information [12:59:24] so instead of `{{REVISIONUSER}}`, is there `{{CREATIONUSER}}` for example [12:59:24] https://meta.miraheze.org/wiki/Template:REVISIONUSER [12:59:38] and `{{CREATIONDay}}`, `{{CREATIONMONTH}}`, etc. [12:59:38] https://meta.miraheze.org/wiki/Template:CREATIONDay [13:01:10] Don't believe so [13:01:18] That would be smart though [13:01:25] actually, how do I do a "selected older revision" [13:01:28] maybe that's the key [13:02:03] or maybe not if it's a unique revision ID that only applies to one page [13:02:47] or maybe it's possible through other means, like JavaScript maybe? It's def possible somehow [13:02:54] since the blog feature is able to display that information [13:03:46] oh wow someone's legit asked this before lol with the exact same `{{CREATIONDATE}}` example [13:03:46] https://meta.miraheze.org/wiki/Template:CREATIONDATE [13:03:53] The api will have it [13:04:10] So I suppose js could do it [13:05:01] let's have a look then... [13:05:03] nice, what the second part does tho? [13:06:42] oh [13:07:06] time to see if `Extension:MyVariables` is enabled on Miraheze or not [13:07:29] oh thank god it is [13:07:55] why haven't the base magic words been updated with more stuff... [13:08:42] now my question is then, is there already an extension or something that can convert timestamps to different fromats [13:08:52] i vaguely remember seeing something before [13:10:50] maybe not tho [13:12:09] [1/2] Sorry, I know I'm asking a lot of questions but I am working on my wiki to procrastinate doing my homework today so... [13:12:09] [2/2] Is there a way to flag a page as needing major edits or things like that? Or should I just make a template for it? Like, how do y'all go about it? [13:12:11] changes the title in the email [13:12:17] or rather the subject line [13:12:45] I see [13:13:31] we usually make a "stub" template, which adds a banner on it and adds the page to category like Article stubs [13:14:03] cool, that works, I'll make a couple templates then! I think I'm really starting to get the hang of them now ngl [13:14:03] [1/2] like this [13:14:03] [2/2] [13:14:25] templates are king [13:14:28] speaking of template [13:14:49] would anyone happen to have a template that converts MediaWiki timestamps to human readable ones [13:15:05] if not, i guess i'll just make my own [13:15:30] I thought there's parser function for that or something [13:15:42] actually, on that note, is there are MediaWiki share space or something where people share templates that can be used on other wikis [13:15:46] i'll have a look [13:16:15] yeah, i don't think there is [13:16:39] there's `{{#dateformat}}`, but it smartly doesn't deal with MediaWiki's own timestamps... [13:16:39] https://meta.miraheze.org/wiki/Template:%23dateformat [13:16:59] [1/2] well, the Dev wiki supposed to be such space, but is rather underdeveloped as for now, especially w/ some of templates over there being Wikipedia imports (which is bad) [13:17:00] [2/2] I generally recommend to look at established wikis [13:17:13] true i guess [13:17:17] just look for good examples [13:17:35] although i'd have to be lucky to find this template i'm looking for lol [13:18:35] [1/2] I never tried it, but I guess it's something [13:18:35] [2/2] [[mw:Help:Extension:ParserFunctions#time]] [13:18:35] https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#time [13:18:36] [13:21:50] this'll work i suppose (will create that timestamp template in a bit) [13:21:54] [1/9] ```html [13:21:55] [2/9] by {{FIRSTREVISIONUSER}}
[13:21:55] https://meta.miraheze.org/wiki/Template:FIRSTREVISIONUSER [13:21:55] [3/9] created {{FIRSTREVISIONTIMESTAMP}}; last edited {{REVISIONTIMESTAMP}}/small{{br}} [13:21:55] https://meta.miraheze.org/wiki/Template:FIRSTREVISIONTIMESTAMP [13:21:55] [4/9]

{{PAGENAME}}/h2 [13:21:55] https://meta.miraheze.org/wiki/Template:PAGENAME [13:21:56] [5/9] [13:21:56] [6/9] Lorem ipsum dolor amet. [13:21:56] [7/9] [13:21:56] [8/9] [13:21:57] [9/9] ``` [13:22:09] however [13:22:31] for the sake of this namespace, i don't want people to be edit anything other than the usual text [13:22:47] so is there a way to add it automatically with CSS or JS? [13:23:00] i do remember you being able to prefix and maybe suffix stuff with CSS [13:23:19] although I feel like JS would be more flexible [13:24:53] [1/9] could so something like [13:24:53] [2/9] ```css [13:24:54] [3/9] .mw-headline::before { [13:24:54] [4/9] content: 'by {{FIRSTREVISIONUSER}}
[13:24:54] https://meta.miraheze.org/wiki/Template:FIRSTREVISIONUSER [13:24:54] [5/9] created {{FIRSTREVISIONTIMESTAMP}}; last edited {{REVISIONTIMESTAMP}}/small{{br}} [13:24:54] https://meta.miraheze.org/wiki/Template:FIRSTREVISIONTIMESTAMP [13:24:54] [6/9]

{{PAGENAME}}/h2'; [13:24:54] https://meta.miraheze.org/wiki/Template:PAGENAME [13:24:55] [7/9] } [13:24:55] [8/9] ``` [13:24:55] [9/9] i guess [13:25:33] although that semi-colon messes stuff up [13:39:30] i am going to commit unholy acts [13:39:48] maybe it won't matter if the preload namespace is rendered as plain text [13:39:54] fingers crossed... [13:40:52] It should be wikitext [13:41:04] Not much is rendered plain text [13:42:02] in this case it's the PreloadNamespace extension though [13:42:18] which just slaps its text on whatever namespace on creation [13:42:30] so plaintext is fine since it gets rendered as wixitext by the reciever [13:42:41] kinda annoying, but at least it's a workaround [13:43:27] oh wait haha [13:43:38] https://tenor.com/view/rain-sad-depression-gif-24658304 [13:43:58] man this is annoying [13:44:03] Plan C [13:46:08] how do i get the ID of a namespace btw [13:46:25] "manage namespaces" makes me think it's `3000` for mine, but it doesn't seem to be working [13:46:50] URL is `Special:ManageWiki/namespaces/3000` [13:47:36] but the preloader isn't doing anything!! [13:54:54] [1/3] You can try an api call in your browser, just add: [13:54:54] [2/3] > /api.php?action=query&meta=siteinfo&siprop=namespaces [13:54:55] [3/3] To the end of the wiki’s domain (so if the main page of the wiki is wiki.example.org/wiki/Main Page, you’d put wiki.example.org//api.php?action=query&meta=siteinfo&siprop=namespaces [13:55:52] It should return a list of all namespaces and their ids [14:04:32] [1/2] am i doing this right [14:04:32] [2/2] https://jojomodding.miraheze.org/api.php?action=query&meta=siteinfo&siprop=namespaces [14:04:35] says file not found [14:06:04] nvmgot it [14:06:10] had to include `/w/` [14:06:34] well, it's deinitely `3000` [14:06:42] the preloader is just refusing to do its thing [14:07:04] wait wtf [14:07:09] the preloader is just not working in general [14:07:20] it stopped working for my `Template` namespace too [14:07:45] https://cdn.discordapp.com/emojis/887565300139163688.webp?size=48&name=why%7E1&quality=lossless [14:09:47] this is mental anguish [14:10:29] HOW TF DID IT GETS DISABLED [14:10:40] https://cdn.discordapp.com/emojis/1169280442160128040.webp?size=48&name=RobloxTonioHead&quality=lossless [14:10:54] oh well [14:10:56] it's what it's [14:12:31] yeaaaah this isn't working [14:12:45] i need a way to apply this, but have the text actually render as wikitext [14:12:50] Something wrong with visual Editor today [14:12:56] https://cdn.discordapp.com/emojis/1172996017122189332.gif?size=48 [14:13:01] otherwise it's just [14:13:09] really? Mine's fine [14:13:10] there's always something wrong with visual editor [14:13:41] It's overlapping the wikisource edit button lol [14:13:48] https://cdn.discordapp.com/emojis/1172996017122189332.gif?size=48 [14:17:49] is it not possible to remove a page title [14:18:23] oh boy i've asked this before [14:18:52] [1/2] possible [14:18:52] [2/2] Extensions are required [14:19:03] The hell? [14:19:30] Appears for a second then disappears [14:19:36] <:moonch:794697217826095165> [14:20:23] [1/2] https://www.mediawiki.org/wiki/Extension:NoTitle [14:20:24] [2/2] Enable it and add `NOTITLE` to the page [14:22:41] try turning visual editor off and on again in namespace settings [14:23:18] Yep I did kinda fixed it [14:25:30] this exists for Miraheze? [14:26:17] should exist and be available in Miraheze [14:26:20] anyway, i don't want to hide the title anymore lol [14:26:24] but thank you [14:26:38] instead... I now need to figure out how to apply wikitext to pages in a namespace [14:26:41] using JavaScript probably [14:27:05] extensions like NamespacePreloader don't work in this case [14:27:26] [1/3] since I need the wikitext to [14:27:26] [2/3] - note be editable [14:27:27] [3/3] - appear in certain locations [14:40:50] https://jojomodding.miraheze.org/wiki/Template:TimestampConvert [14:41:15] pretty straightforward [14:41:23] just need to add the time later [14:43:57] `yyyymmddhhmmss` [14:44:02] could not be easier to parse [14:45:38] there we go [14:45:53] would still like this template to be automatically applied though [14:46:02] if anyone knows how to apply wikitext with JS, please hit me up [15:08:39] i put on a skin and it does not work [15:11:00] how do i fix? [15:15:43] you put it in Additional settings - Styling - Default skin? [15:16:51] oops [15:24:11] [1/5] is there any way to make something like this work [15:24:11] [2/5] ``` [15:24:11] [3/5] {{#vardefine:num|1}} [15:24:11] https://meta.miraheze.org/wiki/%23vardefine:Template:num [15:24:12] [4/5] {{{param{{#var:num}}|}}} [15:24:12] https://meta.miraheze.org/wiki/%7bparam%7b%7b%23var:Template:num [15:24:12] [5/5] ``` [15:24:32] rn my brain is going through all the wikitext and plain text combinations, but so far no dice [15:25:15] would translate to `{{{param1|}}}` in this case btw [15:25:15] https://meta.miraheze.org/wiki/Template:%7bparam1 [15:26:23] if you're wondering why: loops [15:26:47] maybe this is better done with JavaScript... although idk how [15:30:44] Fandom is the best!!! [15:31:09] or maybe Lua actually, i completely forgot that exists [15:31:55] https://tenor.com/view/shaking-head-david-tennant-whovia-doctor-who-nope-gif-11509560 [15:41:42] [1/5] gonna try this: [15:41:42] [2/5] - Create template `TemplateParam` [15:41:43] [3/5] - Template will invoke Lua that returns what it's given, but surrounded by `{{{ }}}` [15:41:43] https://meta.miraheze.org/wiki/Template:%7b_ [15:41:43] [4/5] - Template literally just returns that [15:41:43] [5/5] - Use `TemplateParam` in another template to have parameters with variable names (e.g. `{{TemplateParam|variable{{#var:count}}}}` will return `{{{variable1}}}` (if `{{#var:count}}` is `1`) [15:41:43] https://meta.miraheze.org/wiki/Template:TemplateParam [15:42:02] the only way this fails is if the template return value doesn't get rendered as wikitext in the other template [15:42:10] so inshallah i guess [15:43:10] i'll call the template `TArg` actually [15:55:39] it didn't work [15:56:16] https://tenor.com/view/wings-of-redemption-wings-i-cant-take-this-no-more-gif-23668816 [15:56:30] iiiis it possible to force-render something as wikitext [15:57:54] like `` but the opposite [16:04:03] AI is telling me `{{msgnw}}`, but that's literally just `` [16:04:03] https://meta.miraheze.org/wiki/Template:msgnw [16:09:01] whyy can't ChatGPT be working rn [16:10:22] oh haha it haha logged me haha out haha without haha telling me lmao [16:10:53] and it won't let me log back in because their systems are busy [17:06:08] figured it out in the end [17:06:15] turns out i could just use `{{#fornumargs:` [17:06:22] from `Extension:Loops` [17:33:08] hey qq .. i wanted to set up a wiki for templates on prediction markets that can be re-used throughout the industry. Would that be ok for miraheze? [19:18:55] I've added a request for review here - Special:RequestWikiQueue/38936 Feel free to contact me if you have any questions. [22:15:05] does Miraheze have support for `filter` CSS styles? [22:15:31] [1/6] like [22:15:31] [2/6] ```css [22:15:32] [3/6] filter: grayscale(1); [22:15:32] [4/6] filter: blur(1); [22:15:32] [5/6] / etc / [22:15:33] [6/6] ``` [22:16:08] yes it does [22:16:40] fsr it doesn't seem to be working for me [22:16:50] but maybe i'm just applying it wrong [22:16:59] [1/4] here's what i'm trying rn: [22:16:59] [2/4] ```html [22:16:59] [3/4]
[[File:All-Star Battle R JP PS4 Cover.png|x200px|center]]/div [22:16:59] https://meta.miraheze.org/wiki/File:All-Star_Battle_R_JP_PS4_Cover.png [22:16:59] [4/4] ``` [22:18:25] tried `blur(5px)` too just in case [22:24:17] fixed it by creating a `style.css` subpage [22:24:23] i guess inline doesn't work for some things [22:26:34] [1/9] now i have an issue where hover just doesn't want to work [22:26:34] [2/9] ```css [22:26:34] [3/9] .grayscale { [22:26:35] [4/9] filter: grayscale(1); [22:26:35] [5/9] } [22:26:35] [6/9] .grayscale:hover { [22:26:36] [7/9] filter: grayscale(0); [22:26:36] [8/9] } [22:26:36] [9/9] ``` [22:26:43] i'm 99% sure this is correct CSS [23:27:45] Yeah, filter and I think mix-filter both don't work inline [23:27:55] As well as likely more things [23:35:04] Is there an automated way to find which pages have hyperlinks leading to redirects? Something analogous to Special:DoubleRedirects but for any page linking to a redirect instead of just redirects linking to redirects? [23:42:34] can probably check it manually with Special:WhatLinksHere and Special:ListRedirects (to see all redirects) [23:52:10] Yeah, but then I have to check every redirect page individually. [23:55:37] Hi folks, thanks for giving me oportunity to join Mirahaze wikis... I'm excited to share and help so much  people using it...I would like to put a logo on the wiki... on the top and left of the page.. I've tried to change the main page, but seems to be like system edition.. not pages. How can I change the title (on the top left of the page)? maybe [23:55:37] someone can help me with that?