[00:09:20] Is there a MediaWiki magic word or something similar that gives you the DB name of a given wiki? [00:21:34] Take the subdomain, remove '.miraheze.org/[stuff]', add 'wiki' to the end. [00:35:01] just check managewiki (Special:ManageWiki/core); it'll show up even if you're not a bureaucrat [00:36:07] I didn't know managewiki was accessible without sysop, that's definitely a better way. [00:39:35] I mean if we're gonna go the most efficient route then it would be `mw.config.get('wgDBname')` in JS [00:55:16] to begin with, if it existed, how would you specify a wiki without using the dbname? [00:57:45] `{{:metawiki}}` returns `metawiki` yeah i can do it with a template including simply `{{{1}}}` [01:09:30] configuration question [01:09:56] I have a choose command module, but I’d like to format it into a box I can resize or move [01:10:25] Would I do that somewhere in Module:Choose/doc? [01:11:00] As of now it works fine but shows up as just randomized plain text with no formatting [01:16:50] <18.748.837.46> Was source editing with syntax always there and i just hadnt realized it or was it introduced with 1.46 [01:18:44] Hey just quickly wanting to ask, my wiki is private & when I used to search it on google it would come up, I've tried searching it up again recently and now it's not coming up at all? Would someone be able to help me figure out how to get my wiki to appear in search results? [01:53:46] https://atlas.miraheze.org/wiki/Template:Infobox_treaty [02:03:47] To my wiki https://infernusatomicus.miraheze.org/wiki/Template:Infobox_treaty [05:22:54] ignore this, I figured this out but ran into a completely different issue [05:23:19] [1/2] So this supposedly doesn't exist [05:23:20] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1570670375657017354/image.png?ex=6af7f047&is=6af69ec7&hm=713bc3067ac3b120bc583da86427df572e819b1de6d6f15c6edc7c6a865b71aa& [05:23:38] https://cdn.discordapp.com/attachments/407537962553966603/1570670452760641599/image.png?ex=6af7f059&is=6af69ed9&hm=1f7646ffe75b68c7ef13c0eb0598eb81373d12c17a0f5d836fe2de5e31d462a7& [05:23:54] except it does, but the portal doesn't link to it like the characters ones do just fine [05:24:03] any guesses as to how to fix that by chance? [05:39:06] who here likes democracy [05:39:11] and elections [05:50:05] I don't like voting in elections [05:51:15] no stickers for petra [06:18:09] [1/2] im making a wiki for a flash game, how do i export/get the gif for files using jpexs ? [06:18:09] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1570684174963056761/image.png?ex=6af7fd21&is=6af6aba1&hm=97d341b1187a557b928a1f851d6e2ad5f6319c01ef947ec7d601668df0c929fa& [06:23:34] time fcuk mentioned [06:26:06] yes time fcuk mentioend btaplerpalseplapsepl i need ot onopww [09:11:34] [1/3] is there a way to prevent certain templates from dark mode inversion i dont like how this looks ocmpared to light mode [09:11:34] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1570727814741627010/image.png?ex=6af825c5&is=6af6d445&hm=f53d0290039d0e4ce0f0e3e2bf00efb988b0c549847a5a666e1485c1f86ccd7c& [09:11:34] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1570727815169708163/image.png?ex=6af825c5&is=6af6d445&hm=d24e97a01d4fa0121166a002b248114123b7ad36bf3a9fd77965f3142a1b0486& [09:18:55] YYou have to use thethehehhthelaaguguu haha yayaha woho yaya gif [09:27:55] [1/3] Use the `mw-no-invert` class [09:27:55] [2/3] https://www.mediawiki.org/wiki/Extension:DarkMode#CSS_customization [09:27:55] [3/3] DarkMode is pretty cursed so I would recommend its alternatives [09:31:23] how do i use this in coorelation to a template [09:31:30] it gives me an error when i just put it normally [09:32:00] `Text/span` [09:33:26] right-click and export as an image format [09:33:39] heart emoji [09:33:53] i figured it out dont worry, you have to export it and sometimes it works?? [09:33:55] If it's an animated sprite in Flash, you'll get either a sequence of images for every frame or an animated GIF [11:33:46] I don't know why it was doing that before but a private wiki should not be showing up in search results [11:35:02] Oh weird, well anyway that's good to know, I just thought some things would show up in search results since they're public [11:36:04] oh right with a whitelist? idk then [12:50:09] I’m looking at requesting a wiki but want to make sure it wouldn’t be considered a fork first . While being under MOGAI technically , I’m trying to publicly archive terms I specifically have made all in one spot as a personal wiki . Sorry if I’m misunderstanding something ^^; [13:05:29] been trying to port [this template](https://dev.fandom.com/wiki/Pseudo3D) to my wiki but it has errors (probably cause its meant for fandom) so im asking if theres a preexisting port or something similar [13:10:56] It looks like a standard JS and CSS file. How are you importing these files into your wiki, if you don't mind me asking? [13:11:57] im kind of just copying the text directly and putting them in a replica of the js and css in my wiki [13:12:09] if im doing anything wrong please let me know but the css file told me there were 8 erros [13:12:35] Ah I see, you do have to put it on MediaWiki:Common.js for it to actually, well, run [13:13:00] It would depend on the reviewer for where exactly the threshold is, but I'd say generally if you make a good enough case for why it would be a separate wiki it could be approved. [13:13:04] oh so the replica stuff wasnt needed [13:13:09] It's better if you know how to use Extension:Gadgets IMO [13:14:37] Thank you ! [13:15:01] [1/10] You can copy the linked JS & CSS file into your MediaWiki:Common.js and MediaWiki:Common.css. [13:15:01] [2/10] BUT remove this part in the JS: [13:15:02] [3/10] ```js [13:15:02] [4/10] if (window.PseudoImportCSS !== false) { [13:15:02] [5/10] importArticle({ [13:15:03] [6/10] type: 'style', [13:15:03] [7/10] article: 'u:dev:MediaWiki:Pseudo3D.css', [13:15:03] [8/10] }); [13:15:03] [9/10] } [13:15:04] [10/10] ``` [13:16:09] This is my advice if you just want to get it working but I do recommend learning how to use [[Extension:Gadgets]] because it makes your code that you put on your wiki cleaner [13:16:10] [13:16:31] [[mw:Extension:Gadgets]] [13:16:37] [13:17:33] You can ignore the errors. MediaWiki the software is just silly [13:18:04] I see [13:18:45] to be clear does this mean i remove it in common.js or remove it in the js file itself or both [13:18:50] ok ill try [13:19:44] Your wiki will generally only run MediaWiki:Common.js, MediaWiki:Citizen.js (if you're running Citizen). It won't run for example MediaWiki:MyJS.js [13:20:09] alright [14:32:04] Could you call a JS file in another file? [14:32:23] Like how import statements exist in CSS and python has modules [15:44:47] [1/3] what is this shit that somebody added to my wiki [15:44:48] [2/3] https://cdn.discordapp.com/attachments/407537962553966603/1570826771694096484/image.png?ex=6af881ee&is=6af7306e&hm=4d89b3c2ea5eff7d4d3da10a17a6345cb948a649794fc3f24c54c2f16e573064& [15:44:48] [3/3] https://cdn.discordapp.com/attachments/407537962553966603/1570826772445008082/image.png?ex=6af881ef&is=6af7306f&hm=c999d86e1a66f84a648d08e5baf45e45f5e7205d2d48923be22c7c08b21b7ceb& [15:45:40] [1/2] this is what think link goes to, btw [15:45:40] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1570826993988014120/image.png?ex=6af88223&is=6af730a3&hm=b130585bafe4e849f80afbc427009804a261425b4bc7c5a7cc67e98cfe1bcbde& [15:46:52] Common spam, cool css btw [15:47:05] I got the same thing on my wiki iirc [15:47:13] <_arawynn> you can report the user in CVT [15:48:16] thanks, i wrote it by the seat of my pants with absolutley no CSS knowledge [16:20:34] No problem [16:22:57] yes but it adds in another network call so it's better to use Gadgets [16:59:46] LOL, I just use @import in CSS [17:03:30] [1/2] https://cdn.discordapp.com/attachments/407537962553966603/1570846580507021443/image.jpg?ex=6af89461&is=6af742e1&hm=69a1d5ba55a73dc13e1d220dd6e7c2438f587cf2047076f59be5322b45c2db5a& [17:03:30] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1570846580893032448/image.jpg?ex=6af89461&is=6af742e1&hm=31ea8b88b829f28c2be80b925a2ecbc4835d2a5bcc790e7c691cfc7667336ddc& [17:03:30] [1/2] https://cdn.discordapp.com/attachments/407537962553966603/1570846582117499011/image.jpg?ex=6af89462&is=6af742e2&hm=0ff2aef3fd2bb9be4ab5186cab2d5145ba2399db00e44d3061b10fe565749335& [17:03:31] [2/2] https://cdn.discordapp.com/attachments/407537962553966603/1570846582566428783/image.jpg?ex=6af89462&is=6af742e2&hm=3c36623db57605acd61d10b5e610d4a4e5aa018efb6cf0f9e86503883976e8f6& [17:23:04] that's even worse lol [17:23:21] at least js importing doesn't block page rendering [17:43:20] how to use vue in gadget, i wanna invoke codex component [17:49:47] you need to `require('vue');` and `require('@wikimedia/codex');` iirc [17:52:36] [1/28] i've written my vue file, now i need to invoke it inside javascript. i wrote the following lines at the beginning: [17:52:36] [2/28] ```javascript [17:52:36] [3/28] var createMwApp = require( 'vue' ).createMwApp; [17:52:37] [4/28] var App = require( 'linkconfirm-dialog.vue' ); [17:52:37] [5/28] ``` [17:52:37] [6/28] and have wrote `linkconfirm-dialog[ResourceLoader|package|default|dependencies=vue,@wikimedia/codex]|linkconfirm-dialog.js|linkconfirm-dialog.vue` in `MediaWiki:Gadgets-definition`, but when I reload the page, web console shows an error: [17:52:38] [7/28] ```log [17:52:38] [8/28] Error: Module "linkconfirm-dialog.vue" is not loaded [17:52:38] [9/28] require startup.js:2174 [17:52:39] [10/28] require startup.js:1004 [17:52:39] [11/28] js ext.gadget.linkconfirm-dialog-packageFile-linkconfirm-dialog.js.js:6 [17:52:40] [12/28] js ext.gadget.linkconfirm-dialog-packageFile-linkconfirm-dialog.js.js:44 [17:52:40] [13/28] runScript startup.js:1287 [17:52:41] [14/28] execute startup.js:1408 [17:52:41] [15/28] doPropagation startup.js:753 [17:52:42] [16/28] requestIdleCallback handler*setAndPropagate startup.js:826 [17:52:42] [17/28] markModuleReady startup.js:1246 [17:52:43] [18/28] runScript startup.js:1302 [17:52:43] [19/28] cssHandle startup.js:1356 [17:52:44] [20/28] flushCssBuffer startup.js:602 [17:52:44] [21/28] addEmbeddedCSS startup.js:633 [17:52:45] [22/28] execute startup.js:1370 [17:52:45] [23/28] doPropagation startup.js:753 [17:52:46] [24/28] requestIdleCallback handler*setAndPropagate startup.js:826 [17:52:46] [25/28] impl startup.js:2015 [17:52:47] [26/28] jQuery [17:52:47] [27/28] startup.js:344:9 [17:52:48] [28/28] ``` [17:53:12] you're missing `./` [17:56:02] applied the fix, now waiting for cache to update 🙃 [18:02:24] works now, thanks