[01:17:02] [1/2] Hi, I am creating a wiki for my videogame. I have a python script that parses my game's data and uploads it to a local instance of MediaWiki on my laptop. This (will eventually) includes hundreds of pages and hundreds of images. What's the best way to mirror this information into my wiki on Miraheze? Should I use the script to upload all the data to my local instance and [01:17:03] [2/2] do a bulk export and import into Miraheze? Or just point the script directly to the Miraheze instance and have it upload things there? [03:21:29] so fax [04:36:13] s [04:36:38] i directly uploaded a template using XML data from my wiki's import page [04:36:43] but the template wont work [04:37:11] i exported the template off of fandom, downloaded the xml file, and then uploaded it to my miraheze wiki's import page [04:37:34] but when i put the template on a page it just shows the source code [04:37:38] not the template itself [04:37:52] (its an infobox btw) [04:38:01] is this my fault or what do i do [04:38:51] enable the portableinfobox extension [04:39:21] you can find it just by searching in "manage this wiki's extensions" [04:39:30] k thx [04:39:39] np [04:39:58] if it doesn't work, purge the page or make an empty edit [04:40:36] the template or the page the template is on [04:40:37] or both [04:41:42] the template [04:43:04] yay it works [04:43:24] now i gotta do that for like 10 other templates [04:44:24] wait uh oh [04:44:25] part of the infobox is a collapsable section thingy [04:44:25] and it wont open [04:44:26] (its closed by default) [04:44:39] you won't have to refresh them now [04:44:42] only import them [04:45:03] are you viewing it in preview mode [04:45:26] no im viewing it on a page [04:46:47] weird [04:46:57] wait wtf [04:47:00] nvm it works now [04:47:12] yeah weird [04:47:29] tysm for ur help [04:47:46] ah [04:47:51] and no problem [07:16:29] Where do i go to change `$wgRestrictDisplayTitle`? [07:29:03] In ManageWiki/settings ("change this wiki's additional settings") [07:53:01] Ah, string functions aren't on by default, that explains that too, then [07:53:02] Thank you [08:21:57] Hi so I requested a new wiki and it got approved, but when I try editing or going to any page besides the main page it gives me a permission error because "The action you have requested is limited to users in one of the groups: Members, Administrators." what am I supposed to do here ? [08:45:57] Add yourself to Administrator, problem solved<:EpicFaceMH:912930767972225095> [08:46:36] how do I do that [08:49:34] Special:UserRights [08:49:53] Put your username in there and set yourself as admin [08:50:13] When I try to go to that page it gives the same error [08:50:44] also my account isn't marked as a bureaucrat, which I think it's supposed to isn't it? [08:50:59] Yep [08:51:20] You are supposed to be bureau as you are the wiki creator [08:51:43] File a request on phabricator [08:59:27] okay did that, thank you [10:40:53] i wanna make a custom background for my wiki, whats the preferred size the image needs to be so i can just do cover and not contain? [10:41:00] (stretching = bad...) [12:01:07] nevermind, tried something like 1920 x 930 and it worked well [13:41:18] If you also want to avoid it loading in, make sure it's a jpg and not png [13:41:42] Since these are lighter and don't store transparency which you don't need [14:03:45] If I import wiki pages with this option, is there still a 2 MB file size limit or [15:57:28] is it possible to have a search bar on top of the page? just not for moblie btw im uing citizen skin [16:11:15] <7xing_unasozu> Hey guys, I have enabled VisualEditor extension in the settings, but it seems that VisualEditor does not work [16:11:43] <7xing_unasozu> how can i solve it [16:12:00] try purging the page [16:13:25] <7xing_unasozu> how to purge? ... im a freshman [16:15:02] ah [16:15:04] <7xing_unasozu> o ok i think i got it thx [16:15:16] do ?action=purge [16:15:26] at the end of the page [16:17:40] <7xing_unasozu> oh no [16:18:07] <7xing_unasozu> it still does not work [16:19:24] did you press save after enabling the extension? [16:19:33] <7xing_unasozu> yes [16:20:29] werid can you screenshot your mainpage? [16:21:06] <7xing_unasozu> it only has a "edit source" button [16:21:07] Just because it is enabled in the wiki settings doesn't mean it is enabled in your preferences. [16:22:00] Click the edit source button inside the editor(if enabled in preferences) there should be a pen with a down arrow, click on that then click visual editor. [16:22:34] can someone help me import templates from this wiki main page? they look super cool https://starcitizen.tools/ [16:23:07] it didn't work [16:23:09] <7xing_unasozu, replying to paulgamerboy360> it only has a pen that enables highlight [16:24:31] Did you enable the visual editor in your specific user preferences? [16:24:38] you need to create the page [16:25:02] [1/3] it seems to use some custom CSS, [16:25:02] [2/3] https://starcitizen.tools/Template:Main_page/navigation/styles.css [16:25:03] [3/3] https://starcitizen.tools/Template:Main_page/shared/styles.css [16:25:04] Also make sure the box saying always use visual editor is checked. [16:25:09] thought it would automatically create itself [16:25:25] I can't help much with that but that should help you get somewhere [16:25:40] i think you need to enable template styles somewhere on your wiki, thoug [16:26:16] well [16:26:27] and lua modules [16:27:00] seems overly complicated [16:27:23] <7xing_unasozu, replying to paulgamerboy360> I didn't find the related settings [16:27:31] definitely lol [16:27:33] <7xing_unasozu> werid [16:27:53] Yep, a well made wiki is usually complicated especially with many automations [16:28:14] And with many deep customizations [16:29:14] <7xing_unasozu> it does not have a preference setting like "Enable visual editor" as wikipedia [16:29:20] im guessing its not possible to import this? [16:29:48] possible yes, likely to break also yes [16:29:57] im willing to spend some time to import these [16:30:30] you also need to get the template styles extension [16:30:33] <7xing_unasozu, replying to paulgamerboy360> I found the main problem: this wiki does not have such a setting.. it missed [16:31:32] done [16:32:02] <7xing_unasozu> in wikipedia there does be a prefrence setting that turning on visual editor [16:32:35] i would be convinced that you can make all of this in miraheze... [16:33:25] you can but it'll get confusing if you don't know what you're doing [16:34:54] shoutout to myself for working on the css of the wiki instead of articles just to make it look better [16:35:09] also sometimes visual editor can be fixed by turning it off and on again in namespace settings `Special:ManageWiki/namespaces` [16:35:45] whats the next step? getting xml link? [16:36:08] πŸ’€ [16:36:52] exporting the pages https://starcitizen.tools/Special:Export and importing them on your wiki [16:38:09] <7xing_unasozu, replying to chimecrime> still not work😭 [16:39:14] <7xing_unasozu> oh [16:39:26] <7xing_unasozu> when i purge and refresh the page [16:40:09] <7xing_unasozu> i saw the "edit" button quickly appeared and disappeared [16:40:19] should be correct i think..... [16:41:16] you're exporting the wrong thing [16:41:27] oh.... [16:41:38] it's Template:Main page/navigation [16:41:51] if you export that it should come with everything you need i think [16:42:20] i see [16:42:48] <7xing_unasozu, replying to 7xing_unasozu> and when i clicked the button before it disappeared, the visual editor works! but why does it disappeared after all [16:42:51] nope [16:42:55] thats a template [16:43:06] for the button things [16:43:51] did i misunderstand what tou wanted then [16:44:06] wait do you want all of them? [16:44:10] i only want some templates [16:44:13] not all [16:44:14] <7xing_unasozu> thanks to you all, friends [16:44:26] <7xing_unasozu> anyway i can finally use the visual editor now [16:44:36] oh, well pick the ones you want then [16:44:47] does it still disappear? [16:44:52] the editing one i picked was this [16:45:16] as a test if it even works [16:45:28] <7xing_unasozu, replying to chimecrime> no, at least it is stable now [16:45:45] ohhhhh [16:46:14] <7xing_unasozu> πŸ‘ [16:46:41] im guessing this ok? [16:46:54] importing doc just incase [16:48:14] Are fonts not working for anyone else on my wiki it's just not no css fonts no importing them from urls or whatever its just not work [16:48:40] should be [16:48:46] link your wiki? [16:49:15] https://mysingingmonsters.miraheze.org/wiki/Main_Page mind the cringe subject matter and probably bad web design [16:49:44] It could also be my wifi but i asked another person and the fonts werent working for them [16:50:08] so we either both have sucky wifi, fonts are broken, or i just suck at css [16:51:04] I tried to overwrite the css for my wiki, but the skin wont change at all [16:52:17] what should i fill? [16:54:03] wikiname, the prefix will be in the page history in front of the usernames [16:57:16] done [16:58:29] copy paste this? [17:00:20] [1/2] maybe if you change the first part of it, you can look at this as a working example [17:00:21] [2/2] https://discord.com/channels/407504499280707585/1159273670880014377/1159273670880014377 [17:02:14] oh so they changed it thats annoying [17:03:08] i dont think it worked lol.... [17:04:00] import the styles page [17:04:37] or maybe that part is not working <:ThinkerMH:912930078646730792> [17:04:42] this shouldnt be fine? [17:04:57] thats the same thing on that wiki [17:06:01] check the styles pages tho [17:07:30] they might have a wrong content model, happens sometimes [17:11:02] Ah [17:29:55] Why is the blogpage extension grayed out???? [17:37:36] it has requirements [17:37:44] you have to enable those first, then save [17:37:46] and then you can enable it [17:37:59] I did but it is still grayed out [17:42:36] I don't know how to find it πŸ’€ [17:43:59] me after importing a wikitext version of a lua template only to find out that the documentation template it uses implements like 7 lua modules [17:44:19] or rather [17:44:27] i think the template itself still uses lua [17:45:21] yeah [17:48:42] im currently being driven insane [17:49:02] the links of the styles pages it uses are in the template [17:49:31] do NOT import fandom dev wiki modules [17:49:36] worst mistake of my life [17:49:59] dang, rip [17:51:43] at last i fixed all the lua errors, yay [17:52:02] 😭 [17:55:52] congratulations! [17:56:02] i never screwed around with lua on mediawiki [17:56:06] motsly because i dislike lua [17:57:24] It seems ok to me [17:58:29] My brain hurt dam [17:58:53] my lua knowledge is near zero, it just turns out that fandom lets you use dev modules without actually importing them, the issue with this is that it only works on fandom [17:59:14] so i had to import all the modules manually and change things so that it uses those instead [18:01:45] never really used fandom so cant relate [18:05:56] Nvm I did something wrong I think [18:09:53] Nvm rounded corners don't work [18:09:59] It's fine ig [18:36:36] I enabled them but the extension is still greyed out. [18:39:08] weird, someone else might know [18:41:03] nvmd it took about an hour for it to update the options, it is now available. I guess the wiki is just running slow. [18:44:47] Speaking of wiki running slow, is it possible that an edit I completed 5 hours ago is still not showing up for other users? The page looks fine on my end on my account but if I'm logged out, I cannot see the changes, and other users are telling me it's not updated. Cache clearing didn't work I'm a bit bamboozled [18:45:08] It was a +9000 byte edit so not too massive or anything [18:45:45] that is a pretty large addition, an average addition is about 5,000 bytes. [18:45:47] Other users can also see the change in the edit log but it doesn't appear visually [18:46:50] [1/2] Yeah it is tbf but normally it's visible to everyone immediately (I run online reality games so when a game ends, I update the wiki page with all relevant info) [18:46:51] [2/2] Just this time, nobody can see it except me lmao [18:49:45] Have your done a purge of the page itself (add `?action=purge` to the URL in the address bar, and then click the OK button that appear on the page to confirm) [18:50:40] Yeah - a couple times [18:51:23] Is it possible to request a php file import? One of my skins custom css wont work without the template which ends up being a php file. [19:15:44] I'm having an issue where, even though RegexFunctions is enabled under Special:ManageWiki/extensions, the parser functions that it adds aren't working, and the extension and its parser function hooks don't appear under Special:Version [19:25:42] just got a 503, anyone else experiencing one? [19:26:44] JUST went away, odd [19:26:47] i got logged out, not sure if that's in any way related tho since it's not the first time these past few days [19:27:01] monthly logouts from what ive been told is normal [19:30:50] Monthly log outs shouldn't happen if you have it set to keep me logged in. [19:35:19] I do, and it hasn't been monthly [19:35:20] so idk [19:39:01] i just got a 503 wtf [19:39:30] Yea I have the box checked but it makes me log in every single time. [19:40:27] Why did I get a 503? [20:00:29] it happens sometimes [20:07:48] Should i make a #support thread [20:09:43] best way to get help on a specific issue without it getting lost here in general. sometimes this channel moves pretty quickly. [21:44:25] I'm considering changing the license my wiki is under to one that is not in the stock list of licenses. Where would I file a request to have this license added to my wiki?