Page MenuHomePhabricator

Create a new magic word {{USERSKIN}} to identify which skin is currently used by user
Open, Needs TriagePublicFeature

Description

On many pages, especially help pages, it can be useful to identify which skin is currently used by the user to provide the correct information.
For example some menus or features are located in different positions depending on the skins.
Therefore, with a specific variable it might be possible to adjust the information provided to the user depending on specific skins.

Event Timeline

This will fragment the parser cache. Instead we may provide CSS classes so that elements can be displayed differently in different skins.

@Bugreporter: There are already classes applied to the body element to identify the used skin (e.g. .skin-vector-2022).

Bugreporter2 renamed this task from Create a new magic word to identify which skin is currently used by user to Create a new magic word {{USERSKIN}} to identify which skin is currently used by user.Sat, Nov 23, 1:07 PM