Page MenuHomePhabricator

Surface hidden and "undefined" slots via a single slot view
Open, NormalPublic

Description

Certain slots may be hidden per default, or may have become "undefined" when the extension defining them was disabled. The content of such slots should still be accessible somehow.

The suggested mechanism is to introduce a slot=xyz URL parameter for the view action, that causes the content of the given slot to be displayed alone, regardless of whether the slot role has a SlotRoleHandler defined.

Links to these per-slot views could be given from a list of all slots present, from action=info. Though that does not provide a way to access all slots of old revisions, we still need a solution for that.

Related Objects

StatusAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenNone
ResolvedAbit
OpenNone
OpenNone
OpenNone
OpenNone
DuplicateNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedppelberg
ResolvedKrinkle
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone

Event Timeline

daniel triaged this task as Normal priority.Nov 20 2018, 9:09 AM
daniel created this task.
Anomie added a subscriber: Anomie.Nov 20 2018, 7:37 PM

Though does not provide a way to access all slots of old revisions, we still need a solution for that.

It should work fine to use the existing oldid parameter with the new slot parameter. Although by this I suppose you're actually meaning "there's no place in the UI where that link would exist to be clicked on".

Tgr updated the task description. (Show Details)EditedNov 20 2018, 9:21 PM
Tgr added a subscriber: Tgr.

The view action expects rendered content, and the fallback handler has no knowledge of how to render its content, so it should use the raw action instead.

Though that does not provide a way to access all slots of old revisions, we still need a solution for that.

Introduce a reduced version of action=info for old revisions?

WDoranWMF moved this task from MCR to mop on the Core Platform Team board.Fri, Jul 26, 6:39 PM