r33494 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33493‎ | r33494 | r33495 >
Date:17:22, 17 April 2008
Author:vrandezo
Status:old
Tags:
Comment:
Added correct MIME type
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialICalendar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialICalendar.php
@@ -139,6 +139,7 @@
140140 protected function makeICalendarResult() {
141141 global $wgOut, $wgRequest, $wgServer, $wgSitename;
142142 $wgOut->disable();
 143+ header( "Content-type: text/calendar" );
143144 $newprintouts = array(); // filter printouts
144145 foreach ($this->m_printouts as $printout) {
145146 if ((strtolower($printout->getLabel()) == "start") and ($printout->getTypeID() == "_dat")) {

Status & tagging log