Extension:PageCSS
From MediaWiki.org
Page CSS Release status: stable |
|
---|---|
Implementation | Tag |
Description | Parser hook to add per-page CSS using the <css> tag |
Author(s) | Ævar Arnfjörð Bjarmason |
Last version | r24180 (2007-07-16) |
MediaWiki | 1.10 (maybe also before that) |
License | No license specified |
Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
Check usage (experimental) |
The Page CSS extension allows CSS styles to be defined on a wiki page. For example, to give a page a yellow background, you could use the following in the wiki text:
<css> #bodyContent { background-color: yellow; } </css>
Or to hide the title of the page:
<css> #firstHeading { display: none; } </css>
Note that this extension does not work correctly with more recent versions of MediaWiki. An update, compatible with version 1.16.0 is linked to below.
[edit] See also
- Extension:CSS
- Extension:AddScriptCss
- Extension:NewPageCSS: PageCSS updated to work with MediaWiki version 1.16.0
Language: | English • Français |
---|