RCFilters: Make 'days' and 'limit' sticky

Authored by Mooeypoo on Thu, Nov 2, 11:15 PM.

Description

RCFilters: Make 'days' and 'limit' sticky

  • Each has a hidden preference to override the preferences value
  • Each value is different between Watchlist and RecentChanges
  • If RCFilters is enabled, the preferences for Watchlist are hidden from the preference page.
  • If RCFilters is enabled, the 'rcdays' preference, in RecentChanges, is hidden.

Bonus:

  • Add a static method to check whether RCFilters UI is enabled and enabled by default. Adjust the call for Watchlist which checks a slightly different configuration setup.

Bug: T174415
Change-Id: Ib933de3a3f9e876924386e80f315506f60f8af54

Details

Committed
CatropeTue, Nov 14, 7:37 PM
Parents
rMW19014615a91f: Remove trailing newline and period from message
Branches
Unknown
Tags
Unknown
References
refs/changes/64/388264/14
ChangeId
Ib933de3a3f9e876924386e80f315506f60f8af54