Image Uploads in Mediawiki 1.15

Use this forum to ask questions about how to do things with my MediaWiki Extensions.
Post Reply
User avatar
vracks
Rank 0
Rank 0
Posts: 2
Joined: June 2nd, 2010, 1:02 pm

Image Uploads in Mediawiki 1.15

Post 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.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Image Uploads in Mediawiki 1.15

Post by Paul »

I don't see that can be done.... try to search for any extension.... :o
User avatar
vracks
Rank 0
Rank 0
Posts: 2
Joined: June 2nd, 2010, 1:02 pm

Re: Image Uploads in Mediawiki 1.15

Post 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......
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Image Uploads in Mediawiki 1.15

Post by Paul »

Hack into that extension, and do whatever you like... coding is required I believe...
Post Reply