Merge "SpecialRecentchanges: Restore ability to use language links in 'recentchangest...
[lhc/web/wiklou.git] / includes / specials / SpecialRecentchanges.php
index 55cdcd3..6ee697e 100644 (file)
@@ -1005,4 +1005,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' );
+       }
 }