SimpleFrontPageSandbox
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
+ | == Goal == | ||
+ | |||
+ | Make a super simple frontpage. | ||
+ | |||
+ | == Method 1 == | ||
+ | '''Load a user group or page specific CSS file.''' | ||
+ | |||
+ | ====css to be used==== | ||
+ | <source lang="css"> | ||
+ | #gumax-p-login { display: none } | ||
+ | </source> | ||
+ | |||
* http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes#User_group_specific | * http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes#User_group_specific | ||
Line 9: | Line 21: | ||
* http://www.mediawiki.org/wiki/Manual:Skin_configuration | * http://www.mediawiki.org/wiki/Manual:Skin_configuration | ||
+ | == Method 2 == | ||
+ | '''Use [[Mediawiki:common.js]] to load a specific css file on a specific page.''' | ||
+ | |||
+ | == Method 3 == | ||
+ | '''Write a tag extension that loads a specific css file on a specific page. ''' | ||
[[Category:Sandbox]] | [[Category:Sandbox]] |
Revision as of 23:37, 4 March 2010
Contents |
Goal
Make a super simple frontpage.
Method 1
Load a user group or page specific CSS file.
css to be used
#gumax-p-login { display: none }
Hei nach méi Info iwwer css, wann ee probéiere well:
- http://www.mediawiki.org/wiki/Manual:$wgAllowUserCss
- http://meta.wikimedia.org/wiki/User_styles
- http://meta.wikimedia.org/wiki/User_styles#Non-display
- http://en.wikipedia.org/wiki/MediaWiki:Common.js
- http://www.mediawiki.org/wiki/Manual:Skin_configuration
Method 2
Use Mediawiki:common.js to load a specific css file on a specific page.
Method 3
Write a tag extension that loads a specific css file on a specific page.