[02:22:43] 16:29:54 Nikerabbit: hmm... I thought I remembered that we did convert LQT stuff on mw.o to plain pages. Is that just some wishful thinking about the past? <-- there is/was a LQT -> Flow script, that was used on mw.o. I guess once the Flow->wikitext script is fixed, that could be a migration path, but it seems unnecessarily lossy, LQT had better page history than Flow does [03:38:53] is there an extension for optimizing PNG compression of uploads? I only found https://www.mediawiki.org/wiki/Extension:UploadConvert which is unmaintained and 11 years old [03:40:37] related question: does it cause issues if uploaded files are modified in-place on the filesystem, changing their md5? [03:52:57] IIRC if and when using hashed uploads (enabled by default), the path to an image (e.g. /images/b/bc/Wiki.png for [[File:Wiki.png]]) contains a fragment of the MD5 hash of the *file name*; but the /SHA-1/ is stored in image.img_sha1 (and thus probably also in the filearchive table for deleted files, etc.) [03:56:22] better not touch them on the filesystem then... [04:10:01] taylan: you can use the importImages.php (I think) maintence script to bulk re(upload) files server-side after adjusting them [04:10:10] (re)upload* [04:10:25] oh cool [07:01:33] TheresNoTime: I know a few Wikimedia people who went to CCC, not sure about the camp [12:22:26] I'm trying something interesting with the ReplaceText extension, but can't figure out how to drop items from the db query results. If I do https://paste.simplylinux.ch/view/1a1b9706 [12:22:28] I get Error: Cannot use object of type Wikimedia\Rdbms\SqliteResultWrapper as array [12:24:07] I guess I could turn it into a regular array and change the use of numRows() that happens elsewhere [12:43:22] cool, this works: https://paste.simplylinux.ch/view/27fe24f4 [12:44:28] (there is no check for if Translate is present) [12:53:15] I added it to https://phabricator.wikimedia.org/T313148 [20:38:17] I feel like I'm losing my mind read the API documentation. Is there somewhere that has examples written by humans? [20:38:56] What sort of examples [20:39:57] I'm just trying to get the wikitext from a page title. I keep coming back to action=query which says it can do this in the intro, and that's the last mention of wikitext on the page [20:40:32] https://en.wikipedia.org/w/api.php?action=help&modules=query%2Brevisions [20:42:13] https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Main%20Page&rvslots=*&rvprop=content [20:45:05] that works, thanks. trying to figure out how I was supposed to get there from https://www.mediawiki.org/wiki/API:Query [20:48:39] Well, the wikitext is part of a revision.. [20:49:15] It might make sense to add that as another higher level example on https://en.wikipedia.org/w/api.php?action=help&modules=query though [22:39:00] Hi there. Since my upgrade to 1.39, my special CSS modifications from example.org/index.php/MediaWiki:Monobook.css are not rendered. This is my skins loading https://hastebin.com/share/yedasereso.scss Any idea? [22:41:46] check your browser console and such? [22:43:08] Reedy: no error in console, not error in network [22:43:27] Maybe there's a new way to say MonoBook is the default skin? [22:43:49] I'm not sure why that would matter (if it was the case, which AFAIK it's not) [22:43:59] if you're viewing a page as monobook, it should be picking up that CSS [22:44:10] Did you upgrade the skins when you upgraded mediawiki? [22:44:47] I simply extract the default content and editing LocalSettings.php [22:46:53] default content is mediawiki-1.19 tar ball [22:47:02] *1.39 sorry* [22:54:35] I suspect it's something specific to your install; if it was more universally broken, we'd have heard about it... [23:09:01] Reedy: was needed to declare: $wgDefaultSkin = 'MonoBook'; [23:09:24] I only need to rescue my sidebar with wrong CSS [23:36:04] No I don't get how to allow my logued in user to modify the monobook CSS page. https://hastebin.com/share/yokewivisa.shell [23:44:13] That doesn't make sense [23:44:28] It shouldn't need to be the default skin to load the site skin CSS like that