Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_RSSlink.php |
— | — | @@ -152,10 +152,10 @@ |
153 | 153 | $params = array_merge( parent::getParameters(), $this->exportFormatParameters() ); |
154 | 154 | |
155 | 155 | $params['title'] = new Parameter( 'title' ); |
156 | | - $params['title']->setDescription( wfMsg( 'smw_paramdesc_rsstitle' ) ); |
| 156 | + $params['title']->setMessage( 'smw_paramdesc_rsstitle' ); |
157 | 157 | |
158 | 158 | $params['description'] = new Parameter( 'title' ); |
159 | | - $params['description']->setDescription( wfMsg( 'smw_paramdesc_rssdescription' ) ); |
| 159 | + $params['description']->setMessage( 'smw_paramdesc_rssdescription' ); |
160 | 160 | |
161 | 161 | return $params; |
162 | 162 | } |
Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_Embedded.php |
— | — | @@ -114,11 +114,11 @@ |
115 | 115 | $params = parent::getParameters(); |
116 | 116 | |
117 | 117 | $params['embedformat'] = new Parameter( 'embedformat' ); |
118 | | - $params['embedformat']->setDescription( wfMsg( 'smw_paramdesc_embedformat' ) ); |
| 118 | + $params['embedformat']->setMessage( 'smw_paramdesc_embedformat' ); |
119 | 119 | $params['embedformat']->setDefault( '' ); |
120 | 120 | |
121 | 121 | $params['embedonly'] = new Parameter( 'embedonly', Parameter::TYPE_BOOLEAN ); |
122 | | - $params['embedonly']->setDescription( wfMsg( 'smw_paramdesc_embedonly' ) ); |
| 122 | + $params['embedonly']->setMessage( 'smw_paramdesc_embedonly' ); |
123 | 123 | $params['embedonly']->setDefault( '' ); |
124 | 124 | |
125 | 125 | return $params; |
Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QueryPrinter.php |
— | — | @@ -569,15 +569,15 @@ |
570 | 570 | $params = array(); |
571 | 571 | |
572 | 572 | $params['intro'] = new Parameter( 'intro' ); |
573 | | - $params['intro']->setDescription( wfMsg( 'smw_paramdesc_intro' ) ); |
| 573 | + $params['intro']->setMessage( 'smw_paramdesc_intro' ); |
574 | 574 | $params['intro']->setDefault( '' ); |
575 | 575 | |
576 | 576 | $params['outro'] = new Parameter( 'outro' ); |
577 | | - $params['outro']->setDescription( wfMsg( 'smw_paramdesc_outro' ) ); |
| 577 | + $params['outro']->setMessage( 'smw_paramdesc_outro' ); |
578 | 578 | $params['outro']->setDefault( '' ); |
579 | 579 | |
580 | 580 | $params['default'] = new Parameter( 'default' ); |
581 | | - $params['default']->setDescription( wfMsg( 'smw_paramdesc_default' ) ); |
| 581 | + $params['default']->setMessage( 'smw_paramdesc_default' ); |
582 | 582 | $params['default']->setDefault( '' ); |
583 | 583 | |
584 | 584 | return $params; |
— | — | @@ -595,7 +595,7 @@ |
596 | 596 | $params = array(); |
597 | 597 | |
598 | 598 | $params['searchlabel'] = new Parameter( 'searchlabel' ); |
599 | | - $params['searchlabel']->setDescription( wfMsg( 'smw_paramdesc_searchlabel' ) ); |
| 599 | + $params['searchlabel']->setMessage( 'smw_paramdesc_searchlabel' ); |
600 | 600 | $params['searchlabel']->setDefault( false, false ); |
601 | 601 | |
602 | 602 | return $params; |
— | — | @@ -634,24 +634,24 @@ |
635 | 635 | $params['format'] = new Parameter( 'format' ); |
636 | 636 | |
637 | 637 | $params['limit'] = new Parameter( 'limit', Parameter::TYPE_INTEGER ); |
638 | | - $params['limit']->setDescription( wfMsg( 'smw_paramdesc_limit' ) ); |
| 638 | + $params['limit']->setMessage( 'smw_paramdesc_limit' ); |
639 | 639 | $params['limit']->setDefault( 20 ); |
640 | 640 | |
641 | 641 | $params['offset'] = new Parameter( 'offset', Parameter::TYPE_INTEGER ); |
642 | | - $params['offset']->setDescription( wfMsg( 'smw_paramdesc_offset' ) ); |
| 642 | + $params['offset']->setMessage( 'smw_paramdesc_offset' ); |
643 | 643 | $params['offset']->setDefault( 0 ); |
644 | 644 | |
645 | 645 | $params['headers'] = new Parameter( 'headers' ); |
646 | | - $params['headers']->setDescription( wfMsg( 'smw_paramdesc_headers' ) ); |
| 646 | + $params['headers']->setMessage( 'smw_paramdesc_headers' ); |
647 | 647 | $params['headers']->addCriteria( new CriterionInArray( 'show', 'hide', 'plain' ) ); |
648 | 648 | $params['headers']->setDefault( 'show' ); |
649 | 649 | |
650 | 650 | $params['mainlabel'] = new Parameter( 'mainlabel' ); |
651 | | - $params['mainlabel']->setDescription( wfMsg( 'smw_paramdesc_mainlabel' ) ); |
| 651 | + $params['mainlabel']->setMessage( 'smw_paramdesc_mainlabel' ); |
652 | 652 | $params['mainlabel']->setDefault( false, false ); |
653 | 653 | |
654 | 654 | $params['link'] = new Parameter( 'link' ); |
655 | | - $params['link']->setDescription( wfMsg( 'smw_paramdesc_link' ) ); |
| 655 | + $params['link']->setMessage( 'smw_paramdesc_link' ); |
656 | 656 | $params['link']->addCriteria( new CriterionInArray( 'all', 'subject', 'none' ) ); |
657 | 657 | $params['link']->setDefault( 'all' ); |
658 | 658 | |
Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_CSV.php |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | $params = array_merge( parent::getParameters(), $this->exportFormatParameters() ); |
110 | 110 | |
111 | 111 | $params['sep'] = new Parameter( 'sep' ); |
112 | | - $params['sep']->setDescription( wfMsg( 'smw-paramdesc-csv-sep' ) ); |
| 112 | + $params['sep']->setMessage( 'smw-paramdesc-csv-sep' ); |
113 | 113 | $params['sep']->setDefault( $this->m_sep ); |
114 | 114 | |
115 | 115 | return $params; |
Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_List.php |
— | — | @@ -302,30 +302,30 @@ |
303 | 303 | |
304 | 304 | if ( $plainlist ) { |
305 | 305 | $params['sep'] = new Parameter( 'sep' ); |
306 | | - $params['sep']->setDescription( wfMsg( 'smw_paramdesc_sep' ) ); |
| 306 | + $params['sep']->setMessage( 'smw_paramdesc_sep' ); |
307 | 307 | $params['sep']->setDefault( '' ); |
308 | 308 | } |
309 | 309 | |
310 | 310 | $params['template'] = new Parameter( 'template' ); |
311 | | - $params['template']->setDescription( wfMsg( 'smw_paramdesc_template' ) ); |
| 311 | + $params['template']->setMessage( 'smw_paramdesc_template' ); |
312 | 312 | $params['template']->setDefault( '' ); |
313 | 313 | |
314 | 314 | if ( !$plainlist ) { |
315 | 315 | $params['columns'] = new Parameter( 'columns', Parameter::TYPE_INTEGER ); |
316 | | - $params['columns']->setDescription( wfMsg( 'smw_paramdesc_columns', 1 ) ); |
| 316 | + $params['columns']->setMessage( 'smw_paramdesc_columns', 1 ); |
317 | 317 | $params['columns']->setDefault( '', false ); |
318 | 318 | } |
319 | 319 | |
320 | 320 | $params['userparam'] = new Parameter( 'userparam' ); |
321 | | - $params['userparam']->setDescription( wfMsg( 'smw_paramdesc_userparam' ) ); |
| 321 | + $params['userparam']->setMessage( 'smw_paramdesc_userparam' ); |
322 | 322 | $params['userparam']->setDefault( '' ); |
323 | 323 | |
324 | 324 | $params['introtemplate'] = new Parameter( 'introtemplate' ); |
325 | | - $params['introtemplate']->setDescription( wfMsg( 'smw_paramdesc_introtemplate' ) ); |
| 325 | + $params['introtemplate']->setMessage( 'smw_paramdesc_introtemplate' ); |
326 | 326 | $params['introtemplate']->setDefault( '' ); |
327 | 327 | |
328 | 328 | $params['outrotemplate'] = new Parameter( 'outrotemplate' ); |
329 | | - $params['outrotemplate']->setDescription( wfMsg( 'smw_paramdesc_outrotemplate' ) ); |
| 329 | + $params['outrotemplate']->setMessage( 'smw_paramdesc_outrotemplate' ); |
330 | 330 | $params['outrotemplate']->setDefault( '' ); |
331 | 331 | |
332 | 332 | return $params; |
Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_RDF.php |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | $params = array(); |
103 | 103 | |
104 | 104 | $params['syntax'] = new Parameter( 'syntax' ); |
105 | | - $params['syntax']->setDescription( wfMsg( 'smw_paramdesc_rdfsyntax' ) ); |
| 105 | + $params['syntax']->setMessage( 'smw_paramdesc_rdfsyntax' ); |
106 | 106 | $params['syntax']->addCriteria( new CriterionInArray( 'rdfxml', 'turtle' ) ); |
107 | 107 | $params['syntax']->setDefault( 'rdfxml' ); |
108 | 108 | |
Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_DSV.php |
— | — | @@ -185,11 +185,11 @@ |
186 | 186 | $params = array_merge( parent::getParameters(), $this->exportFormatParameters() ); |
187 | 187 | |
188 | 188 | $params['separator'] = new Parameter( 'separator', 'sep' ); |
189 | | - $params['separator']->setDescription( wfMsg( 'smw-paramdesc-dsv-separator' ) ); |
| 189 | + $params['separator']->setMessage( 'smw-paramdesc-dsv-separator' ); |
190 | 190 | $params['separator']->setDefault( $this->separator ); |
191 | 191 | |
192 | 192 | $params['filename'] = new Parameter( 'filename' ); |
193 | | - $params['filename']->setDescription( wfMsg( 'smw-paramdesc-dsv-filename' ) ); |
| 193 | + $params['filename']->setMessage( 'smw-paramdesc-dsv-filename' ); |
194 | 194 | $params['filename']->setDefault( $this->fileName ); |
195 | 195 | |
196 | 196 | return $params; |