Index: trunk/extensions/SemanticResultFormats/iCalendar/SRF_iCalendar.php |
— | — | @@ -43,6 +43,10 @@ |
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
| 47 | + public function getQueryMode($context) { |
| 48 | + return ($context==SMWQueryProcessor::SPECIAL_PAGE)?SMWQuery::MODE_INSTANCES:SMWQuery::MODE_NONE; |
| 49 | + } |
| 50 | + |
47 | 51 | protected function getResultText($res, $outputmode) { |
48 | 52 | global $smwgIQRunningNumber, $wgSitename, $wgServer, $wgRequest; |
49 | 53 | $result = ''; |
Index: trunk/extensions/SemanticResultFormats/vCard/SRF_vCard.php |
— | — | @@ -28,6 +28,10 @@ |
29 | 29 | } |
30 | 30 | } |
31 | 31 | |
| 32 | + public function getQueryMode($context) { |
| 33 | + return ($context==SMWQueryProcessor::SPECIAL_PAGE)?SMWQuery::MODE_INSTANCES:SMWQuery::MODE_NONE; |
| 34 | + } |
| 35 | + |
32 | 36 | protected function getResultText($res, $outputmode) { |
33 | 37 | global $smwgIQRunningNumber, $wgSitename, $wgServer, $wgRequest; |
34 | 38 | $result = ''; |