Go to file
C. Scott Ananian 6d88e26095 Use ParserOutput::setRawText() instead of deprecated ::setText()
This extension already requires MediaWiki 1.42, so the minimum version
doesn't need to be bumped.

Depends-On: I3ef34814ab9473cc70d0a6806e8c5a4a02b73491
Change-Id: Ia3a933a6abd6adb4670f458ed5b8f3e0f6da4d27
2024-04-04 10:58:19 -04:00
.phan Use HookHandlers for CodeEditor hook 2023-11-06 12:00:18 -05:00
i18n Localisation updates from https://translatewiki.net. 2024-03-22 08:45:36 +01:00
includes Use ParserOutput::setRawText() instead of deprecated ::setText() 2024-04-04 10:58:19 -04:00
tests/phpunit Use namespaced classes 2024-01-04 21:53:17 +01: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 43.0.0 2024-03-18 01:57:42 +00:00
COPYING Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
extension.json Use namespaced classes 2024-01-04 21:53:17 +01:00
Gruntfile.js build: Use conf.MessageDirs for banana path config 2023-09-18 19:54:37 +01:00
package-lock.json build: Updating dependencies 2024-02-10 23:29:25 +00:00
package.json build: Updating dependencies 2024-02-10 23:29:25 +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.