Hello, I am the administrator of a freshly installed copy of MediaWiki. I've hunted and pecked around the MediaWiki guide but can't see how to modify the style sheets to change the look of my new wiki, or maintain skins or anything.
I'm a pretty versed programmer, sysadmin, etc. I'm comfortable with hacking about in CSS and [X]HTML. I could just jump in and start hacking away at stylesheets/mono/main.css, but that strikes me as a brutish approach.. I'm guessing either there's a way of setting up a seperate folder for skinned files, or even better, a way of maintaining one's css/js via the wiki itself?
Advice or links to disambiguous materials would be great! thanks :)
- - Jesse Thompson Webformix, Bend OR
On Fri, Nov 12, 2004 at 04:39:25PM -0800, Jesse Thompson wrote:
Hello, I am the administrator of a freshly installed copy of MediaWiki. I've hunted and pecked around the MediaWiki guide but can't see how to modify the style sheets to change the look of my new wiki, or maintain skins or anything.
I'm a pretty versed programmer, sysadmin, etc. I'm comfortable with hacking about in CSS and [X]HTML. I could just jump in and start hacking away at stylesheets/mono/main.css, but that strikes me as a brutish approach.. I'm guessing either there's a way of setting up a seperate folder for skinned files, or even better, a way of maintaining one's css/js via the wiki itself?
Yes, copy the monobook dir to a custom_name and edit it. You will have to add the noew custon_name to a few files in the includes dir, just grep -i MonoBook and you'll know where and what to do. For making it default you have to look into LocalSettings.php
ciao, tom
Thomas R. Koll wrote:
On Fri, Nov 12, 2004 at 04:39:25PM -0800, Jesse Thompson wrote:
Hello, I am the administrator of a freshly installed copy of MediaWiki. I've hunted and pecked around the MediaWiki guide but can't see how to modify the style sheets to change the look of my new wiki, or maintain skins or anything.
I'm a pretty versed programmer, sysadmin, etc. I'm comfortable with hacking about in CSS and [X]HTML. I could just jump in and start hacking away at stylesheets/mono/main.css, but that strikes me as a brutish approach.. I'm guessing either there's a way of setting up a seperate folder for skinned files, or even better, a way of maintaining one's css/js via the wiki itself?
Yes, copy the monobook dir to a custom_name and edit it. You will have to add the noew custon_name to a few files in the includes dir, just grep -i MonoBook and you'll know where and what to do. For making it default you have to look into LocalSettings.php
ciao, tom
You know, there should be an interface where you can add more skins without having to tamper with the PHP script. Unfortunatly, not like I could add such a thing into the code.
David Wendt wrote: <snip>
You know, there should be an interface where you can add more skins without having to tamper with the PHP script. Unfortunatly, not like I could add such a thing into the code.
Current HEAD code come with a new version for skins.
Basicly people have to build a very simple php script to set their skin setting (aka, skin name, template and stylesheets to be used). Then you will just have to put your file in ./skins/<yourskinname>
Should ease things a bit.
Ashar Voultoiz wrote:
David Wendt wrote:
<snip>
You know, there should be an interface where you can add more skins without having to tamper with the PHP script. Unfortunatly, not like I could add such a thing into the code.
Current HEAD code come with a new version for skins.
Basicly people have to build a very simple php script to set their skin setting (aka, skin name, template and stylesheets to be used). Then you will just have to put your file in ./skins/<yourskinname>
Should ease things a bit.
Yes, but it should be included with 1.4.
On Sat, 13 Nov 2004 16:21:25 -0500, David Wendt dcrkid@optonline.net wrote:
Ashar Voultoiz wrote: Yes, but it should be included with 1.4.
The HEAD branch of the CVS _is_ the current version of 1.4. The current release is 1.3.7. 1.4 is not yet beta (or even alpha, I believe.)
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail!
mediawiki-l@lists.wikimedia.org