Page MenuHomePhabricator

Use a time period field in Special:GlobalContributions instead of start/end date fields
Open, LowPublic

Description

Background

User research for Special:GlobalContributions found that a date range field was preferred over start/end date fields in the search form.

In MediaWiki, there are several special pages that display lists of contributions based on search criteria (Special:Contributions, Special:DeletedContribuitons, Special:IPContributions, and soon Special:GlobalContributions).

The search form for these pages is built by the same part of the software (ContributionsSpecialPage), and therefore looks the same:

image.png (506×855 px, 32 KB)

However, in Special:IPContributions we override the target field to accept only IP addresses/range. For the sake of further user testing, we can override the start/end date fields from Special:GlobalContributions, with a view to potentially changing the field upstream, if that idea is popular.

What needs doing
  • In ContributionsSpecialPage, add a way to override the date fields
  • From SpecialGlobalContributions, override the start/date fields to use a select box with pre-defined options

Related Objects

StatusSubtypeAssignedTask
Resolvedkostajh
DeclinedNone
In ProgressNiharika
OpenNiharika
OpenSTran
OpenNone
ResolvedSTran
ResolvedTchanders
ResolvedSTran
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
DeclinedPRODUCTION ERRORNone
OpenPRODUCTION ERRORNone
ResolvedPRODUCTION ERRORDreamy_Jazz
DuplicatePRODUCTION ERRORNone
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedTchanders

Event Timeline

Hi @Tchanders, just wanted to clarify that the time filter would become a select box with pre-defined options rather than a date range field:

image.png (268×669 px, 16 KB)

In ContributionsSpecialPage, add a way to override the date fields

This is possible now, via ::modifyFields.

Hi @Tchanders, just wanted to clarify that the time filter would become a select box with pre-defined options rather than a date range field:

image.png (268×669 px, 16 KB)

Yes - thanks for the reminder. Marking this to be done next sprint.