[10:56:43] Hi. I have an issue where some files look like they are missing, but they are in the right place with correct permissions. What can I do? [10:57:57] https://wikidev.tnonline.net/w/File:20211006_152505_Hot_Chocolate.jpg and https://wikidev.tnonline.net/w/Mediawiki/images/6/6c/20211006_152505_Hot_Chocolate.jpg [10:58:24] However the file exists -rw-r--r-- 1 wiki apache 6633761 Oct 6 21:08 images/6/6c/20211006_152505_Hot_Chocolate.jpg [11:00:01] never mind :D its there [14:57:40] o/ mediawiki [14:57:49] from replicant project here [15:02:29] background: so we have been working a redmine remote, similar to mediawiki git remote. In order to migrate our wiki off redmine, and into our own mediawiki instance [15:02:43] but on topic of mediawiki now [15:03:10] Dont really yet quite understand how attachements are handle in mediawiki [15:03:27] would anyone be kind enough to point me to the right documentation? [15:03:51] is this like redmine where attachement IDs are used for global usage? [15:04:12] there is a sideline media server as well? [15:04:19] etc [15:04:27] Cheers in addvance for feeback [15:07:04] files are uploaded to the wiki via Special:Upload (or programmatically via its api.php equivalent, which I'd guess is api.php?action=upload with the appropriate params set); this requires that $wgEnableUploads = true; is set in the wiki's LocalSettings.php (and for thumbnailing I guess you need not just imagemagick (or gd) installed, but also something like $wgUseImageMagick = true; and $wgImageMagickConvertCommand = '/usr/bin/convert'; set in [15:07:05] LocalSettings.php as well); and of course the uploads directory (by default /images/) has to be writable by the web server user [15:07:32] (always happy to see people and projects migrate *to* MediaWiki, btw :-) of course this is just my personal, very biased $0.02 ;-) [15:13:54] imagemagick? would magickgraphics be more appropriete to mediawiki? [15:14:02] migartion would probably be usefull [15:15:12] "(always happy to see people and projects migrate *to* MediaWiki, btw :-) of course this is just my personal, very biased $0.02 ;-)"yes we are excited to use wikidata to avoid duplication between FDG compliant projects [15:15:26] replicant -> replicant.us btw ashley [15:17:41] oh, I'm well aware of it, it's a wonderful project :D (re:magickgraphics, not sure, try it and see? much like how MW usually runs on a LAMP stack, ImageMagick is the de facto "standard" but ~usually~ not the only supported option! (I maintain a bunch of extensions which, many moons ago, supported thumbnailing *only* via IM or similar external program, gd support wasn't there - but someone submitted a patch to address that which was nice :-)) [15:18:59] imageMagick was forked, the fork is better used for use cases like mediawiki [15:19:26] https://en.wikipedia.org/wiki/GraphicsMagick [15:19:55] o/ Raymond [15:29:21] getting back on topic ashley, living GraphicsMAgick topic to the side now [15:29:34] so mediawiki doesnt include some kind of media server [15:30:03] the idea is for that to be handled by a project that sepecifically focus on media hosting [15:30:35] or there is a inhouse prefered or even included server for that? [15:30:36] Cheers [15:32:46] depends on how the concept of a media server is understood - MW is uploads-ready and these uploaded files can be shared without duplicating using ForeignFileRepo; e.g. the popular InstantCommons feature (https://www.mediawiki.org/wiki/InstantCommons) is a ForeignFileRepo under the hood, allowing any external (non-Wikimedia Foundation hosted) MediaWiki instance to use Commons' 73+ million files as if they existed locally on that non-WMF wiki :) [15:38:06] ok that is centralized on mediawiki server though [15:38:16] we were looking more into a distributed system [15:38:32] given we intend our wiki to be offline has well [15:39:01] so it would be good to like have some kind of torrenting like system for the files [15:39:25] maybe even someething like git torrenting? if that is a thing [15:39:35] we main repos are used has reference [15:39:57] I dont know ... we are still trying to figure out what to do [15:40:30] probably solution used by parabola will be addopted for now so maintenance remains as low as possible [16:10:03] M3RELATIVISM[m]: Uploads are not stored in database, but on filesystem. MediaWiki database just keeps tracks of the uploaded files. You can access uploaded files even if Mediawiki (as in, database and PHP) is shutdown, as long as you have access to the physical folder where they're stored [16:10:44] sure I understand that [16:11:00] that is unrelated to my question Vulpix though [16:11:32] there is no built in media server on mediawiki, and is not based on ids like redmine [16:11:48] that is good I like the modularity aspect of this [16:13:04] this seams to be the case^ [16:13:26] we will continue to study wish media server to use for our project [16:14:08] any suggestion would be great, looking for a distributed thing though, we wish hopefully to use kiwix as well :) [16:14:35] o/ mediawiki