Page MenuHomePhabricator

user preferences 'rcdays' used in SpecialRecentchanges, but not defined in SpecialPreferences
Closed, ResolvedPublic

Description

In combination with bugzilla:144 (modified Related Changes view for Category
pages), I needed to modify the CUTOFF value on my wiki and found that:

module SpecialRecentchanges uses the value(user option) 'rcdays', but this
cannot be set by a user (e.g. in SpecialPreferences).


Version: unspecified
Severity: normal

Details

Reference
bz929
TitleReferenceAuthorSource BranchDest Branch
Add query service & UI servicesrepos/releng/cli!436ollieshottonadd-query-servicemain
[docker] add shellbox supportrepos/releng/cli!138addshoreshellboxmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 7:04 PM
bzimport set Reference to bz929.
bzimport added a subscriber: Unknown Object (MLST).

I propose, to have a new user option in user preferences for the number of days.
it should be allowed to set it up to one year (on small-to-medium scale) wikis.

Therefore, an additional sysop option needs to be introduced in order to
restrict the maximum number of days a user can set.

(In reply to comment #0)

In combination with bugzilla:144 (modified Related Changes view for Category
pages), ... I found that module SpecialRecentchanges uses the value(user

option) 'rcdays',

but this cannot be set by a user (e.g. in SpecialPreferences).

CVS 1.5 SpecialRecentchanges.php(1) line 27 is still using a user option 'rcdays'.
However, there is still no user option input for 'rcdays' in
SpecialPreferences.php(2).

Brion: what is the purpose of the user option 'rcdays', when the user cannot set it?

I propose either to delete the reference in (1) or to implement a user entry
form for 'rcdays' in (2)

robchur wrote:

Related to bug 4215, but not a direct dupe.

robchur wrote:

*** Bug 4215 has been marked as a duplicate of this bug. ***