r113068 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113067‎ | r113068 | r113069 >
Date:19:35, 5 March 2012
Author:foxtrott
Status:deferred
Tags:
Comment:
followup r112972: bugfix (list view parameter names do not match array keys in getParameters())
Modified paths:
  • /trunk/extensions/SemanticResultFormats/Filtered/views/SRF_FV_List.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/Filtered/views/SRF_FV_List.php
@@ -175,22 +175,22 @@
176176 public static function getParameters() {
177177 $params = parent::getParameters();
178178
179 - $params['list view type'] = new Parameter( 'list type' );
 179+ $params['list view type'] = new Parameter( 'list view type' );
180180 $params['list view type']->setMessage( 'srf-paramdesc-filtered-list-type' );
181181 $params['list view type']->setDefault( 'list' );
182182
183 - $params['list view template'] = new Parameter( 'list template' );
 183+ $params['list view template'] = new Parameter( 'list view template' );
184184 $params['list view template']->setMessage( 'srf-paramdesc-filtered-list-template' );
185185 $params['list view template']->setDefault( '' );
186186
187 - $params['list view named args'] = new Parameter( 'list named args', Parameter::TYPE_BOOLEAN, false );
 187+ $params['list view named args'] = new Parameter( 'list view named args', Parameter::TYPE_BOOLEAN, false );
188188 $params['list view named args']->setMessage( 'srf-paramdesc-filtered-list-named-args' );
189189
190 - $params['list view introtemplate'] = new Parameter( 'list introtemplate' );
 190+ $params['list view introtemplate'] = new Parameter( 'list view introtemplate' );
191191 $params['list view introtemplate']->setMessage( 'srf-paramdesc-filtered-list-introtemplate' );
192192 $params['list view introtemplate']->setDefault( '' );
193193
194 - $params['list view outrotemplate'] = new Parameter( 'list outrotemplate' );
 194+ $params['list view outrotemplate'] = new Parameter( 'list view outrotemplate' );
195195 $params['list view outrotemplate']->setMessage( 'srf-paramdesc-filtered-list-outrotemplate' );
196196 $params['list view outrotemplate']->setDefault( '' );
197197

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112972very first version of new 'filtered' formatfoxtrott10:38, 4 March 2012