Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialProperties.php |
— | — | @@ -47,19 +47,6 @@ |
48 | 48 | */ |
49 | 49 | class SMWPropertiesPage extends SMWQueryPage { |
50 | 50 | |
51 | | - function getName() { |
52 | | - // TODO: should probably use SMW prefix |
53 | | - return "Properties"; |
54 | | - } |
55 | | - |
56 | | - function isExpensive() { |
57 | | - return false; // Disables caching for now |
58 | | - } |
59 | | - |
60 | | - function isSyndicated() { |
61 | | - return false; // TODO: why not? |
62 | | - } |
63 | | - |
64 | 51 | function getPageHeader() { |
65 | 52 | return '<p>' . wfMsg( 'smw_properties_docu' ) . "</p><br />\n"; |
66 | 53 | } |
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_QueryPage.php |
— | — | @@ -29,6 +29,18 @@ |
30 | 30 | /// TODO |
31 | 31 | } |
32 | 32 | |
| 33 | + function getName() { |
| 34 | + return "SMWQueryPage"; |
| 35 | + } |
| 36 | + |
| 37 | + function isExpensive() { |
| 38 | + return false; // Disables caching for now |
| 39 | + } |
| 40 | + |
| 41 | + function isSyndicated() { |
| 42 | + return false; // TODO: why not? |
| 43 | + } |
| 44 | + |
33 | 45 | /** |
34 | 46 | * This is the actual workhorse. It does everything needed to make a |
35 | 47 | * real, honest-to-gosh query page. |
— | — | @@ -104,8 +116,7 @@ |
105 | 117 | public function getSkin() { |
106 | 118 | if ( method_exists( 'SpecialPage', 'getSkin' ) ) { |
107 | 119 | return parent::getSkin(); |
108 | | - } |
109 | | - else { |
| 120 | + } else { |
110 | 121 | global $wgUser; |
111 | 122 | return $wgUser->getSkin(); |
112 | 123 | } |