[15:44:56] Hello. Any MW devs here? [16:34:40] sure, plenty [16:41:29] Hello and BIG Thank You Thank You for the most awesome wiki engine in these parts of the Laniakea Supercluster [16:42:17] Now got a question.. I'd like to enable uploading .pdf-files on a Mediawiki (https://wiki.study). Can I do that? Do I need to install something for them to be displayed? [16:55:57] the answer to both of your questions is "yes" :) [16:56:14] jubo2: see https://www.mediawiki.org/wiki/Extension:PdfHandler for the extension that you need to install and configure (it has some prereqs as well in terms of system software) [16:56:31] Skizzerz: Ok. Thanks for info [16:57:32] jubo2: as for allowing pdf uploads in the first place, add $wgFileExtensions[] = 'pdf'; [16:57:32] to your LocalSettings.php [16:57:43] Sure thing [21:00:00] hi [21:00:40] can someone tell me how wikipedia makes infoboxes responsive on mobile? [21:00:49] https://en.wikipedia.org/wiki/MediaWiki:Mobile.css does't seem to have any code to make it work [21:01:44] so if they don't have code there, how on earth is it appearing proper ? [21:04:35] daegontaven: they might be handled by the MobileFrontend extension [21:04:52] MatmaRex: i could just copy over from common.css and paste it to mobile.css [21:05:15] MobileFrontend definitely has code in it that modifies infobox type things [21:05:23] how are they doing it with the MobileFrontend extension? My website has it too [21:06:03] my infoboxes don't have any borders or anything [21:06:13] so i'm assuming it has to be configured on the extension [21:10:29] can someone say if this is something i should be messing with? [21:10:29] https://phabricator.wikimedia.org/diffusion/EMFR/browse/master/README.md;2d7a1ce4a027714bf1a7f82a3c0e9abfcc98910e$343 [21:10:59] this is the only config i found [21:11:26] !e MobileFrontend [21:11:26] https://www.mediawiki.org/wiki/Extension:MobileFrontend [21:12:42] nvm yeah it turns out $wgMinervaApplyKnownTemplateHacks = true; solves it [21:12:51] thanks [21:12:53] :) [21:48:13] Hello, I have a mediawiki that redirects to a spam page the first time I load it and plays innocent thereafter. It's being very frustrating to pin down. Where might that redirect be hiding? [21:48:52] Is it public? [21:49:03] File permissions are clamped down and the install is clean, so it's a database entry somewhere, not a modified file [21:49:10] Are you hitting the mainpage? [21:49:27] It's public. I can load the mainpage. [21:50:06] Link? ;) [21:52:39] Messaged it to you [22:21:21] monttyle: let's get some of the obvious things out of the way first: does this happen if you try a different browser, a different device, or a different internet connection (e.g. cellular vs wifi)? [22:21:30] please try as many of those as you can [22:23:05] Skizzerz: It happens so rarely it's difficult to say for sure. [22:23:20] It could be this computer, I suppose. But it hasn't done it for any other page. [22:23:22] do you run ads on your wiki? [22:23:26] no [22:23:34] is the wiki https? [22:23:35] and ... unfortunately I am out of time. :x Sorry. [22:23:43] (if no, try that) [22:23:51] lets encrypt gives https certs for free [22:23:57] I have https [22:24:01] hmm [22:24:05] oh well