http://www.mediawiki.org/wiki/Special:Code/MediaWiki/67343
Revision: 67343 Author: yaron Date: 2010-06-04 12:43:28 +0000 (Fri, 04 Jun 2010) Log Message: ----------- Added 'HOUR' and 'MINUTE' to allowed parameters for 'timelinebands' in getParameters() - evidently these have been supported since the beginning Modified Paths: -------------- trunk/extensions/SemanticResultFormats/Timeline/SRF_Timeline.php Modified: trunk/extensions/SemanticResultFormats/Timeline/SRF_Timeline.php =================================================================== --- trunk/extensions/SemanticResultFormats/Timeline/SRF_Timeline.php 2010-06-04 12:29:18 UTC (rev 67342) +++ trunk/extensions/SemanticResultFormats/Timeline/SRF_Timeline.php 2010-06-04 12:43:28 UTC (rev 67343) @@ -219,7 +219,7 @@ function getParameters() { $params = parent::getParameters(); - $params[] = array( 'name' => 'timelinebands', 'type' => 'enum-list', 'description' => wfMsg( 'srf_paramdesc_timelinebands' ), 'values' => array( 'DECADE', 'YEAR', 'MONTH', 'WEEK', 'DAY' ) ); + $params[] = array( 'name' => 'timelinebands', 'type' => 'enum-list', 'description' => wfMsg( 'srf_paramdesc_timelinebands' ), 'values' => array( 'DECADE', 'YEAR', 'MONTH', 'WEEK', 'DAY', 'HOUR', 'MINUTE' ) ); $params[] = array( 'name' => 'timelineposition', 'type' => 'enumeration', 'description' => wfMsg( 'srf_paramdesc_timelineposition' ), 'values' => array( 'start', 'middle', 'end' ) ); $params[] = array( 'name' => 'timelinestart', 'type' => 'string', 'description' => wfMsg( 'srf_paramdesc_timelinestart' ) ); $params[] = array( 'name' => 'timelineend', 'type' => 'string', 'description' => wfMsg( 'srf_paramdesc_timelineend' ) ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs