Does anybody know if it is possible to upload a base64 encoded file via the API? I’ve already examined SVGEdit extension by Brion Vibber (http://www.mediawiki.org/wiki/Extension:SVGEdit) to get behind the api file upload magic. But as SVG is just text it doesn’t quite fit to my use case.


When I try to upload a base64 encoded file via the API (i.e. a JPEG) I just get a file with the base64 string (i.e. plaintext with base64 code) written to the MediaWiki file repo.


Any hints?




Robert Vogel

Social Web Technologien


Hallo Welt! - Medienwerkstatt GmbH





Untere Bachgasse 15

93047 Regensburg


Tel.  +49 (0) 941 - 66 0 80 - 198

Fax   +49 (0) 941 - 66 0 80 - 189






Sitz: Regensburg

Amtsgericht: Regensburg

Handelsregister: HRB 10467

E.USt.Nr.: DE 253050833

Geschäftsführer: Anja Ebersbach, Markus Glaser, Dr. Richard Heigl, Radovan Kubani