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.
Image Uploads in Mediawiki 1.15
Re: Image Uploads in Mediawiki 1.15
I don't see that can be done.... try to search for any extension.... ![Surprised :o](./images/smilies/icon_e_surprised.gif)
![Surprised :o](./images/smilies/icon_e_surprised.gif)
Re: Image Uploads in Mediawiki 1.15
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......
Please help me out in this if u can......
Re: Image Uploads in Mediawiki 1.15
Hack into that extension, and do whatever you like... coding is required I believe...