Github mirror of mediawiki/extensions/TemplateStyles - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing) https://gerrit.wikimedia.org
转到文件
Translation updater bot 5a421dfaf1 Localisation updates from https://translatewiki.net.
Change-Id: I314e368c78049d8039d897af6b806bd00b83f513
2024-04-17 08:12:00 +02:00
.phan Suppress PhanUndeclaredProperty phan errors 2022-10-07 23:06:08 -04:00
i18n Localisation updates from https://translatewiki.net. 2024-04-17 08:12:00 +02:00
includes Use HookHandlers for core hooks 2023-09-24 22:12:07 +02:00
tests/phpunit Use HookHandlers for core hooks 2023-09-24 22:12:07 +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
COPYING Use wikimedia/css-sanitizer, and rewrite the hooking 2017-06-07 15:14:09 +00:00
Gruntfile.js build: Use conf.MessageDirs for banana path config 2023-09-18 19:54:37 +01:00
README.md Add a README 2020-04-30 11:44:33 -04:00
composer.json build: Update css-sanitizer requirement from 4.0.0 to 5.0.0 2023-08-29 12:03:51 -04:00
extension.json Use HookHandlers for core hooks 2023-09-24 22:12:07 +02:00
package-lock.json build: Updating npm dependencies 2024-02-09 22:57:47 +00:00
package.json build: Updating grunt-banana-checker to 0.11.0 2023-06-02 15:15:39 +00:00

README.md

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.