[09:00:27] Hello. Is anyone here running MW with Caddy? [09:01:43] I set it up on a separate port, but I think that mediawiki removes the port number and redirects back to the normal https port. Can I disable that behaviour in MediaWiki? [09:04:38] Hm it's $wgServer, right? [09:08:12] That fixed it, but my rewrite rule is off [09:08:12] Forza: If you use a custom port, you should add it to $wgServer [09:08:21] Yup [09:12:54] Seems i need handle the rewrites better [09:13:38] It's now trying to serve the static files over php. Js and css is also not loading [09:14:42] https://caddyserver.com/docs/caddyfile/directives/rewrite#rewrite [09:14:54] Not exactly extensive documentation here [09:30:40] Might start using caddy as reverse to test at first. Seems I need to handle various issues with Caddy otherwise [12:03:46] ooopppss... noticed I uploaded accidentally the full-size originals to a wiki of mine, instead of 10x smaller pics I conveniently made with mogrify (of imagemagick) ... I do have a backup from last night, but restoring that is some work, so is there a straightforward sure-shot way to delete also the uploaded files, I'm interested [12:10:43] Iamthehuman1: there is a maintenance script to fully delete deleted files [12:10:53] I don't know about "previous versions" though [12:10:59] if you used that feature [12:11:27] nope, all today's uploads were unique (i.e. non-replacing) [12:11:43] thanks for that info Bert [12:11:48] oh then it's just a matter of deleting them on your wiki and then running the maintenance script [12:11:55] it has a somewhat logical name, let me look it up :P [12:12:22] I believe it's deleteArchivedFiles.php [12:12:45] thanks, I'm going to look that up now [12:12:48] I also see deleteArchivedRevisions.php which would have probably helped in the other case, but that's not necessary here [12:13:27] Iamthehuman1: https://www.mediawiki.org/wiki/Manual:DeleteArchivedFiles.php ;) [12:14:36] Thanks. Let me meditate on this a while on which route to take [12:14:50] no worries, goodluck! :) [12:17:32] I think I'm going for just restoring the /var/www.. and the MariaDB, since zero other edits have been made since the accidental upload of huge pictures instead of tiny pictures [13:35:55] I'm seeing the central notice banner about the Maintenance at 6:00 UTC. The thing is, it's 13:35 UTC right now and the linked task has been closed. I shouldn't be seeing it, right? :) [13:36:09] The banner has this ID: cn-20200914_read_only [13:45:13] Banner time is set from 13:30 UTC to 14:01 UTC. gj https://meta.wikimedia.org/w/index.php?title=Special:CentralNotice&subaction=noticeDetail¬ice=20200914_read_only [13:55:59] Vulpix, thanks, https://phabricator.wikimedia.org/T287546#7351929, the read only time does begin in 10 minutes, see https://meta.wikimedia.org/wiki/Tech/Server_switch [13:56:07] correction: 4 minutes [13:56:52] But the banner says 6:UTC [13:57:33] https://snipboard.io/3k1WMK.jpg [13:58:03] not any more it doesn't, it just got fixed [13:58:31] I guess it's a problem for translations [13:59:26] no, it should update in translations too, you just might have to bypass your cache [14:01:15] https://shouldiblamecaching.com/ [16:22:45] hello again [16:23:47] for the extension to work, i just have to put code in tags, right? [16:24:01] sorry, the code mirror extension [16:24:48] for a strange reason the tags and printed like text [16:25:13] no, CodeMirror is an editor enhancement, has nothing to do with page content [16:25:45] the tag is provided by a different extension (Extension:SyntaxHighlight to be precise) [16:29:36] CodeMirror will apply highlighting based on the content model of the page, so wikitext pages will get wikitext highlighting while editing them [16:30:06] took a while for me to settle, i think i got it [16:30:26] do changes to LocalSettings.php require a httpd restart? [16:30:33] usually no [16:31:12] exact answer depends on your server config [16:39:54] when i use the right module now it works :) thanks moonmoon [16:40:18] yw [23:26:10] hi, is it possible to use an API response (or specifically textracts excerpt) in a page or template? [23:26:44] i want to have a template that contains call to textracts on current page with specific parameters [23:28:32] my original issue is that WikiSEO's $wgWikiSeoEnableAutoDescription ignores textracts' $wgExtractsRemoveClasses, but api calls to textracts seem to honor them properly, so i want to override og:description content with an actual call to textracts [23:29:19] but i'm not sure if it is possible to turn api response into something that can be used on page [23:47:25] apparently it is because textracts forgets it's removed classes when exintro is used [23:47:56] Yukkuri: you'd need an extension to do that [23:49:32] is there a generic extension for API calls? [23:50:40] if not, probably just removing exintro from WikiSEO's calls to textract should cover my case [23:51:19] not sure if it is a bug in textract, or if it should ignore $wgExtractsRemoveClasses when exintro is used