r24145 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24144‎ | r24145 | r24146 >
Date:06:25, 16 July 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
fixed return mime-type
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/SMWAdmin/SMW_SpecialSMWAdmin.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/SMWAdmin/SMW_SpecialSMWAdmin.php
@@ -43,7 +43,7 @@
4444 $wgOut->disable(); // raw output
4545 ob_start();
4646 print "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\" dir=\"ltr\">\n<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /><title>Setting up Storage for Semantic MediaWiki</title></head><body><p><pre>";
47 - header( "Content-type: application/rdf+xml; charset=UTF-8" );
 47+ header( "Content-type: text/html; charset=UTF-8" );
4848 $result = smwfGetStore()->setup();
4949 print '</pre></p>';
5050 if ($result === true) {

Status & tagging log