From a5b7daf1d7f571fd81b3b3f488809fcc58b8c20d Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Mon, 4 Apr 2005 16:00:10 +0000 Subject: [PATCH] change MIME type to x-external-edit --- includes/ExternalEdit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ExternalEdit.php b/includes/ExternalEdit.php index 920fc9cbba..7d02447b35 100644 --- a/includes/ExternalEdit.php +++ b/includes/ExternalEdit.php @@ -12,7 +12,7 @@ * * Support for external editors to modify both text and files * in external application. It works as follows: MediaWiki - * sends a meta-file with the MIME type 'application/external-editor' + * sends a meta-file with the MIME type 'application/x-external-editor' * to the client. The user has to associate that MIME type with * a helper application (a reference implementation in Perl * can be found in extensions/ee), which will launch the editor, @@ -35,7 +35,7 @@ class ExternalEdit { $wgOut->disable(); $name=$this->mTitle->getText(); $pos=strrpos($name,".")+1; - header ( "Content-type: application/external-editor; charset=".$this->mCharset ); + header ( "Content-type: application/x-external-editor; charset=".$this->mCharset ); if(!isset($this->mMode)) { $type="Edit text"; $url=$this->mTitle->getFullURL("action=edit&internaledit=true"); -- 2.20.1