On Sat, Oct 11, 2008 at 12:15 PM, Ting Wang tingwang7@yahoo.com wrote:
Hallo,
till now, if the user want to upload file or a picture during writing an article, he has to save the article and goto upload page, upload file and then go back to the article and add an image token. This waste just time, so i want to write an extension, with it users can upload file of picture during writing article. And I want to use standart uploading function of Mediawiki. I found include/UploadBase.php and include/UploadFormUpload.php in the svn of Mediawiki, but I can not find some document about how to using these classes. Through the svn log, I just found these file will be used for SpecialUpload.
Ok, here is actully my question:
- Is there some code or document about how to use these classes?
- whether the classes fully implemented the function of specialupload?
thanks
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
The relevant SpecialUpload can be found in the patch attached to https://bugzilla.wikimedia.org/show_bug.cgi?id=14925. I hope to finish it someday, but I currently don't have time.
Maybe somebody else wants to pick it up.