Page MenuHomePhabricator

Add query parameter to simulate authorized user access
Open, Needs TriagePublic

Description

PageTriage makes use of a user right that toggles some features on. For example, if you're in the "New page reviewer" group on enwiki, then the Special:NewPagesFeed UI adds a "Review" button in each row, and clicking it will load the page curation toolbar.

For QA and debugging purposes, it would be nice to have a query parameter to allow for users not in that group to:

  • see the "Review" button on Special:NewPagesFeed
  • after clicking the "Review" button, be able to see the page curation toolbar

Actually attempting to submit a review via the toolbar would result in access denied, but that's OK. The idea is that we should be able to see and interact with most of the features in production, for QA / debugging, especially as the extension can behave differently depending on how it is configured on-wiki.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This idea of a feature flag to show all possible front end features for testing purposes only is a decent one. Perhaps we should merge all tickets related to this. I can think of 3 hideable front end features that might benefit from being unhidden by a testing feature flag: