Page MenuHomePhabricator

Add client-side skin preferences drop-down
Closed, DuplicatePublic

Description

For an example see Wikiwand gear (cog) menu in the top-right corner.

It is a recurring request to allow users (logged-in and anonymous) to customize their viewing experience with the following options:

  • font-size -- ex. 12px - 14px (Vector) - 16px (Minerva) - 18px
  • sans / sans-serif font -- inherently subjective choice
  • font-family -- ex. a few options: a modern webfont / WikimediaUI Base's system font stack / system default
  • theme - light/dark mode or more (theme implementation is not a concern of this task)

The common solution is to provide a pop-up menu, similar to echo's pop-up, its icon also placed next to the user menu, see Wikiwand for an example.

These settings can be stored in LocalSettings for anon users, server-side for registered users and loaded before the first paint (the javascript is loaded synchronously or included in the html; the logged-in settings are included in the html).

This task is universal to all skins, but might be implemented as part of the Desktop Improvements project.

Event Timeline

Demian created this task.Feb 10 2020, 2:16 PM
Restricted Application added subscribers: Masumrezarock100, Aklapper. · View Herald TranscriptFeb 10 2020, 2:16 PM

@Demian Hi. Briefly: (1) Please don't assign tasks to other people yourself! Thank you. (2) This task is a duplicate of T91201. I will merge it in, next.

This task is a duplicate of T91201. I will merge it in, next.

Thank you! I couldn't find that task.