Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [59430] trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter. php

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


yaron at svn

Nov 25, 2009, 10:07 AM

Post #1 of 1 (167 views)
Permalink
SVN: [59430] trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter. php

http://www.mediawiki.org/wiki/Special:Code/MediaWiki/59430

Revision: 59430
Author: yaron
Date: 2009-11-25 18:07:04 +0000 (Wed, 25 Nov 2009)

Log Message:
-----------
Added new 'plain' option for 'headers' param

Modified Paths:
--------------
trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php

Modified: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php 2009-11-25 18:05:03 UTC (rev 59429)
+++ trunk/extensions/SemanticMediaWiki/includes/SMW_QueryPrinter.php 2009-11-25 18:07:04 UTC (rev 59430)
@@ -383,7 +383,7 @@
protected function exportFormatParameters() {
return array(
array('name' => 'limit', 'type' => 'int', 'description' => wfMsg('smw_paramdesc_limit')),
- array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide')),
+ array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide', 'plain')),
array('name' => 'mainlabel', 'type' => 'string', 'description' => wfMsg('smw_paramdesc_mainlabel')),
array('name' => 'searchlabel', 'type' => 'string', 'description' => wfMsg('smw_paramdesc_searchlabel')),
);
@@ -397,7 +397,7 @@
public function getParameters() {
return array(
array('name' => 'limit', 'type' => 'int', 'description' => wfMsg('smw_paramdesc_limit')),
- array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide')),
+ array('name' => 'headers', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_headers'), 'values' => array('show', 'hide', 'plain')),
array('name' => 'mainlabel', 'type' => 'string', 'description' => wfMsg('smw_paramdesc_mainlabel')),
array('name' => 'link', 'type' => 'enumeration', 'description' => wfMsg('smw_paramdesc_link'), 'values' => array('all', 'subject', 'none')),
);



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.