r59553 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59552‎ | r59553 | r59554 >
Date:17:24, 29 November 2009
Author:yaron
Status:deferred
Tags:
Comment:
Added parameter-description messages for use in the various printers' getParameters() functions
Modified paths:
  • /trunk/extensions/SemanticResultFormats/SRF_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/SRF_Messages.php
@@ -29,20 +29,39 @@
3030 // format "iCalendar"
3131 'srf_icalendar_link' => 'iCalendar',
3232 'srf_printername_icalendar' => 'iCalendar export',
 33+ 'srf_paramdesc_icalendartitle' => 'The title of the calendar file',
 34+ 'srf_paramdesc_icalendardescription' => 'The description of the calendar file',
3335 // format "BibTeX"
3436 'srf_bibtex_link' => 'BibTeX',
3537 'srf_printername_bibtex' => 'BibTeX export',
3638 // format "outline"
3739 'srf_outline_novalue' => 'No value',
3840 'srf_printername_outline' => 'Outline',
 41+ 'srf_paramdesc_outlineproperties' => 'The list of properties to be displayed as outline headers, separated by commas',
3942 // format "math"
4043 'srf_printername_sum' => 'Sum of numbers',
4144 'srf_printername_average' => 'Average of numbers',
4245 'srf_printername_min' => 'Maximum number',
4346 'srf_printername_max' => 'Minimum number',
 47+ 'srf_paramdesc_limit' => 'The maximum number of pages to query',
4448 // format "timeline"
4549 'srf_printername_timeline' => 'Timeline',
4650 'srf_printername_eventline' => 'Eventline',
 51+ 'srf_paramdesc_timelinebands' => 'Defines which bands are displayed in the result.',
 52+ 'srf_paramdesc_timelineposition' => 'Defines where the timeline initially focuses at.',
 53+ 'srf_paramdesc_timelinestart' => 'A property name used to define a first time point',
 54+ 'srf_paramdesc_timelineend' => 'A property name used to define a second time point',
 55+ 'srf_paramdesc_timelinesize' => 'The height of the timeline (default is 300px)',
 56+
 57+ // format "Exhibit"
 58+ 'srf_paramdesc_views' => 'The views to be displayed',
 59+ 'srf_paramdesc_facets' => 'The set of properties to be displayed for each page',
 60+ 'srf_paramdesc_lens' => 'The name of a template with which to display page properties',
 61+ // format "googlebar" and "googlepie"
 62+ 'srf_printername_googlebar' => 'Google bar chart',
 63+ 'srf_printername_googlepie' => 'Google pie chart',
 64+ 'srf_paramdesc_chartheight' => 'The height of the chart, in pixels',
 65+ 'srf_paramdesc_chartwidth' => 'The width of the chart, in pixels',
4766 );
4867
4968 /** Message documentation (Message documentation)

Status & tagging log