mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-30 19:15:07 +00:00
6d88e26095
This extension already requires MediaWiki 1.42, so the minimum version doesn't need to be bumped. Depends-On: I3ef34814ab9473cc70d0a6806e8c5a4a02b73491 Change-Id: Ia3a933a6abd6adb4670f458ed5b8f3e0f6da4d27 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
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.