Wikimedia Product/TemplateStyles

Background
In a Wikimedia blog post about TemplateStyles Software Engineer Brad Jorsch describes TemplateStyles as, ”a way for non-administrator contributors to be able to create reusable stylesheets that can be included in articles only as needed, with the ability to specify styles for different-sized devices.”

Per the project description in Phabricator: “Storing template scoped styling in the page and emitting it on transclusions." See the MediaWiki extension documentation for technical documentation.

What is being done
Work on the project is tracked on the TemplateStyles workboard in Phabricator.

Dependency: In order for TemplateStyles to be deployed to individual wikis, Remex must enabled in place of Tidy in the respective wiki. For more information about Remex HTML, see this blogpost describing the change.

Feedback
Questions about the work regarding TemplateStyles can be left on the talk page.

2018-07-17
TemplateStyles will be deployed to English Wikipedia on 2018-07-19 and everywhere on 2018-08-09 (pending no concerns from others).

The next focus is for TemplateStyles to enable adding skin-specific CSS, to allow users to improve mobile support for Wiki Loves Monuments. ETA is by September 2018.

2018-07-10
As of early July 2018, TemplateStyles has been deployed to the following wikis: