Go to file
James D. Forrester a1710e1a68 Add support for wikimedia/css-sanitizer 5.4.0
Bug: T378591
Change-Id: I2a8bfda1e3880be44e20637bd729b73d97df726f
2024-10-30 10:21:48 -04:00
.phan build: Remove suppression of PhanUndeclaredProperty for Parser property 2024-04-16 23:10:07 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-10-25 09:52:39 +02:00
includes Use namespaced classes 2024-10-20 13:21:02 +02:00
tests/phpunit Use namespaced classes 2024-10-20 13:21:02 +02:00
.eslintrc.json build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 2020-11-04 13:51:41 +00:00
.gitignore build: Updating eslint-utils to 1.4.2 2019-08-23 06:34:52 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:03:54 -07:00
.phpcs.xml Fix remaining phpcs exclusion 2022-11-10 16:56:02 -07:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 14:41:18 +00:00
composer.json Add support for wikimedia/css-sanitizer 5.4.0 2024-10-30 10:21:48 -04:00
COPYING Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
extension.json build: Update MediaWiki requirement to 1.43 2024-08-22 18:31:33 -04:00
Gruntfile.js build: Use conf.MessageDirs for banana path config 2023-09-18 19:54:37 +01:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-31 07:52:46 +00:00
package.json build: Updating eslint-config-wikimedia to 0.28.2 2024-06-22 03:03:34 +00:00
README.md Add a README 2020-04-30 11:44:33 -04:00

TemplateStyles

The TemplateStyles extension introduces a <templatestyles> tag to specify that a stylesheet should be loaded from a wiki page. Placing this in a template allows the template to have custom styles without having to place them in MediaWiki:Common.css.

For installation and setup instructions, see https://www.mediawiki.org/wiki/Extension:TemplateStyles.

For instructions on how to use the extension as an editor on a wiki, see https://www.mediawiki.org/wiki/Help:TemplateStyles.