Page MenuHomePhabricator

Update site specific css for new media structure
Open, MediumPublic

Description

Some sites set site-specific CSS in MediaWiki:Common.css which will need updates when output is changed.

Ex: https://ar.wikipedia.org/wiki/%D9%85%D9%8A%D8%AF%D9%8A%D8%A7%D9%88%D9%8A%D9%83%D9%8A:Common.css

Also see https://github.com/wikimedia/integration-visualdiff/blob/master/lib/parsoid.custom_styles.yaml for some mods around this.

This may need some upfront communication to update site css before rolling out on those wikis with custom mods.

Event Timeline

Arlolra triaged this task as Medium priority.
Arlolra moved this task from Needs Triage to Media Structure on the Parsoid board.

From @ssastry on irc,

one other thought i forgot to share this morning .. so, you could perhaps write a script to wget/curl Common.js & Common.css from all production wikis and grep for media selectors to at least catalog which wikis might be impacted by your changes .. so it is easier to get a sense of what will be impacted.

On IRC, @Legoktm said you can use mwgrep or https://global-search.toolforge.org/ that is supposed to do the same thing but from a web interface.