r110944 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110943‎ | r110944 | r110945 >
Date:17:19, 8 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added sep as alias for separator
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_DSV.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_DSV.php
@@ -183,9 +183,10 @@
184184 public function getParameters() {
185185 $params = array_merge( parent::getParameters(), $this->exportFormatParameters() );
186186
187 - $params['separator'] = new Parameter( 'separator', 'sep' );
 187+ $params['separator'] = new Parameter( 'separator' );
188188 $params['separator']->setMessage( 'smw-paramdesc-dsv-separator' );
189189 $params['separator']->setDefault( $this->separator );
 190+ $params['separator']->addAliases( 'sep' );
190191
191192 $params['filename'] = new Parameter( 'filename' );
192193 $params['filename']->setMessage( 'smw-paramdesc-dsv-filename' );