Revert r29671, it was based on a misunderstanding of the purpose of the LoggedOut...
[lhc/web/wiklou.git] / includes / SpecialFewestrevisions.php
index 160f371..ba6db8b 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 ) {
@@ -64,4 +62,4 @@ function wfSpecialFewestrevisions() {
        $frp->doQuery( $offset, $limit );
 }
 
-?>
\ No newline at end of file
+