http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91962
Revision: 91962
Author: devayon
Date: 2011-07-12 14:17:21 +0000 (Tue, 12 Jul 2011)
Log Message:
-----------
removed repurposing of $printOuts
Modified Paths:
--------------
trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php
Modified:
trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php
===================================================================
---
trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php
2011-07-12 14:07:02 UTC (rev 91961)
+++
trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php
2011-07-12 14:17:21 UTC (rev 91962)
@@ -718,6 +718,13 @@
protected $printOuts = array(); // Properties to be printed along with
results
/**
+ * The The additional columns to be displayed with results in
'?property' form
+ *
+ * @var array of strings
+ */
+ protected $printOutStrings = array();
+
+ /**
* Have errors occured so far?
* @var boolean
*/
@@ -918,7 +925,7 @@
}
}
}
- $this -> printOuts = $print_outs;
+ $this -> printOutStrings = $print_outs;
$this->errors = array_merge( $errors, $this->errors );
return $errors;
}
@@ -1042,7 +1049,7 @@
public function extractParameters( $p ) {
if ( $this->context == self::SPECIAL_PAGE ) {
// assume setParams(), setPintouts and setQueryString
have been called
- $rawparams = array_merge( $this->parameters, array(
$this->queryString ), $this->printOuts );
+ $rawparams = array_merge( $this->parameters, array(
$this->queryString ), $this->printOutStrings );
}
else // context is WIKI_LINK
{
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs