(bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors.
[lhc/web/wiklou.git] / includes / SpecialLongpages.php
index af56c17..a8a1e19 100644 (file)
@@ -1,19 +1,12 @@
 <?php
 /**
  *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
  */
 
 /**
  *
- */
-require_once( 'SpecialShortpages.php' );
-
-/**
- *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
  */
 class LongPagesPage extends ShortPagesPage {
 
@@ -29,13 +22,12 @@ class LongPagesPage extends ShortPagesPage {
 /**
  * constructor
  */
-function wfSpecialLongpages()
-{
-    list( $limit, $offset ) = wfCheckLimits();
+function wfSpecialLongpages() {
+       list( $limit, $offset ) = wfCheckLimits();
 
-    $lpp = new LongPagesPage();
+       $lpp = new LongPagesPage();
 
-    $lpp->doQuery( $offset, $limit );
+       $lpp->doQuery( $offset, $limit );
 }
 
-?>
+