r87139 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87138‎ | r87139 | r87140 >
Date:21:48, 29 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r87137
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialUnusedProperties.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialWantedProperties.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/Statistics/SMW_SpecialStatistics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialWantedProperties.php
@@ -1,24 +1,10 @@
22 <?php
33
44 /**
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).
66 *
77 * @file SMW_SpecialWantedProperties.php
8 - *
9 - * @ingroup SMWSpecialPage
10 - * @ingroup SpecialPage
118 *
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 - *
239 * @ingroup SMWSpecialPage
2410 * @ingroup SpecialPage
2511 *
@@ -49,6 +35,7 @@
5036
5137 wfProfileOut( 'smwfDoSpecialWantedProperties (SMW)' );
5238 }
 39+
5340 }
5441
5542 /**
@@ -90,4 +77,5 @@
9178 function getResults( $requestoptions ) {
9279 return smwfGetStore()->getWantedPropertiesSpecial( $requestoptions );
9380 }
 81+
9482 }
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialUnusedProperties.php
@@ -1,30 +1,16 @@
22 <?php
33
44 /**
5 - * File holding the SMWSpecialUnusedProperties class for the Special:UnusedProperties page.
 5+ * This special page (Special:UnusedProperties) for MediaWiki shows all unused properties.
66 *
77 * @file SMW_SpecialUnusedProperties.php
8 - *
 8+ *
99 * @ingroup SMWSpecialPage
1010 * @ingroup SpecialPage
1111 *
1212 * @author Markus Krötzsch
1313 * @author Jeroen De Dauw
1414 */
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 - */
2915 class SMWSpecialUnusedProperties extends SpecialPage {
3016
3117 public function __construct() {
Index: trunk/extensions/SemanticMediaWiki/specials/Statistics/SMW_SpecialStatistics.php
@@ -11,11 +11,6 @@
1212 * @author Daniel M. Herzig
1313 * @author Jeroen De Dauw
1414 */
15 -
16 -if ( !defined( 'MEDIAWIKI' ) ) {
17 - die( 'Not an entry point.' );
18 -}
19 -
2015 class SMWSpecialSemanticStatistics extends SpecialPage {
2116
2217 public function __construct() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87137rem not needed stuffjeroendedauw21:45, 29 April 2011

Status & tagging log