* Returnto now works with special pages with subpage parameters
[lhc/web/wiklou.git] / includes / PageHistory.php
index ffb326d..b1cf41f 100644 (file)
@@ -14,7 +14,6 @@
  * history.
  *
  */
-
 class PageHistory {
        const DIR_PREV = 0;
        const DIR_NEXT = 1;
@@ -100,7 +99,7 @@ class PageHistory {
                        return;
                }
                
-               wfRunHooks( 'BeginPageHistoryBeforeList', array( &$this , &$s ) );
+               wfRunHooks( 'PageHistoryBeforeList', array( &$this->mArticle ) );
 
                /** 
                 * Do the list
@@ -523,6 +522,9 @@ class PageHistory {
 }
 
 
+/**
+ * @addtogroup Pager
+ */
 class PageHistoryPager extends ReverseChronologicalPager {
        public $mLastRow = false, $mPageHistory;