Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialWantedProperties.php |
— | — | @@ -1,24 +1,10 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | /** |
5 | | - * File holding the SMWSpecialWantedProperties class for the Special:WantedProperties page. |
| 5 | + * This special page (Special:WantedProperties) for MediaWiki shows all wanted properties (used but not having a page). |
6 | 6 | * |
7 | 7 | * @file SMW_SpecialWantedProperties.php |
8 | | - * |
9 | | - * @ingroup SMWSpecialPage |
10 | | - * @ingroup SpecialPage |
11 | 8 | * |
12 | | - * @author Markus Krötzsch |
13 | | - * @author Jeroen De Dauw |
14 | | - */ |
15 | | - |
16 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
17 | | - die( 'Not an entry point.' ); |
18 | | -} |
19 | | - |
20 | | -/** |
21 | | - * This special page for MediaWiki shows all wanted properties (used but not having a page). |
22 | | - * |
23 | 9 | * @ingroup SMWSpecialPage |
24 | 10 | * @ingroup SpecialPage |
25 | 11 | * |
— | — | @@ -49,6 +35,7 @@ |
50 | 36 | |
51 | 37 | wfProfileOut( 'smwfDoSpecialWantedProperties (SMW)' ); |
52 | 38 | } |
| 39 | + |
53 | 40 | } |
54 | 41 | |
55 | 42 | /** |
— | — | @@ -90,4 +77,5 @@ |
91 | 78 | function getResults( $requestoptions ) { |
92 | 79 | return smwfGetStore()->getWantedPropertiesSpecial( $requestoptions ); |
93 | 80 | } |
| 81 | + |
94 | 82 | } |
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialUnusedProperties.php |
— | — | @@ -1,30 +1,16 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | /** |
5 | | - * File holding the SMWSpecialUnusedProperties class for the Special:UnusedProperties page. |
| 5 | + * This special page (Special:UnusedProperties) for MediaWiki shows all unused properties. |
6 | 6 | * |
7 | 7 | * @file SMW_SpecialUnusedProperties.php |
8 | | - * |
| 8 | + * |
9 | 9 | * @ingroup SMWSpecialPage |
10 | 10 | * @ingroup SpecialPage |
11 | 11 | * |
12 | 12 | * @author Markus Krötzsch |
13 | 13 | * @author Jeroen De Dauw |
14 | 14 | */ |
15 | | - |
16 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
17 | | - die( 'Not an entry point.' ); |
18 | | -} |
19 | | - |
20 | | -/** |
21 | | - * This special page for MediaWiki shows all unused properties. |
22 | | - * |
23 | | - * @ingroup SMWSpecialPage |
24 | | - * @ingroup SpecialPage |
25 | | - * |
26 | | - * @author Markus Krötzsch |
27 | | - * @author Jeroen De Dauw |
28 | | - */ |
29 | 15 | class SMWSpecialUnusedProperties extends SpecialPage { |
30 | 16 | |
31 | 17 | public function __construct() { |
Index: trunk/extensions/SemanticMediaWiki/specials/Statistics/SMW_SpecialStatistics.php |
— | — | @@ -11,11 +11,6 @@ |
12 | 12 | * @author Daniel M. Herzig |
13 | 13 | * @author Jeroen De Dauw |
14 | 14 | */ |
15 | | - |
16 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
17 | | - die( 'Not an entry point.' ); |
18 | | -} |
19 | | - |
20 | 15 | class SMWSpecialSemanticStatistics extends SpecialPage { |
21 | 16 | |
22 | 17 | public function __construct() { |