Try this. 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 Seb. On Tue, Sep 8, 2009 at 7:23 AM, Bernhard Dippold<bernh...@familie-dippold.at> wrote: > Hi Tora, * > > thanks for your investigation - I thought about something a conflict between > in-file mimetype and extension, but I don't know how to change the "real" > mimetype from "application/x-zip" to > "application/vnd.openoffice.org/extension". > > I could imagine other applications besides MediaWiki turning out to have > problems with such a mismatch. > > Is there an easy way to change the mimetype while creation of an extension > (probably the same with all XML-based OOo files)? > > Best regards > > Bernhard > > tora - Takamichi Akiyama schrieb: >> >> [...] >> The uploaded file had an extension .oxt, but the command "file -bi" >> returned application/x-zip while MediaWiki expected >> application/vnd.openofficeorg.extension as defined in the file >> includes/mime.types . >> So, they did not match. Therefore, MediaWiki rejected the file saying >> "The file is corrupt or has an incorrect extension. ..." >> [...] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@website.openoffice.org > For additional commands, e-mail: dev-h...@website.openoffice.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@website.openoffice.org For additional commands, e-mail: dev-h...@website.openoffice.org