Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialProperties.php |
— | — | @@ -51,6 +51,10 @@ |
52 | 52 | return '<p>' . wfMsg( 'smw_properties_docu' ) . "</p><br />\n"; |
53 | 53 | } |
54 | 54 | |
| 55 | + function getName() { |
| 56 | + return 'Properties'; |
| 57 | + } |
| 58 | + |
55 | 59 | function formatResult( $skin, $result ) { |
56 | 60 | $linker = smwfGetLinker(); |
57 | 61 | |
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialWantedProperties.php |
— | — | @@ -49,7 +49,6 @@ |
50 | 50 | class SMWWantedPropertiesPage extends SMWQueryPage { |
51 | 51 | |
52 | 52 | function getName() { |
53 | | - /// TODO: should probably use SMW prefix |
54 | 53 | return "WantedProperties"; |
55 | 54 | } |
56 | 55 | |
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialUnusedProperties.php |
— | — | @@ -1,7 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | /** |
5 | | - * This special page (Special:UnusedProperties) for MediaWiki shows all unused properties. |
| 5 | + * This special page (Special:UnusedProperties) for MediaWiki shows all unused |
| 6 | + * properties. |
6 | 7 | * |
7 | 8 | * @file SMW_SpecialUnusedProperties.php |
8 | 9 | * |
— | — | @@ -44,13 +45,10 @@ |
45 | 46 | * @ingroup SpecialPage |
46 | 47 | * |
47 | 48 | * @author Markus Krötzsch |
48 | | - * |
49 | | - * TODO: A delete button that removes all non-used property pages would be quite usefull. |
50 | 49 | */ |
51 | 50 | class SMWUnusedPropertiesPage extends SMWQueryPage { |
52 | 51 | |
53 | 52 | function getName() { |
54 | | - // TODO: should probably use SMW prefix |
55 | 53 | return "UnusedProperties"; |
56 | 54 | } |
57 | 55 | |
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_QueryPage.php |
— | — | @@ -29,10 +29,6 @@ |
30 | 30 | /// TODO |
31 | 31 | } |
32 | 32 | |
33 | | - function getName() { |
34 | | - return "SMWQueryPage"; |
35 | | - } |
36 | | - |
37 | 33 | function isExpensive() { |
38 | 34 | return false; // Disables caching for now |
39 | 35 | } |
— | — | @@ -120,6 +116,6 @@ |
121 | 117 | global $wgUser; |
122 | 118 | return $wgUser->getSkin(); |
123 | 119 | } |
124 | | - } |
| 120 | + } |
125 | 121 | |
126 | 122 | } |