Page MenuHomePhabricator

Introduce global or per-wiki styles
Open, MediumPublicFeature

Description

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.