Page 1 of 1

Image Uploads in Mediawiki 1.15

Posted: June 2nd, 2010, 1:11 pm
by vracks
In MediaWiki How to set the upload Directory during runtime(ie dynamically at runtime)into which the the uploaded images to reside.
ie how to set the global Varaible $wgUploadDirectory with the relative path from runtime..

Based on the runtime how to the path so that the images get uploaded to different sub folders under default images folder.

Re: Image Uploads in Mediawiki 1.15

Posted: June 2nd, 2010, 8:12 pm
by Paul
I don't see that can be done.... try to search for any extension.... :o

Re: Image Uploads in Mediawiki 1.15

Posted: June 3rd, 2010, 1:50 am
by vracks
I am right now using a extension called specialUploadLocal for bulk upload of images. Which uses a form to tell which are the images to be uploaded . This by default uses a global variable $wgUploadDirectory to upload all the images into images directory under the mediawiki root. But my requirement is to upload the images into different sub directories under images directory dynamically set during run time.

Please help me out in this if u can......

Re: Image Uploads in Mediawiki 1.15

Posted: June 3rd, 2010, 8:53 pm
by Paul
Hack into that extension, and do whatever you like... coding is required I believe...