Merge "Align "What's this" vertically"
[lhc/web/wiklou.git] / includes / specials / SpecialRecentchanges.php
index 55cdcd3..547a1b0 100644 (file)
@@ -241,7 +241,6 @@ class SpecialRecentChanges extends ChangesListSpecialPage {
 
                $opts->add( 'categories', '' );
                $opts->add( 'categories_any', false );
-               $opts->add( 'tagfilter', '' );
 
                return $opts;
        }
@@ -1005,4 +1004,12 @@ class SpecialRecentChanges extends ChangesListSpecialPage {
        protected function getCacheTTL() {
                return 60 * 5;
        }
+
+       function getDefaultLimit() {
+               return $this->getUser()->getIntOption( 'rclimit' );
+       }
+
+       function getDefaultDays() {
+               return $this->getUser()->getIntOption( 'rcdays' );
+       }
 }