diff --git a/formats/filtered/src/Filtered.php b/formats/filtered/src/Filtered.php index 3e2bee6a7..0fba02a3e 100644 --- a/formats/filtered/src/Filtered.php +++ b/formats/filtered/src/Filtered.php @@ -252,6 +252,12 @@ public function getParamDefinitions( array $definitions ) { // 'islist' => false, ]; + $params['sep'] = [ + 'type' => 'string', + 'message' => 'smw-paramdesc-sep', + 'default' => ', ', + ]; + foreach ( $this->mViewTypes as $viewType ) { $params = array_merge( $params, call_user_func( [ 'SRF\Filtered\View\\' . $viewType, 'getParameters' ] ) ); } diff --git a/formats/filtered/src/View/ListView.php b/formats/filtered/src/View/ListView.php index 02c1c3562..28e4cbaaf 100644 --- a/formats/filtered/src/View/ListView.php +++ b/formats/filtered/src/View/ListView.php @@ -33,11 +33,15 @@ class ListView extends View { private $mNamedArgs; private $mShowHeaders; + /** @var array */ + private $params; + /** * Transfers the parameters applicable to this view into internal variables. */ protected function handleParameters() { $params = $this->getActualParameters(); + $this->params = $params; $this->mFormat = $params['list view type']; $this->mTemplate = $params['list view template']; @@ -72,14 +76,18 @@ public function getResultText() { $footer = "" . $this->mFormat . ">\n"; $rowstart = "\t