[00:01:06] thank you so much! [00:25:48] https://youtu.be/1giQVuoTAFM [00:36:55] I just had the bad Gateway message on my wiki [00:38:45] If it is just a one time thing, that went away after a reload, it usually safe to just chalk it up to a hiccup. Ofc if it keeps happening regularly then it is worth reporting [00:46:27] what is a bad Gateway message? [00:47:11] when you try to submit edit and you get '504 bad gateway" error in response [00:47:21] Ohhh ok [00:47:27] @netidiebele just that the wiki won't load [00:48:14] it sometimes happen if there's too much traffic, but it is unusual. [00:48:40] except when we have experienced DDOS, then it was truly obnoxious. [01:16:46] Hi [01:16:53] Uhh im a little stuck lol [01:17:19] I cant figure out how to change the logo in the top left of my wiki [01:19:10] go to Special:ManageWiki/settings, then the Styling tab [01:19:20] Oki [01:19:25] Ill try that, one minute [01:19:55] Logo ($wgLogo)? [01:20:40] yeap [01:20:48] I thought this was the logo? [01:21:41] you need to paste a full link in there. if you have the logo on your wiki you can go to the file and click on it again to get a link with "static" in it [01:21:51] That's the Favicon [01:21:56] ooooooh [01:22:04] Thanks guys!! [01:22:13] Im a bit new to this 😅 [01:24:15] Okay already got another question lol, how do I view all my uploaded files? [01:24:58] Special:UncategorizedFiles or Special:ListFiles [01:25:33] thank you! [01:26:51] Or you might specifically want Special:MyUploads to see only your uploads. [01:27:20] That'll be very useful for when I invite more editors! [01:27:40] I hope its okay if I end up asking a lot of questions 😓 [01:29:11] that's what this place is for, so yes 😄 [01:38:01] So the main page that was created, I just edit that one for my main page right? [01:38:18] I just ask because this is throwing me off [01:38:31] Mentioning that it "hasn't been replaced yet." [01:38:44] Yes. [01:38:53] Alright cool [01:39:44] it's like saying the content is a placeholder haha [01:39:59] Ahh that makes sense [01:40:01] Thanks! [01:43:53] So how do I make my wiki look...good? [01:44:00] I saw something about a theme [01:44:17] Do i need to upload image files that have embeded links? [01:45:15] I know thats a bit of a broad question [01:46:38] But how do I go from plain wikipedia type look, to a cool look like that of more official game wikis. [01:46:50] I did see the visual editor [01:47:35] Is it kinda like coding? [01:47:41] mostly CSS [01:47:45] yeap [01:47:47] Oh gosh... [01:47:54] I got some learning to do 😅 [01:48:14] But im determined, I hate fandom, which is why I started this new wiki. [01:48:30] Also the Fandom one is rather outdated [01:48:59] Is there a good video guide I could follow? Or will it be mostly forum scouring? [01:50:03] Oh also my logo doesnt seem to be changing [01:50:09] The favicon did tho [01:51:59] And I did clear my cache, several times [01:54:43] [1/2] this site has a lot of info [01:54:43] [2/2] https://www.w3schools.com/css/css_selectors.asp [01:56:24] <:Puroheart:934524727500894229> [01:57:16] something that will help a lot is if you get familiar with the inspect tool in your browser [01:57:40] Really? Interesting. [01:59:12] yeap, you can select stuff with it and type in there. it will autofill the functions for you and you can preview in real time what it does [01:59:35] Once you mastered on how to use inspect tool and basic CSS, it should be easy to customize the look of the wiki [01:59:57] Themes are actually most of CSS btw [02:00:25] Yeah I'll be honest, I have not learned any CSS. [02:00:32] But I guess this is the time to [02:00:46] Time to do what I always do, stumble my way to the finish line. [02:00:53] CSS is actually very easy to learn, they are some of the easiest stuffs out there [02:01:07] Easy like Python easy? [02:01:16] easier than python [02:01:19] EASIER!? [02:01:21] DAMN [02:01:25] Okay okay [02:04:14] [1/2] I mean I would say it is probably easier to learn the basics than most other programming, as it is not really a true programming language, though some of the deeper stuff and how inhertance works can be extremely complicated I find a times, and it might just be better to trial and error, and sometimes just go: [02:04:14] [2/2] Doing it like this seems to work, but I have no idea why [02:07:55] [1/2] @firezombie234 this might also help for the basics of selectors [02:07:55] [2/2] https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors [02:09:48] I mean that one is essentially the official documentation. I do find that w3schools most times are FAR easier to understand (though the MDN version does go a bit deepers usually, maybe exactly why it can be harder to understand) [02:10:32] It seems easier just because of the Try it Yourself button [02:10:49] Like that example seems really helpful [02:11:09] this might sound crazy but I actually have the discord template for USSR RP [02:11:28] Anyone want to use it [02:13:14] [1/2] I mean it may be for some, but I rarely use that, and in terms of the css needed for wiki it may not always be that usefull partly due to the few restrictions and partly the parts that are already part of the skins that we don't see unless inspecting the entire sourcecode in the inspector. It is really to me at least rather the way it is written that tends [02:13:14] [2/2] to be easier to understand for me on w3schools, but ofc with all such kinds of things YMMV [02:32:14] @chimecrime Is there anyway to just get the image without the weird box around it? [02:34:45] yeah, if you use an image without frame or thumb [02:34:46] https://www.mediawiki.org/wiki/Help:Images#Format [02:35:02] that look like an infobox [02:35:56] yeah, I was just thinking of the frame, not the image box if you meant hat [02:35:57] Uhh I think Im using the "VisualEditor" [02:36:05] And I clicked Insert Image [02:36:26] Oh the box that surrounds the actual image [02:36:34] Where the caption would go [02:38:31] that's the image format stuff, you can change it in visual editor by editing the image [02:39:13] <:4912sadgepray:851711585739472898> thank you! [02:39:18] it worked! [02:39:53] Much better looking [02:42:45] That said, while Visual Editor is easier to use (when it works), there are things that you can't do with visual editor sometimes, and requires you to go into source editing. And in particular if you are an administrator and/or bureaucrat of a wiki, you really NEED to learn how to use source editor if you want to get anywhere [02:44:19] Understood. My plan is to use the visual editor to get the general layout down, then use the source editing to add the nicer details [02:44:34] Is that a good plan? [02:46:05] Sounds fair enough. I mean personally I use source editor for everything, but I did have prior programming knowledge before starting wiki'ing so that to makes it seem like childs play to use, but ofc I understand that may not be the case for everyone [03:15:10] Hello [03:15:54] Does any one have the experience editing the Timeless.css to make it show custom text in the top right instead of the sitename? [03:16:03] top left [03:20:17] @lakelimbo I could use your help [03:20:29] Remember me, it's wraith from Fanon Wiki [03:22:59] If you have a way to make it happen that @gummiel isn't aware of, then that'd be great. [03:23:07] oops [03:23:15] sorry for at [03:26:20] hello yes [03:26:43] (if you want you can drop a dm and i'll reply to you tomorrow because it's almost 1 am for me) [03:27:04] okay, sounds good [03:58:17] @gummiel I cant figure out how to change this [03:59:41] Or anyone else I guess could help me [03:59:53] Change in what way? [04:00:36] Change it to a image [04:01:06] Is it a source thing? [04:01:28] Or can I attach it like I did the favicon [04:01:29] Check https://discord.com/channels/407504499280707585/1169468642736492574 had a discussion about logo in there not long ago [04:01:55] Ill let you know if it works [04:13:42] ¯\_(ツ)_/¯ [04:13:53] And I did clear my miraheze cache [04:14:06] and just in case, mediawiki cache as well [04:21:23] it shows up if you switch the skin, maybe a 2022 vector thing? [04:22:06] Special:ManageWiki/extensions#mw-section-skins? [04:22:39] Currently, MinervaNue it the only one ticked [04:22:44] yeah, you can slap a ?useskin=Timeless at the end of the url to preview a skin, that's what I did haha [04:26:34] also not saying you should change the skin, just that it works if changes so the image itself is fine. there may be some way to get a logo to work on vector 2022, I'm not familiar with it <:ThinkerMH:912930078646730792> [04:48:24] Still having issues @chimecrime [04:48:32] Not really sure what to do... [04:49:25] this maybe? [04:50:17] Oki [04:50:20] One minu [04:50:28] should be same place in settings, just below it [04:51:07] In the skins section? [04:52:09] Also what even are the skins [04:52:18] I tick the box for one, save and nothing happens [04:52:46] Users can switch them. You have to uncheck the default selection. [04:53:16] MinervaNeue? [04:53:36] [1/2] If you leave only 1 checked, it will be what the wiki uses. If you leave more than one checked people can switch between them. [04:53:37] [2/2] Yep, Minerva. [04:54:44] Gamepress is the only one checked [04:54:45] No change [04:55:15] no in the logo settings place [04:55:16] Acutally, yeah I was just about to say this. I did that to test, and it isn't working for me either hold on. [04:55:28] oh [04:56:25] Oh, yeah if you are just chaning the logo lol, do that. [04:57:50] @chimecrime Getting somewhere [04:57:56] Now I need to remove the text [04:59:18] that and the logo size can be changed with css [04:59:35] <:Z1Pwease:813359866143571998> [04:59:52] Ahem [04:59:58] Where do I go to work on that [05:00:42] Well I do want a nice theme for my wiki [05:01:16] [1/2] in extensions menu you make skin available to use on your wiki [05:01:17] [2/2] to set up a default skin for the wiki you should go to additional settings, styling tab [05:02:19] Default Slin [05:02:26] At the top of the page... [05:02:31] some skins are hard coded into the wiki tho so they're forever enabled, but you can hide some from using by other users, who can choose preferable skin in their user settings [05:03:08] huh wait so If you happen to enable the wrong skin you just cant remove it? [05:04:22] not sure what you mean, but sometimes admin would goof w/ some settings and it's gonna be very confusing to revert stuff back [05:05:01] [1/2] >hard coded into the wiki tho so they're forever enabled [05:05:01] [2/2] so you just cant remove them? [05:05:02] probably means you can't disable some of the default skins already there [05:05:25] Ah [05:05:29] Yeah that makes sense [05:06:10] yeah, can't disable, but can hide from use anyway [05:07:16] Well I know how to use skins now [05:07:27] So I can spend some time scrolling through those later [05:08:20] What the hell did the evelution skin do... [05:08:33] also you place css code on a page like MediaWiki:Common.css, this is sitewide but updates slowly. you can also make a User:(yourusername)/common.css page, this updates right away but is only visible to you [05:08:33] oh dear [05:08:49] evelution is ... something [05:08:58] tf [05:09:07] wha- [05:09:41] we wouldn't have if it if one (1) wasn't very obnoxious about adding it [05:10:33] I think it fixed itself [05:11:46] It looks kinda nice I guess [05:12:04] Its kinda what I'd like for the layout of the wiki [05:12:42] At least it keeps me from having to mess with this [05:21:02] How do I rename a page? [05:24:19] "move this page" in toolbar. in that skin it's... somewhere. tbh your chosen skin will make things a bit difficult for you, as you're still learning and probably less ppl have experience with that one [05:24:56] Its a really funny skin tbh [05:25:12] theres a 3/4 chance that the first time you load it page it just breaks [05:30:09] Wait is the issue that I cannot have ## in my title? @chimecrime [05:31:01] maybe? # is used to link to a specific header/part of the page [05:31:17] So thats probably the issue [05:31:21] Thats a bit sad [05:31:26] Bc thats the enemies name [05:41:38] yes "A MediaWiki page name can have a leading space but not a trailing space. The ASCII characters that are not allowed in MediaWiki page names are the three types of brackets, sharp sign, underscore and vertical bar, and all control characters (including tabs and newlines)." https://www.mediawiki.org/wiki/Manual:PAGENAMEE_encoding [05:41:45] @chimecrime (From the Fandom page) Im guessing if I want something like this it'll take some CSS editing? [05:42:35] that looks like an infobox, and yes [05:42:45] Okay [05:42:46] Thanks [05:44:02] [1/2] [[User:Legroom/Infoboxes]] [05:44:02] https://meta.miraheze.org/wiki/User:Legroom/Infoboxes [05:44:02] [2/2] just in case [05:44:03] [05:45:05] Oh thanks [05:53:55] Going to spend the next few hours porting over articles, and make sure everything is displaying correct. 😛 [06:03:58] Does anyone know if there is a reliable way to impliment leaflet maps? [06:22:12] example link? [06:23:56] [06:26:07] [1/2] ah those [06:26:07] [2/2] I've been meaning to look them up but don't have time [06:28:11] anyone know how to hide the page name when on the home page? i have seen wikis that have done so i think its possible [06:28:58] lemme check [06:29:47] you want to remove them from all pages, or only main page? [06:31:12] sorry I misread lol [06:31:57] [1/3] go to these pages [06:31:57] [2/3] `MediaWiki:Mainpage-title` [06:31:57] [3/3] `MediaWiki:Mainpage-title-loggedin` [06:32:32] by default they have only `-` [06:33:07] you should just remove it and save, basically they should be blank [06:42:29] it removed the big text but this is still there [06:42:55] [1/4] Maps extension is available on Miraheze, it should work the same way as on FANDOM (unless they have some quirky additional stuff) [06:42:55] [2/4] [06:42:55] [3/4] as for that particular thing, Leaflet, I honestly don't know, so you should just try [06:42:56] [4/4] [06:45:01] `MediaWiki:Tagline` [06:47:02] [[mw:Manual:Tagline (Site Subtitle)]] [06:47:02] https://www.mediawiki.org/wiki/Manual:Tagline_(Site_Subtitle) [06:47:04] [06:50:57] [1/2] is there some other way to get thumbnails for category items? only thing I can find is this <:ThinkerMH:912930078646730792> [06:50:58] [2/2] https://dev.fandom.com/wiki/CategoryIcon [06:52:15] Oh sick, I'll look into that. [06:54:58] it's a single js script but settings have to be done inside it? <:ThinkerMH:912930078646730792> [06:58:31] yeah not sure how that would work [07:39:35] Alright, got everything ported over. 😛 [07:40:03] "Wiki Wiki" fixed. XD [08:01:03] @Site Reliability Engineers , error 503 on Meta. [08:01:21] other wikis too [08:01:25] persistent [08:01:25] I got a 503 as I was editing 🥲 [08:01:32] me too [08:02:32] void is sleeping? [08:03:34] seems like it's fixed [08:03:40] managed to save [09:32:09] so im guessing this is probably really simple but i haven't been able to find any good tutorial on the internet so would anyone know how to make a button you can click to go to another page [09:42:02] like these? [09:44:16] something similar to this [09:45:11] well, ame stuff technically [09:45:19] HTML + CSS [09:46:25] gonna be hard w/o knowing basics, plenty of free tutorials online like w3schools [09:46:39] and you can look up the code of this very wiki [09:46:45] as an example [09:48:43] yea maybe trying to make a wiki with out any coding skills wasn't a great idea, will check out that w3schools thing though [09:52:31] it can help to look at the source to see how they do it. star citizen wiki basically just has a container with an image and then some text over it (like "ships"), and then style the hell out of it with CSS (https://starcitizen.tools/index.php?title=Template:Main_page/navigation&action=edit) [09:54:42] [1/10] a simple button code would look like this on page [09:54:43] [2/10] `[[Some page link]]/span` [09:54:43] https://meta.miraheze.org/wiki/Some_page_link [09:54:43] [3/10] and in CSS (thing that defines look) you go [09:54:43] [4/10] `.somebutton { [09:54:44] [5/10] padding: 3px; [09:54:44] [6/10] color: white; [09:54:44] [7/10] background: blue;` [09:54:44] [8/10] or [09:54:45] [9/10] `background-image: URL)"`raw image link`"); [09:54:45] [10/10] }` [10:09:53] where do i put in the css code [10:11:45] Mediawiki:Commons.css and Mobile:Commons.css [10:25:34] it just looks like this [11:09:19] [1/2] still does? [11:09:20] [2/2] CSS needs a bit of time to start working [11:19:01] oh yea its working now i must had to clear my browser cache [11:23:00] im guessing this is how it should look like [11:33:38] yeah, that just was an example [11:33:49] lots of different stuff can be done via CSS [11:34:49] I always advice any beginner wiki admin to learn these things, starting slowly [13:32:25] anyone else keep getting logged out of miraheze or is it just me [13:32:59] it happens sometimes [13:33:14] usually i don't note anything about it but it's happened to me 2 days in a row now [13:33:17] monthly or every day for you? [13:33:18] just makes me wonderin' whats going on [13:33:20] ah [13:33:39] I was logged out yesterday after a month [13:34:58] damn [13:35:50] I don't remember if we have phab task, but it was discussed fairly recently [13:36:16] the auth system is pretty finicky [13:36:34] sre considered to change it [13:46:24] There's a phab task for it. [13:46:44] I think its a varnish issue rather than a CentralAuth issue. [13:48:01] hey man, and just today was thinking to ask you [13:48:19] regarding portable infobox [13:48:47] I remember it was a thing back on fandom, and it's here on Mira too [13:49:03] when you click image it opens static url [13:49:14] instead mediaviewer or file page [13:50:25] I don't remember if implemented image via navigation tag instead of image does the right thing tho, I might try to check later [13:56:15] You can check what I'm doing here: https://vampirediaries.fandom.com/wiki/Elena_Gilbert opens in media viewer? [13:56:57] seems to just be `` [13:57:42] nope [13:57:51] opens static [13:57:53] it doesn't open in media for you? [13:58:00] are you logged in? [13:58:05] opens in media viewer for me [13:58:14] no, I'll check on laptop later [13:58:29] but image source is standard, always doing that [13:59:34] weird, do you have a page on MH I can check to see if it does the same for me? [14:02:15] I'll get back on it in couple of hours [14:11:35] PI images opens fine in mediaviewer for me too [14:18:58] [1/3] Hi. Some images on my wiki look like they are redlinks, but not. Is a thing about interwiki reading the commons wikimedia file. [14:18:58] [2/3] for example this page: [14:18:59] [3/3] to this file: [14:19:47] i think it needs some php update interwiki or something. What do you think? [14:25:33] [1/2] it does not appear on `Categoría:Páginas con enlaces rotos a archivos` so i understand these has no broken link, only needs refresh, but i how i can locate all of the pages? [14:25:33] [2/2] I think is easier to do a php update or similar [15:44:28] 💀 [15:45:26] How is going? [15:45:33] @Site Reliability Engineers ^ [15:50:38] the site is slow now [15:58:03] yes. I wish more people here volunteered to help maintain Miraheze [16:02:47] seems to be resolved [16:02:57] still, twice today [16:09:31] the site is very unstable, it works one second and doesn't the next [16:09:48] I wish I had the know-how [16:11:00] maybe people on the community can tell you what are the requirements [16:12:07] did you read the previous doubt i posted on general channel about interwiki commons images? [16:12:39] What prefix does wikipedia have? [16:12:50] w: [16:13:07] thanks [16:14:08] sorry I don't know stuff on Commons and interwiki that much [16:16:29] i think it needs an update only, but done on backend [16:24:24] <__mangone__> how long does it normally take for all the stuff to be imported from my old wiki? [16:28:54] is there any reccomendations to fix the awful new mediawiki layout [16:29:23] I like them moving stuff to these tabs but they break the page when open, and you cant even click on any of the links it just closes the tab again [16:33:43] That is vector 2022 bit with custom css [16:34:04] they changed some parts of Timeless, pretty annoying [16:34:36] [1/2] We both share Timeless on our wikis. [16:34:36] [2/2] What think i have to update? [16:35:20] guess you'll have to disable css in inspector and gradually add each rule, to see what breaks things and what doesn't work [16:35:31] I figured.... [16:35:37] sucks but doable [16:36:03] some heading styling, thumb images broke across all skins, some changes in icons [16:36:32] Yes. The figure caption already uodated that [16:59:51] very slow site now wow [17:02:56] so is the site on a another ddos attack or is this just stability issues ? [17:28:30] @orduin you here? [17:29:42] somewhat [17:29:47] Best answer [17:45:41] <__mangone__, replying to __mangone__> ? [17:47:37] @paladox any chance you'll go tru import requests, including phab ones? some tasks are stuck for weeks now [17:51:07] [1/2] anyone else still experiencing 502/503? [17:51:08] [2/2] things are fine on my end [17:58:26] sure [18:20:02] Sad that we have such lack of volunteers helping attend these questions [19:13:26] It’s a shame that so much of the stuff that needs to be manual requires such a high level of trust. [19:13:31] I mean it’s good to be secure [19:19:39] hi there! anyone knows why a translated miraheze main page might be showing a different number of wikis hosted than the original page? [19:20:11] Parser cache possibly [19:20:18] Magic words shouldn't be translated [19:20:27] bunfluff: ^ [19:22:23] hmmm i was working on translating this page and the code that displays the number of them is the same ($numberofwikis) [19:23:16] i wondered if it was maybe an issue with browser or device at first but it wasn't [19:23:32] bunfluff: what's the page [19:24:04] https://meta.miraheze.org/wiki/Miraheze/pt-br [19:24:04] here [19:24:56] Português best language [19:25:23] Yep [19:25:29] It was just parser cache [19:25:44] I've purged it using ?action=purge and it updated bunfluff [19:26:30] oo thanks! it also seemed to have fixed a formatting issue in the page ^_^ [19:26:44] Parser cache can be painful sometimes [19:27:23] But if something just looks outdated compared to the actual source ?action=purge is a good first step as it forces a full reparse [19:27:57] i genuinely have no idea how to do that but thank you so much! [19:28:53] Add ?action=purge or &action=purge if there's already something with a ? At start to the end of the url [19:28:59] And press the big blue button [20:33:00] Comcast your sins to the skeleton [20:33:51] can you please post random stuff in #offtopic ? [20:34:38] Or not at all [20:36:52] ok sorry [20:43:31] where do i /auth [20:45:51] .auth [20:49:38] question [20:49:47] what category would a wiki for a webcomic go in? [20:51:33] theandsystem: fandom [20:51:50] oh truee [20:51:56] even if it's an official wiki? [20:52:56] What's the difference between "Encyclopedia (general)" and "Encyclopedia (specialized)"? [20:53:29] One is for general knowledge, the other is for a specific topic [20:53:39] Thank you sar [20:54:07] General encyclopedias try to document the full wealth of knowledge of everything. Specialized ones try to document the full wealth of knowledge of some specific field [20:54:10] No prob :) [20:54:54] [1/2] for example, a general encyclopedia would have entries for, say, microscopes, and planets, and the krebbs cycle [20:54:54] [2/2] but each of these wouldn't go in the same specialized encyclopedias. [21:02:01] [1/2] Greetings, I'm having quite a sudden urgent matter on my hands and I don't know its gravity, but my Mediawiki:Common.css page has become inaccessible after I've made a small edit. It shows up as an Error and as being empty and if I manage to go through that, editing it and saving, it gives me an edit conflict (despite not having the page open anywhere or anyone else editing i [21:02:01] [2/2] t afaik) [21:03:48] I'm trying to save a page but one of my page is completely disappeared \ [21:03:55] Similar issue here [21:03:57] OH [21:04:02] Oh christ [21:04:08] link? [21:04:17] https://stardustlabs.miraheze.org/wiki/MediaWiki:Common.css [21:04:41] @Site Reliability Engineers [21:04:54] WEE WOO moment [21:04:57] I try to edit a page and it just disappears [21:05:22] Hmm [21:05:26] Wait [21:05:29] Let me get this right [21:05:39] You press save, and pages are vanishing [21:05:43] On multiple wikis [21:06:16] tldr, any page that gets edited rn nukes itself and cannot be reedited because of an edit conflict [21:06:26] Wait [21:06:29] Hang on [21:06:33] That's impossible [21:06:40] how long does it take to get your wiki verified? [21:06:42] no its posivle [21:06:50] That is not what you're supposed to do mediawiki [21:07:23] tldr, I just closed my wiki for safekeeping [21:07:37] Happened for me [21:07:37] hmm [21:07:47] Well it didn't happen on testwiki [21:07:54] I know what's happening I think [21:07:58] I have no idea why [21:08:02] @paladox which wiki [21:08:13] login [21:08:45] seems to be fixed when reverting wgCommentTempTableSchemaMigrationStage [21:08:51] which is strange as i ran the script [21:09:08] Okay [21:09:13] Let's revert then [21:09:20] It obviously didn't work properly [21:09:31] bless you (I have no clue what that meant) [21:11:08] We'd only gone READ_NEW not NEW so no corruption [21:11:26] @paladox do you have the output of the script and exact command ran? [21:11:35] There is small corruption it seems? [21:11:53] for example i carn't edit my user page on login now (after saving before i did the revert above) [21:11:59] i carn't delete it either [21:12:45] No and yes. `sudo -u www-data /usr/local/bin/foreachwikiindblist /srv/mediawiki/cache/databases.json /srv/mediawiki/w/maintenance/migrateRevisionCommentTemp.php` [21:13:18] Is happening in different places. Maybe is something global [21:14:13] That is not good [21:14:30] There shouldn't be any corruption with Read_new [21:14:35] <:ThinkerMH:912930078646730792> [21:14:49] Do you get an exception? [21:15:09] Well it's def happening to me, idk how to be more descriptive or of help than that [21:15:23] when deleting yeh [21:15:31] When editing and saving it doesn't let me [21:15:34] @paladox what is the exception [21:15:37] and shows an old version of the page [21:15:39] I need errors [21:15:40] LogicException [21:15:46] Full trace [21:15:54] revision doesn't exist it says. [21:16:03] [1/12] > from /srv/mediawiki/w/includes/page/DeletePage.php(562) [21:16:03] [2/12] > #0 /srv/mediawiki/w/includes/page/DeletePage.php(465): MediaWiki\Page\DeletePage->deleteInternal(WikiPage, string, string) [21:16:04] [3/12] > #1 /srv/mediawiki/w/includes/page/DeletePage.php(367): MediaWiki\Page\DeletePage->deleteUnsafe(string) [21:16:04] [4/12] > #2 /srv/mediawiki/w/includes/actions/DeleteAction.php(163): MediaWiki\Page\DeletePage->deleteIfAllowed(string) [21:16:04] [5/12] > #3 /srv/mediawiki/w/includes/actions/DeleteAction.php(115): DeleteAction->tempDelete() [21:16:05] [6/12] > #4 /srv/mediawiki/w/includes/MediaWiki.php(556): DeleteAction->show() [21:16:05] [7/12] > #5 /srv/mediawiki/w/includes/MediaWiki.php(333): MediaWiki->performAction(Article, MediaWiki\Title\Title) [21:16:05] [8/12] > #6 /srv/mediawiki/w/includes/MediaWiki.php(923): MediaWiki->performRequest() [21:16:06] [9/12] > #7 /srv/mediawiki/w/includes/MediaWiki.php(576): MediaWiki->main() [21:16:06] [10/12] > #8 /srv/mediawiki/w/index.php(50): MediaWiki->run() [21:16:06] [11/12] > #9 /srv/mediawiki/w/index.php(46): wfIndexMain() [21:16:07] [12/12] > #10 {main} [21:16:21] [1/2] I managed to save the entire source file there is a lot of stuff which took weeks of work to get that back and redo that would be very disappointing. [21:16:21] [2/2] now that I know that this happens I am going to split things up for safekeeping. [21:16:58] Where/how can I get that? [21:17:20] @paladox okay, somehow that's worse than I imagined [21:17:28] I have no idea why that would happen [21:17:36] Why wouldn't mediawiki fail earlier [21:17:45] Mainly aimed at @paladox [21:18:12] @orduin around? [21:18:13] I don't know if this is the same thing but this Template I have is not working. I edited it just a moment ago. [21:18:19] Aight, just wanted to know if mine can help since it's happening to me to [21:18:22] working on it [21:18:22] moments ago? [21:18:26] @carhles yes [21:18:29] skweezy [21:18:31] thx yall [21:18:45] like 5 mins ago [21:18:50] ah ok [21:19:08] you guys run some script earlier? w/ all that 1.41 talk [21:19:12] well at 21:08 i deployed [21:19:29] I have no idea how we can automatically fix corruption during the time the bad config was deployed [21:19:32] Or why it was bad [21:20:09] This happened to me on my dev instance when switching from REL1_40 to master and back and forth. Should be possible to fix, as I know update.php fixes it. [21:20:36] <:bloomPanic:860724221264920616> suddenly glad we haven't edited our wikis in a couple days [21:20:48] @orduin how? [21:21:14] I dont understand any of this server stuff but uh good luck guys <:DoneMH:775407710400675940> [21:21:46] Not sure, all I know is I ran update.php and the problem went away [21:22:02] @orduin we don't run update.php though [21:22:17] [1/2] I just created a new page and I could save it and everything is fine however the original page is completely corrupted. [21:22:17] [2/2] But doesn't matter I was planning to split up anyway it was getting too big might as well start now. [21:22:24] I don't understand it. I am very much talking out loud. [21:22:42] @orduin what does uodate.php do for 1.40? [21:23:17] [1/2] I must once again say how impressed I am with the tech volunteers we have and how quickly they jump on issues like the recent DDOS problem and now this edit error issue. [21:23:17] [2/2] God bless y'all! [21:23:47] <:thistbh:764649024875528192> [21:24:17] I admire the hell out of all of your 🫡 thank you for everything you do [21:24:40] cause i dont get half this [21:24:49] so is it safe for me to start splitting up the page into 4 segments each on a separate page ? [21:25:36] i'd wait until the tech folks tell us they've resolved the edit save issue. [21:25:44] I just saved an edit on my wiki, no errors [21:25:54] but better wait, I agree [21:26:21] No new errors should happen [21:27:15] [1/2] because I was scared that lost the entire archive of 2023 but I managed to save the source [21:27:15] [2/2] into a notepad file. [21:28:48] I don't think there should be any data loss [21:30:05] If I had to guess though, it seems like the compat flags are not working properly [21:30:14] oh? [21:30:45] One broken revision is showing `[rev_comment_id] => 0` in database [21:34:00] What about https://login.miraheze.org/wiki/User:Paladox @orduin ? [21:34:26] That's the page I'm checking [21:35:29] ohhhh [21:35:35] that's strange [21:35:36] well there is also my page thats completely broken but I guess I'll delete it and starts splitting it up it was getting to big anyway [21:35:42] i just ran the migrate script on it [21:35:49] please wait [21:35:51] and it said nothing to run even tho i did it with --force [21:36:34] [1/2] Not sure about that. When I try to repost the original content to the page I edited that broke, I get this: [21:36:34] [2/2] And if I try to revert the last edit the page shows, it gives an fatal error message. [21:36:56] Yes. I am thankful for our volunteers too. Wish i could help too but i don't k ow technical stuff, only user-level stuff [21:42:42] Check the revision_comment_temp page for the id and replace it? [21:42:50] Still having a edit conflict on the page that got nuked on my side [21:43:23] Seems to be missing [21:43:44] The table, or the entry for that page? [21:44:55] The entry for that revision [21:45:09] [1/2] > MariaDB [loginwiki]> select * from revision_comment_temp where revcomment_rev = 14056; [21:45:09] [2/2] > Empty set (0.001 sec) [21:45:43] So that's the problem then, it wasn't writing to new schema [21:45:50] Agent says try migrateComments.php [21:46:08] [1/4] /sorry about breaking tru, but I finally checked and now going to sleep/ [21:46:08] [2/4] on that fandom page I get viewer, both logged in and out, get static on mobile and on m3 click [21:46:08] [3/4] now on miraheze I get static when viewer is not enabled, while clicking thumb or gallery images takes me to file pages [21:46:09] [4/4] when viewer is enabled, it work w/ infobox image [21:46:09] yeah, 1.40 introduced a temp table which will be merged back into the original table in a later MW version [21:46:14] good luck w/ fixing guys [21:46:20] https://github.com/miraheze/mediawiki/blob/bd229842636544b578c9025fce19705f033676d9/includes/page/DeletePage.php#L808 [21:47:52] oh nvm [21:48:02] I think there's potentially a big issue if the rev is missing from revision_comment_temp, because the MW docs say if you have a 0 value in the table you should get the value from the temp table, but if there is no entry in the temp table then what are you supposed to do? [21:48:40] > If this field contains zero in each record, the comment id must be retrieved from the revision_comment_temp table. Supposedly, this table will be merged with the table revision again in the future. [21:48:44] think it deleted it when saving the page [21:48:53] because the problem only happened after saving [21:49:15] Why was it touching the temp table and deleting it [21:49:22] On save [21:50:00] maybe save a page and tail the log to see what MW is doing when a page is saved? [21:52:18] The other question is what went wrong exactly [21:55:38] To me it seems likely that setting it to READ_NEW meant that it was no longer writing to new (for some reason) and that we'd need either WRITE_NEW or WRITE_BOTH [21:56:01] i think maybe "SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW," [21:56:18] Yeah, I'd recommend that for now as well [21:56:35] oh i see what you mean [21:56:38] but I don't think it will fix the current broken revisions [21:56:50] https://www.mediawiki.org/wiki/Manual:MigrateActors.php [21:57:22] this has been removed in 1.39 [21:57:49] ??? [21:58:11] i think i typo'd [21:58:15] SCHEMA_COMPAT_NEW [21:58:19] nah [21:58:20] Are you referring to the value of `$wgMultiContentRevisionSchemaMigrationStage`? [21:58:22] the docs say use that [21:58:23] no [21:58:28] https://www.mediawiki.org/wiki/Manual:$wgCommentTempTableSchemaMigrationStage [21:58:29] ohhhh [21:58:51] I'd recommend we do `SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW` at least for a bit to verify it all works. [21:58:55] why do they have to make things so difficult [21:59:13] Yeah, not the first time these compat flags have caused us problems [21:59:19] from confusion [22:01:32] Updating the doc i have above the config rn [22:02:17] I mean, I guess we may have lost the edit summaries related to the revisions made while the flags were broken, but I think we can fix that by inserting a dummy value somewhere to fix it [22:05:04] updated [22:06:20] @orduin how would we fix missing revisions (well not exactly missing but fix what ever is missing that is causing MW not not work) [22:07:00] So we basically have them pointing their comment (summary) to a non-existent comment [22:07:34] We can probably just insert an empty comment into the table and point all rev_comment_id=0 revisions to here [22:08:00] oh ok [22:08:27] how did this happen exactly? It must have been something changed today? [22:09:17] Seems i incorrectly configured the config [22:09:23] i set it to read but not to write. [22:10:39] i now understand how this happened [22:10:59] so basically when saving it wouldn't be writing the comment entry thus fails. [22:12:03] Weird that it didn't write to either of them though [22:14:14] That should be impossible [22:14:20] Like that should fail very early [22:15:17] should be impossible but seemingly isn't [22:15:31] It's definitely a bug [22:15:41] Invalid config shouldn't cause corruption [22:15:48] It should bail out [22:17:01] https://github.com/miraheze/mediawiki/blob/REL1_40/includes/CommentStore/CommentStoreBase.php#L86 [22:27:50] I'm off for dinner, but I'll write up a maintenance script for it when I get back [22:31:01] Have a good dinner 😊 [22:52:22] back, time to maintenance script [23:01:11] How do I add pages to the explore tab? [23:03:32] [1/3] @theoneandonlylegroom I know I went against the advice but I decided to simply split up the archive [23:03:32] [2/3] and it went fine everything is saved. so I'll just abandon the original page and delete it later on [23:03:32] [3/3] it was getting to big anyway [23:04:55] Also how do I edit this dark gray color? (CSS Im guessing?) [23:41:27] In browser inspect element and copy the css class of that [23:50:32] Do I put it in Common.CSS? [23:52:53] little question is it safe to continue on a different page ?