Thanks for the answer, but this is not exactly that what I want to do. I would like to create a fast solution and store the image and the visio file in the wiki. So I really need to know, how to call the function to upload a file to the wiki. I "know", that it is done in the SpecialUpload Page with the help of a request but I have no clue how this request looks like and how it is build by the system. So is there anyone who can help me?
Greetings Christoph
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Brion Vibber Gesendet: Donnerstag, 3. Januar 2008 21:34 An: Wikimedia developers Betreff: Re: [Wikitech-l] Automatic Image upload
Christoph Bünker wrote:
I am trying to develop a Visio to Image Converter fort he Mediawiki. It should work like this:
Visio file is uploaded in the Wiki
Image file is created on the Server
Image file is automatically uploaded in the Wiki
What you may wish to do is create an image handler plugin which handles the rasterization, so you can use [[Image:Whatever.vsd]] within the wiki as normal.
You'll find the built-in handlers here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/media/
And some sample plugins: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/PdfHandler/ http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/OggHandler/
-- brion vibber (brion @ wikimedia.org)
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l