In the wikimedia configuration look for this file

includes/mime.types

look for a line like this
application/x-zip zip

and change it to
application/x-zip zip oxt


It's not so simple as that. I've tried that already (defining x-zip as a MimeType and checking the upload), and it has no effect on the ability to upload the oxt file. There is no x-zip MimeType that is defined in the MediaWiki side or the apache2 side, and I cannot find x-zip in: http://www.iana.org/assignments/media-types/application/

Almost all of the various ODT document types are defined on the apache2 and MediaWiki level as:
application/vnd.oasis/opendocument.<object_type>

For the OXT docs, the correct MimeType is
application/vnd.openofficeorg.extension  oxt

I've defined it this way in the MediaWiki includes/mime.types and apache2 mime.types files and restarted the webserver. This has also had no effect on this particular upload.

At this point all I can think of to do with this is to raise the issue with the MedaiWiki support guysa nd see if anyone there has any ideas.

C.
--
Clayton Cornell       ccorn...@openoffice.org
OpenOffice.org Documentation Project co-lead
StarOffice - Sun Microsystems, Inc. - Hamburg, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@website.openoffice.org
For additional commands, e-mail: dev-h...@website.openoffice.org

Reply via email to