r109606 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109605‎ | r109606 | r109607 >
Date:05:05, 20 January 2012
Author:yaron
Status:deferred
Tags:
Comment:
Added 'color' to set of allowed parameters; useful for compound queries
Modified paths:
  • /trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php
@@ -512,6 +512,9 @@
513513 $params['userparam'] = new Parameter( 'userparam' );
514514 $params['userparam']->setDefault( '' );
515515
 516+ $params['color'] = new Parameter( 'color' );
 517+ $params['color']->setDefault( '' );
 518+
516519 return $params;
517520 }
518521