[01:08:27] hi, when I click Toggle search and replace dialog in the CodeEditor, nothing happens and I get this error in the browser console: https://pastebin.pl/view/1e308fea any idea how to solve this? [01:09:39] maybe it's related to $wgScriptPath [01:09:48] what should be its value? [01:10:36] should it be /var/www/mediawiki if this is the mediawiki dictionary? [06:48:09] Hello there! [06:49:29] My mediawiki website is down because, while I was saving a file called LocalSettings.php the Electricity went out and my desktop went off. [06:50:31] I'm on mobile now, I tried to access the website and it didn't work, I went to public_html/en/w where localsettings.php file is and noticed that only 1/10 of the file was saved, the rest, don't exist anymore. [06:51:43] Unfortunately, I don't have backup. What other way do you advise I get the localsettings.php file completely back? [06:58:43] ? [12:56:08] What the hell is this? A 6 MB page whose wikitext is only 14 kB if downloaded https://mariofanon.fandom.com/es/wiki/Archivo:Playa?action=history [12:58:23] And if you export it, you get (almost) only "[[Categoría:Vídeos]]" repeated millions of times [12:59:27] Sorry, only 271711 times [13:11:37] How nice of people to test whether $wgMaxArticleSize was really working. Sob. https://pvx.fandom.com/wiki/User_talk:PVX-Misfate?diff=313404&oldid=313356&diffonly=true [14:38:31] Any mediawikiwiki admins able to block https://www.mediawiki.org/wiki/Special:Contributions/41.113.24.7 [14:42:53] RhinosF1: done, thanks! [14:43:26] Vulpix: thx [15:34:50] Hi - can anyone confirm what values for wgUploadDirectory and wgUploadPath I should be setting in LocalSettings.php if I want to host uploaded files on a removable drive (/media/usb/shares... etc)? If I set the path for wgUploadDirectory the file uploads fine, but cannot link to it. Have tried symlinking from images/ in mediawiki root without changing defaults - to no avail. [15:35:44] Sorry - have read the docs and tried a million times but don't know PHP/Apache well enough to suss out everything works. [15:50:56] haircode: do you mean the image does not show up on pages? [15:53:13] Vulpix: I'm actually trying to upload non-image files, so ideally want to set upload dir to "uploads", and just have links to the files in the wiki so I can download them again. The download links don't work because I'm not understanding the path's correctly. [15:54:20] both settings are needed because 1: MediaWiki needs to know the physical path to put the files in and 2: The webserver needs to map a URL to that physical path. One needs to be a physical path and the other an URL path [15:56:37] Ok, the URL path, that's what I am struggling with. If my physical path is /media/usb/mediawiki/uploads, how do I set the URL path to find that? [15:59:14] In your webserver, you've set a map between an URL path and a physical path to publish MediaWiki. You need to do that again for this new path. In Apache, usually you add sections to do that [16:01:15] Ah, ok. I wasn't getting that at all. I'll go and have a read of the Apache docs. Thanks for pointing me in the right direction. [16:12:41] haircode: looks like I was wrong. I have to admit that it has been several years since I don't use Apache... the maping is done through Alias directive. See https://httpd.apache.org/docs/trunk/urlmapping.html [16:15:40] Vulpix: I was just looking at that very page. Looks pretty straight forward - and I can now see why my symlink wasn't working, thanks to default Apache security. Will follow this up from here - thank you very much for your help :-) [16:16:45] yw [17:02:51] I want to put a picture in an article which is 800 wide in the article, but when you click it it's much larger. MW isn't cooperating. Any idea how to do that? [17:21:16] I guess I should have started with "Is anyone here?" [17:24:55] how it is not cooperating? there are many large images uploaded [17:25:48] In the article I have width set to 800px, but I want to click on the pic and get 2680. But it just takes me to the pic page, again at 800. [17:26:22] There is a link to get 2680, but that's just picture.jpg, which takes me to the same page. [17:26:45] 2680 link does not work? [17:27:11] Yes but it's 3 steps instead of 1, and not everyone will see it. [17:28:27] yeah, mobile is probably no better than this [17:28:50] tried the 'thumb' parameter? [17:29:16] Makes a thumbnail fine. But I have a technical picture where detail is important. [17:35:06] I can't believe I'm going to have to spend hours on this again... [17:35:23] ... nor that it's not a common problem. [19:00:46] but here's the thing - why are you using JPG for technical drawings? Seems like SVG would be a better use case if it's intended as a chart or schematic of some sort [22:25:53] Who has used Capiunto? Can it be used for Tables or only for Infobox? I wanted to do something similar to https://en.wikipedia.org/wiki/Template:Series_overview [23:47:20] legoktm: btw, not sure I understand what's going on at https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/559321/ [23:47:27] it seems to be specific to your patch but it makes no sense to me [23:49:28] Krinkle: me neither. I spent a little while on and off this week debugging it but never made any substantial progress. as far as I can tell it's a real failure caused by my patch so I'll keep digging [23:56:56] legoktm: with https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/572418/ underneath it now, at least DU exceptions wil go to mw-error.log for easier viewing