Go to file
Translation updater bot 282d7450f5 Localisation updates from https://translatewiki.net.
Change-Id: Ia870a7e7f68715939ca33800f20411d82eda8652
2023-02-13 08:31:15 +01:00
.phan Suppress PhanUndeclaredProperty phan errors 2022-10-07 23:06:08 -04:00
i18n Localisation updates from https://translatewiki.net. 2023-02-13 08:31:15 +01:00
includes Replace getNativeData to getText for TemplateStyles 2023-01-03 19:02:10 +00:00
tests/phpunit Update wikimedia/css-sanitizer to ~4.0.0 2022-07-08 19:59:25 +00: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 build: Updating mediawiki/mediawiki-codesniffer to 40.0.1 2022-11-16 23:25:49 +00:00
COPYING Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
extension.json Namespace extension 2022-02-06 15:05:09 +00:00
Gruntfile.js build: Use existing eslint also for json linting 2020-09-11 23:49:03 +02:00
hooks.txt Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
package-lock.json build: Updating minimatch to 3.0.8 2022-10-21 20:16:31 +00:00
package.json build: Updating grunt-banana-checker to 0.10.0 2022-10-07 23:07:36 -04: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.