[00:01:26] don't [00:01:46] unfortunately wikitable uses it :St_Sad: [00:02:26] since when [00:02:43] dunno but i saw a width: auto !important; today [00:03:25] since it’s paired with an infobox, it makes them comically wide [00:03:36] the other fix is not relying on wikitable [00:04:37] https://meta.miraheze.org/wiki/FAQ#Can_I_hide_spoilers? [00:05:05] oh i tried it before it didnt work wtf [00:05:08] crazy [00:10:29] [1/2] yo uh [00:10:29] [2/2] is it A-OK if I add you 🥹 [00:24:08] [1/5] Mine [00:24:09] [2/5] ```|{{spoiler|[[Type:ORT|Foreigner (?)]]||blur}} || {{spoiler|[[tm:ORT|ORT]] ({{w|Oort Cloud}})||blur}} || {{spoiler|None||blur}}``` [00:24:09] [3/5] Template [00:24:09] [4/5] ```{{spoiler|I am blurred!||blur}}``` [00:24:09] [5/5] for some reason, mine stays blurred no matter what. if i hover over it, it just stays blurred. [00:24:13] what did i do wrong here [00:45:10] can u provide a link to ur wiki? [00:47:54] https://reconvergentfates.miraheze.org/Evensong_Grail_War [00:57:26] [1/2] put this in ur common.js [00:57:26] [2/2] `mw.loader.load('https://reconvergentfates.miraheze.org/wiki/Template:Spoiler/spoiler.js?action=raw');` [00:57:51] remind me what/where common.js is again [00:58:13] https://reconvergentfates.miraheze.org/wiki/MediaWiki:Common.js [00:58:21] thanks [00:59:46] [1/2] smth looks off here tho, this should be lua [00:59:46] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1492328269972770946/image.png?ex=69daee81&is=69d99d01&hm=a2ab155afc844917cff2e7ceb0f46872044d1ae0df48c66545696369316c37fa& [01:00:24] if does work lmk i bet ik the issue [01:01:22] three dots -> view page information [01:01:28] if content type is wikitext change to js [01:02:47] @afterglou ^ do that as well [01:03:16] https://cdn.discordapp.com/attachments/407537962553966603/1492329150394929253/image.png?ex=69daef53&is=69d99dd3&hm=b0be45fcea398e80e6a18da7e8b5293c6c820a04a69a3965a901ca73b9cbb368& [01:29:17] That javascript code should be in the MediaWiki namespace [01:29:42] wait guys [01:29:51] 300 edits on meta I didn't realize! [01:55:01] @yzxs What's said here. Hosting JavaScript in non-protected pages (i.e. outside of MediaWiki namespace or User namespace) is a security vulnerability and MediaWiki will refuse to do it by default. [01:57:13] yeah thats actually what i was going to say when it didnt work but figured stackd solution was fine as well. Thats good to know tho [01:59:48] [1/2] Even if you do change the content model you won't be able to load it [01:59:48] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1492343378208096446/image.png?ex=69dafc93&is=69d9ab13&hm=cef1633cbfa95999bd7ca406be84daf5b16933119b40077de391b1c431548d65& [02:28:19] [1/3] any help to use our own domain for a .miraheze.org? can someone guide me? I am not the guy who does the technical things on my miraheze wiki, but the other people isn't doing it so I will have to do myself. [02:28:20] [2/3] I have a domain tuscriaturas.com and I want that points to tuscriaturas.miraheze.org [02:28:20] [3/3] What I have to do? [02:37:32] <_chrs_, replying to jakeukalane> have a look at [[Custom domains]] [02:37:33] [03:48:00] blonde blazer returns [03:48:07] is there a way to use DPL for multiple categories [03:48:18] like if I wanted to sort by Easy and then Poptition [03:57:50] fabulous [03:57:54] i had forgotten about that [03:58:03] i was wondering why it looked so odd and i felt i had missed something [03:58:04] good catch [04:06:42] [1/2] Do what petra said tho or it wont work - move it over to a page called MediaWiki:Spoiler.js then change what i told you to put in common.js to this: [04:06:42] [2/2] `mw.loader.load('https://reconvergentfates.miraheze.org/wiki/MediaWiki:Spoiler.js?action=raw');` [04:07:39] right [07:14:28] https://reconvergentfates.miraheze.org/wiki/MediaWiki:Spoiler.js [07:14:30] does this look correct? [07:18:11] [1/2] you need to change the content model to javascript, under page information [07:18:11] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1492423501867520031/image.png?ex=69db4732&is=69d9f5b2&hm=c148d59450ab87431c83a09b2c038f990d5c8721fdf57f3f40fecf8bd3ec889f& [07:18:39] oh alright [07:19:03] there we go [07:19:05] that looks right [07:19:23] how long should it take for the changes to load? [07:34:02] [1/5] update your common.js to [07:34:02] [2/5] ```lua [07:34:03] [3/5] mw.loader.load('https://reconvergentfates.miraheze.org/wiki/Mediawiki:Spoiler.js?action=raw'); [07:34:03] [4/5] ``` [07:34:03] [5/5] i think that should fix it, if it doesn't you can just put the code onto common.js itself [08:53:42] i think you can do this with custom collapsible toggles too [11:20:58] actual structure should be `mw.loader.load("https://reconvergentfates.miraheze.org/w/index.php?title=MediaWiki:Spoiler.js&action=raw&ctype=text/javascript")` or tech will yell at you [11:28:26] saying this like you aren't also tech :bombasticsideeye: [11:48:57] he has an evil skye for that [12:02:05] this isn't me yelling, this is me gently nudging [12:16:17] what does `ctype=text/javascript` do again? mark the page for caching? [12:22:24] I think it's just content type? [12:23:55] but yeah if you have `action=raw&ctype=text/(javascript|css)` in your url then it gets cached by cloudflare [12:25:49] 🤔 so only js/css `action=raw` pages get cached huh [12:27:47] lowkey I was trying to find a way to make an Extension:Preview alternative that reads from the `action=raw` output [13:25:43] yk i actually don't have ctype in my filtertable call in common.js [13:26:04] Is that possibly what it causing not to work for some ppl on mobile? [13:34:29] actually nah [15:16:59] Can someone pelase help? [15:17:06] How do I fix this issue in citizen? [15:17:07] https://cdn.discordapp.com/attachments/407537962553966603/1492544031396462744/image.png?ex=69dbb773&is=69da65f3&hm=8d2274997b4c36ac62894410815f2df39015ed15a6f585ddaacbb1720f5df88b& [15:18:49] @posix_memalign If you're free could you help me a bit? This is going to be for a wiki for a official game [15:23:25] is that infobox a table [15:24:39] Yes [15:24:59] [1/18]
[3/18] |+ '''The Glorious Robot Army''' [15:25:00] [4/18] |- [15:25:00] [5/18] | colspan="2" | [[File:ThegloriousrobotArmy.webp|250px]] [15:25:01] [6/18] |- [15:25:01] [7/18] ! Aliases [15:25:01] [8/18] | TGRA [15:25:02] [9/18] |- [15:25:02] [10/18] ! Field Marshal [15:25:02] [11/18] | Vario [15:25:03] [12/18] |- [15:25:03] [13/18] ! Tasks [15:25:04] [14/18] | [15:25:04] [15/18] * Suppressing Rebellion [15:25:05] [16/18] * Protecting the Border [15:25:05] [17/18] |} [15:25:06] [18/18] /div [15:25:28] u need to change it to a class so you can remove the float property on mobile devices [15:25:55] [1/7] ``` [15:25:55] [2/7] @media screen and (max-width: 800px) { [15:25:56] [3/7] .whateverclass { [15:25:56] [4/7] float: unset; [15:25:56] [5/7] } [15:25:57] [6/7] } [15:25:57] [7/7] ``` [15:39:35] [1/2] The template is always on the left, and there’s no background colour or border. I wonder if some modules are missing? [15:39:36] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1492549686220034258/2026-04-12_003757.png?ex=69dbbcb7&is=69da6b37&hm=61c1d4e40a0ee5b43454fb82a7f7c5fad02340f812004e9696b42b622869dfea& [15:54:26] Wikipedia infobox?