Page MenuHomePhabricator

Introduce global or per-wiki styles
Open, MediumPublicFeature


It should be possible to set global or per-wiki styles, so that each article wouldn't need to redefine the colors or line thickness for the same class of items. A MediaWiki namespace page would define style configuration. We should only allow "non-text" values (not title and not description).

  styles: {
    road: {
      "strike": "#ff0000",
      "strike-width": 5

This way the map geojson could reference it with "style": "road", instead of specifying road-related values in each page.

Event Timeline

Yurik created this task.Sep 22 2016, 3:42 AM
Restricted Application added a project: Discovery. · View Herald TranscriptSep 22 2016, 3:42 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Abbe98 added a subscriber: Abbe98.Sep 28 2016, 9:42 PM
Yurik removed a project: Maps.Dec 15 2016, 4:39 AM
mxn added a subscriber: mxn.Nov 10 2018, 10:03 PM
TheDJ changed the subtype of this task from "Task" to "Feature Request".Mar 8 2020, 11:46 PM