Image upload equivalent command to SSH?
We are beginning to set up a Wiki on our local network to share some works and comments about them. A big part of these works are images.
These images are on our server, accessed by SSH. The wiki is on the same server, on different but accessible folders.
I'm trying to find a way to put all those images live automatically. I mean, with command line steps or programs. I found some extensions to upload multiple files, but these does not apply easily to what I need: several folders, several locations, big number of them. And probably it would duplicate those files, which should not be done, if possible.
I suppose there is a command to insert a single image on the Wiki. This would suffice my needs. How to do it?
I tried to manually create a folder inside "wiki/images/", and put some files there (e.g. "wiki/images/f/ff/img-01.png"), but it does nott show up on the site. Also, the [ [ Image : img-01.png ] ] didn't work (if this worked, it could be enough). I guess the image pages also need to be created, and maybe some DB meta information?
Shell commands or ways to CURL some Wiki script would work. If each image page can be created this way, a way to insert some comments on those is desired.
I searched around for help pages on this subject, but couldn't find anything.
- `curl` is maybe the simplest; as you can fill out the complete POST form when uploading the images automatically, you can also add arbitrary comments. Have you seen http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Mass_uploading? I personally have good experiences with Commons:Commonist. You might consider making a list of all your files and then symlink to them from one directory, for one-clik upload with Commonist. --126.96.36.199 08:00, 2 September 2014 (UTC)
- @Rapidim: You can use mw:Extension:UploadLocal to upload some images, but I guess it is not possible for a huge number of images. Additionally this will duplicate the images, in /wiki/images and in your other directory; a soft or hard link would be better, but a script has to be created for that. You can also see the script /wiki/maintenance/importImages.php, possibly it does something similar to what you want. ~ Seb35 [^_^] 21:02, 21 September 2014 (UTC)
Bug day: Book tool/Collection/PDF, 2014-10-08, 14–22 UTC
We will be triaging bug reports for the Collection extension (Book tool) in general and PDF export in particular, which were just switched to a new backend (OCG). We have two immediate goals:
- recover 100 % of the relevant reports from the defunct PediaPress tracker;
- get a clean list of known PDF issues that the new backend didn't fix.
Everyone is welcome to join any time these weeks, and no technical knowledge is needed! It's an easy way to get involved or to give something back. We encourage you to record your activity on the etherpad. See also:
- this information, participants list and more (please sign!);
- more information on triaging in general.
I look forward to seeing you there. Please distribute further by email, talk pages etc. (Collection is used on almost 2 thousands wikis!)
Nemo 18:14, 29 September 2014 (UTC)
JS Hack to disable VE
Per bug 50631 and another one in "see also", VE does not work for me, and I want to disable it everywhere regardless of VE's deploy status. It will be in User:-revi/global.js only. If I remember correctly, there was a hack, but I couldn't find one, so anyone knows what's the code? — revi^ 05:39, 1 October 2014 (UTC)
How do you make a wiki?
Nevermind. I did some more looking around the wiki XxMeepsterxX (talk)