* (bug 10181) Support the XCache object caching mechanism [patch from Kurt Radwanski]
[lhc/web/wiklou.git] / includes / SpecialFewestrevisions.php
index ca6c710..4c0cd68 100644 (file)
@@ -1,24 +1,22 @@
 <?php
 
 /**
+ * Special page for listing the articles with the fewest revisions.
  *
- * Special page for listing the articles with the fewest revisions.  
- * 
  * @package MediaWiki
- * @subpackage Special pages
- * @author Martin Drashkov 
+ * @addtogroup SpecialPage
+ * @author Martin Drashkov
  */
-
 class FewestrevisionsPage extends QueryPage {
 
        function getName() {
                return 'Fewestrevisions';
        }
-       
+
        function isExpensive() {
                return true;
        }
-       
+
        function isSyndicated() {
                return false;
        }
@@ -26,7 +24,7 @@ class FewestrevisionsPage extends QueryPage {
        function getSql() {
                $dbr = wfGetDB( DB_SLAVE );
                list( $revision, $page ) = $dbr->tableNamesN( 'revision', 'page' );
-               
+
                return "SELECT 'Fewestrevisions' as type,
                                page_namespace as namespace,
                                page_title as title,
@@ -37,9 +35,9 @@ class FewestrevisionsPage extends QueryPage {
                        GROUP BY 1,2,3
                        HAVING COUNT(*) > 1";
        }
-       
+
        function sortDescending() {
-       return false;
+               return false;
        }
 
        function formatResult( $skin, $result ) {
@@ -65,4 +63,3 @@ function wfSpecialFewestrevisions() {
 }
 
 ?>
-