mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-14 19:31:38 +00:00
3c2a967d65
composer: * mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0 * mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1 * php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2 npm: * eslint-config-wikimedia: 0.20.0 → 0.22.1 * grunt: 1.4.0 → 1.5.2 * grunt-eslint: 23.0.0 → 24.0.0 * async: 3.2.0 → 3.2.3 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 Additional changes: * Set `name` in package.json. Change-Id: Ibf55736c404151cae62dd890cb49f57e0281d773 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
hooks.txt | ||
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.