[00:24:06] Will do. Could really do with improvement [00:39:45] https://phabricator.wikimedia.org/T268858 [00:46:45] Whoops, thanks for fixing that tag reedy. I searched "doc" and picked the first one I found. I'm a little turkey drunk right now :P [02:36:45] I was wondering, can I as a regular user triage an issue on Phabricator? https://phabricator.wikimedia.org/T268420 [03:07:26] Triage it how? [10:22:54] Reedy: I have no idea [10:23:16] with distros, it's basically describing I have the same issue and how I checked [10:23:31] but I have no idea what the standard procedure is for mediawiki [10:23:44] the bug seems serious enough however, that I think it could do with some attention :) [14:53:55] Hi, anyone familiar with dpl ? I'm trying to use "categorymatch" (or any other possible way to fetch pages from category A OR B ) and getting error "missing =", could not find out why [14:57:47] I can find the error on the translations file (https://gitlab.com/hydrawiki/extensions/DynamicPageList/-/blob/master/i18n/en.json) as "dpl_log_22", but can't find the usages of this symbol [15:23:36] Looks like its working with and not with {{#dpl}} [17:09:56] Hi all! I'm trying to troubleshoot a painfully slow mediawiki install and the manual for the profiler seems to be a bit wonk. I've tried putting the recommended lines in StartProfiler.php and in my LocalSettings.php file at different times and neither makes any sort of comment appear in any page that loads, where did I go wrong? [18:08:14] Any guidance would be muchly appreciated. Some pages are taking like 30 seconds to load and I'm mystified. [18:09:11] Is your caching working fine? [18:09:49] I can't tell, either I'm reading the profiler manual wrong or the instructions are wrong =/ Is there any way to tell other than with the profiler? [18:13:08] Depending on what you're using, there's potentially debug tools shipped with it [18:13:13] and/or checking services are runnnig [18:13:49] Um, I'm following the manual here: https://www.mediawiki.org/wiki/Manual:Profiling [18:17:56] I've put the exact string the page has at the bottom of my LocalSettings.php and in StartProfiler.php and I know it works because I forgot to restart my webserver after installing tideways and the whole site whitescreened, but I can't find the output =/ [18:18:16] (Not at the same time, but separately) [18:26:45] Checked the html source? [18:27:02] > Only applies to 'ProfilerOutputText' format. Whether text is shown after the skin or in an HTML comment. [18:27:04] Yessir, nothing. Just the transclusion report or whatever [18:27:11] https://www.wikidoc.org/index.php/Main_Page [18:28:00] that is slow... definitely *something* wrong indeed [18:28:10] even loading https://www.wikidoc.org/index.php/Main_Page?action=purge is slow [18:28:31] Dude, even view source lags. [18:32:07] is the host just generally overloaded? [18:32:12] Nope! [18:32:19] Was just as slow at 4am [18:32:35] tried disabling all extensions, didn't help [18:32:55] switched database host from an EC2 instance I managed to an RDS optimized one, bupkis [18:33:53] nothing in any of the logs either [18:36:50] it should be in a html comment or pre tags if you've set the config right (and the docs are right! untested atm) [18:37:05] Yessir! [18:37:55] https://pastebin.com/rKJRTyLQ [18:38:02] contents of both StartProfiler.php files [18:39:26] Ah [18:39:35] StartProfiler isn't supported anymore [18:39:50] Hasn't been since 1.32 it looks like [18:40:04] Try setting those in LocalSettings.hp [18:43:30] attempt #1 got me the source of a 504 -.- could've sworn I tried it with these settings last night, but I'll take another look [18:48:09] I've gotta go out for a couple of hours [18:48:28] Thanks for the heads up about StartProfiler! [18:49:41] CPU time usage: 1.076 secondsReal time usage: 27.456 seconds [18:49:54] Nothing from the profiler in source, that's what NewPP had to say -.- [20:04:24] hello. i'm setting a mediawiki on my website, what php version do i need if i'm using version 1.31.10 (LTS) ? [20:07:19] and how can i install it on my wordpress site? [20:13:26] When you say install it on your wordpress site, do you mean on the server? or as a plugin [20:14:13] and I'm reasonably sure it's a php7 requirement, but I could be wrong [20:20:21] I'm using an extension to upload files to S3, but I'm wondering if there's a way to prevent double-processing of uploaded files. For example, if I upload a 1GB file, it would first need to send the entire file to the backend, then the backend needs to send the entire file to S3. I'd like to be able to stream the file to S3 as it's being uploaded [20:20:23] is that possible? [20:21:02] Um, on my site I use s3fs to mount the s3 bucket as a disk [20:21:17] and then I set up a rewrite rule in apache to redirect file requests to the s3 repo [20:22:20] But as far as I'm aware there's no way to stream a file like that [20:22:34] even using s3fs would have the same issues because of how php buffers uploads [20:22:56] nope, because I set the upload directory as the s3 bucket. there's no middle point [20:23:10] just don't try and read from there, you NEED that rewrite rule [20:26:56] uploads still buffer to /tmp [20:27:12] then it moves it to the upload directory. That's what I mean [20:27:24] I dunno then, good luck! [20:45:00] Ulfr: on the server [20:45:18] it seems i've found the solution, if i have problems, i'll ping you again [20:45:32] thanks [20:56:13] Been reading more docs and figuring out some of the changes. Just want to confirm if the new proper way to get a user and check a permission in an extension is to do this: https://pastebin.com/36NYq5Bf [20:58:52] If I also have this right, $wgUser was deprecated because there's situations where it isn't populated yet? So instead you force retrieval from the current instance?