r91109 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91108‎ | r91109 | r91110 >
Date:20:31, 29 June 2011
Author:btongminh
Status:ok
Tags:
Comment:
Per CR, revert non debugging stuff from r82436. (KML uploads)
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/Defines.php (modified) (history)
  • /trunk/phase3/includes/mime.info (modified) (history)
  • /trunk/phase3/includes/mime.types (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Defines.php
@@ -120,7 +120,6 @@
121121 define( 'MEDIATYPE_TEXT', 'TEXT' ); // Plain text (possibly containing program code or scripts)
122122 define( 'MEDIATYPE_EXECUTABLE', 'EXECUTABLE' ); // binary executable
123123 define( 'MEDIATYPE_ARCHIVE', 'ARCHIVE' ); // archive file (zip, tar, etc)
124 -define( 'MEDIATYPE_DATA', 'DATA' ); // A generic data file (like kml and kmz)
125124 /**@}*/
126125
127126 /**@{
Index: trunk/phase3/includes/mime.types
@@ -162,5 +162,3 @@
163163 model/vnd.dwfx+xps dwfx
164164 application/vnd.ms-xpsdocument xps
165165 application/x-opc+zip docx dotx docm dotm potx ppsx pptx ppam pptm potm ppsm xlsx xltx xlsm xltm xlam xlsb dwfx xps
166 -application/vnd.google-earth.kml+xml kml
167 -application/vnd.google-earth.kmz kmz
Index: trunk/phase3/includes/DefaultSettings.php
@@ -850,9 +850,6 @@
851851 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
852852 'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
853853 'html' => 'text/html', // application/xhtml+xml?
854 - 'http://www.opengis.net/kml/2.1:kml' => 'application/vnd.google-earth.kml+xml',
855 - 'http://www.opengis.net/kml/2.2:kml' => 'application/vnd.google-earth.kml+xml',
856 - 'kml' => 'application/vnd.google-earth.kml+xml',
857854 );
858855
859856 /**
Index: trunk/phase3/includes/mime.info
@@ -104,5 +104,3 @@
105105 application/vnd.ms-excel.addin.macroEnabled.12 [OFFICE]
106106 application/vnd.ms-excel.sheet.binary.macroEnabled.12 [OFFICE]
107107 application/acad application/x-acad application/autocad_dwg image/x-dwg application/dwg application/x-dwg application/x-autocad image/vnd.dwg drawing/dwg [DRAWING]
108 -application/vnd.google-earth.kml+xml [DATA]
109 -application/vnd.google-earth.kmz [DATA]

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82436Bug #26059 — Add support for KML/KMZ filetype...mah03:22, 19 February 2011

Status & tagging log