[01:31:24] its fixed? [01:31:59] the aposthrophe issue i mean, also it seems to happen with things that come from irc side [01:53:37] keep in mind this is a three-way bridge between Discord, Matrix, and IRC [01:53:50] apostrophes might work fine from one but not the other [03:52:07] I have a backup (mysqldump) from a wiki, is there a way to tell what version MW it was used with? [03:52:52] Kinda, yeah [03:53:20] You'd have to compare what tables are there.. And then potentially columns in those tables [03:54:24] https://www.mediawiki.org/wiki/Manual:Database_layout can help [03:57:13] I think that actually worked out quite well, thanks. I'm 99% sure it was an LTS because I set it up in the first place, so that narrows it down pretty well [03:57:25] I do have bot_passwords and I don't have ip_changes, so probably 1.27 [03:58:01] 1.27 was an LTS, so yeah, that sounds potentially right [04:00:55] I still need to go back and get a better backup, since I didn't get the uploads folder either, and they'll notice that. but at least with this I can make a start on dragging the database up to date while I'm waiting [04:02:06] 1.35 should upgrade from 1.27.... [05:48:05] I'm thinkig of backporting the require( "strict" ) lua stuff. Everyone copies wikipedia templates, so it would be good to have forwards compatibility [06:29:29] bawolff, I mentioned that to legoktm on Discord based on some comments we got here. [06:32:02] Izno[m]: its backported now [06:32:15] So many communication channels! [06:32:42] 😄 [06:33:46] Probably wouldn't hurt to pull some of his other feature adds back too. [06:35:27] Yeah maybe. Especially for the upcoming 1.39 LTS release at least [06:37:16] hmm, i think mw.loadJsonData() is the only one [06:37:36] Might be. [06:38:51] Oh I missed those backports because I'm apparently not watching Scribunto, smh [06:42:14] bawolff https://blog.legoktm.com/2022/10/09/a-short-scribunto-sprint.html [06:42:41] One or two of those deliberately not backported, but the others might be reasonable. [06:43:21] There was an interesting conversation on the mwstake room on matrix where Jeroen wanted to be able to access unparsed template arguments in lua. At first i didn't like that idea, but thinking about it i kind of think it'd be cool. You could e.g. use lua to read syntaxes that are not wiki, like make a markdown parser, or do some sort of macro expansion on wikisyntax before parsing it [06:43:32] Although such a feature would probably be controversial [06:45:17] I don't think most of those need to be backported. Maybe the cursor one [06:47:01] I know I've been in a few conversations on en and elsewhere where we've wanted access to unparsed args. I think the reason that wasn't done already was because of intermodule communication. [06:47:40] How would that allow intermodule communication? [06:49:24] Idk [06:49:31] Did go looking and found https://phabricator.wikimedia.org/T140489#2466977 [06:50:09] Probably "I don't want to touch a 20k line file" is the next best reason 🤭 [06:50:21] For MVP* [06:51:19] In the parser, the expand method contains a second argument, which allows you to go in the other direction (to unparse), although its a bit internalish, and i don't think it works 100% of the time [06:52:17] So in theory we could expose $frame->expand( $node, PPFRAME::RECOVER_ORIG ), although im not clear which situations precisely it works [06:52:37] And if people want to expose something so internalish, especially given I don't know what the plans are with integrating parsoid [06:53:03] On a tangent, we do have getContent as well, which has mostly served for a lot of the same uses that raw args would. [06:53:19] hmm, that's true [06:56:42] > most don't need to be backported [06:56:42] Json in Module space by default and loadJsonData would be the two I'd pick from that list besides require strict. [06:57:03] The others look minor [06:57:52] If people are copying modules from wikipedia via special:export, the default probably wouldn't matter since it would be overriden in import anyways [06:58:34] I've heard of people having problems importing alt content model pages. [06:58:50] "non default"? [06:59:26] I just mean, that in theory its supposed to take the content model from the xml file, where the json module patch was just changing what the default would be if you created a new page [06:59:36] Yes [06:59:47] So in principle that shouldn't help anyone importing [07:00:08] Not everyone uses the special page. 🙂 [07:00:41] ugh, everyone renamed everything in scribunto [07:00:55] Yay [07:07:51] Well that was a fail of a backport [07:18:06] ok, that's better [07:19:19] The fact that jenkins-bot didn't flag that as totally broken is kind of concerning [07:22:09] And then when i run locally i get 515 test failures :( [07:45:27] 😦 [07:49:16] Platonides: I heard you like phpmyadmin, so I put a phpmyadmin installation in your installation [08:05:28] why is it that other languages seem to have a prettier layout for wikipedia than in english? [08:06:32] marvnc: There is some work going around to replace the main skin. It is being tested on some languages but not all of them [08:06:51] is there a way to enable it in english? [08:07:13] marvnc: Just to confirm, https://en.wikipedia.org/wiki/?useskin=vector-2022 is what you mean by is prettier? [08:07:22] ah yep [08:07:25] marvnc: You can enable it in Special:Preferences under skins [08:07:29] thanks! [08:07:57] marvnc: There's also a special:GlobalPreferences which lets you change it for all languages at once [08:08:57] ooh [08:09:02] marvnc: If you're interested in the politics of it all, see https://en.wikipedia.org/wiki/Wikipedia:Requests_for_comment/Deployment_of_Vector_(2022) [08:09:30] interesting [08:10:10] > politics summarized [08:10:10] Change bad [08:10:29] 'tis true [08:10:47] Bring back nostalgia.wikipedia.org [08:10:54] The one true skin [08:11:13] * bawolff actually likes original vector [08:11:45] wow [08:13:01] bawolff: just bribe ashley to rewrite nostalgia as a modern skin then >.> [08:13:58] I never understood why we removed it from main mediawiki. https://nostalgia.wikipedia.org is running modern mediawiki, so the skin has to be compatible anyways [08:14:41] https://nostalgia.wikipedia.org/wiki/Special:Version omg its so ugly. I love it. What is that yellow colour? [09:05:32] Look at recent changes, our poor yellow has been spoiled by /grey/ [09:09:21] lol, very sad [10:30:33] 165 oppose vs. 145 support [10:35:24] yeah, but its unclear if this issue is being treated as a democracy or not [10:41:10] Vector 2022 is ugly [10:41:10] And dumb [10:41:11] Imagine collapsing options into 1 button when you have like 50% free space left [10:41:36] * space left anyway [10:43:16] And it's not like it has any more options in the first place [10:45:28] much like emperors and kings back in the day, some things just are above criticism today :^) (whether they *should* be or not is, of course, an entirely different debate!)