r59556 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59555‎ | r59556 | r59557 >
Date:17:38, 29 November 2009
Author:yaron
Status:deferred
Tags:
Comment:
Added getParameters() function
Modified paths:
  • /trunk/extensions/SemanticResultFormats/iCalendar/SRF_iCalendar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/iCalendar/SRF_iCalendar.php
@@ -166,5 +166,12 @@
167167 return $result;
168168 }
169169
 170+ public function getParameters() {
 171+ $params = parent::exportFormatParameters();
 172+ $params[] = array('name' => 'icalendartitle', 'type' => 'string', 'description' => wfMsg('srf_paramdesc_icalendartitle'));
 173+ $params[] = array('name' => 'icalendardescription', 'type' => 'string', 'description' => wfMsg('srf_paramdesc_icalendardescription'));
 174+ return $params;
 175+ }
 176+
170177 }
171178

Status & tagging log