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-08-12
Per T199909, TemplateStyles has been deployed on all remaining wikis- including private wikis.

2018-08-06
Per T199982, in preparation for the 2018-08-09 deployment:

Message sent to 221 Wikipedia Village Pumps, added to Tech News, and mentioned on wikitech-l.


 * https://lists.wikimedia.org/pipermail/wikitech-l/2018-August/090481.html
 * https://meta.wikimedia.org/w/index.php?title=Tech/News/2018/33&diff=18277914&oldid=18269055&diffmode=source

2018-07-19
TemplateStyles has ben deployed and announced to English, French, and Chinese Wikipedias

2018-07-17
TemplateStyles will be deployed to English Wikipedia on 2018-07-19 and everywhere on 2018-08-09.

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: