Manual talk:Skin configuration
From MediaWiki.org
Removing a skin and removing tabs for the user are already covered. Also how to substitute the default monobook skin. But adding a new skin has to be deduced from http://meta.wikimedia.org/wiki/Skins since also there one finds instructions on how to remove skins. It would be useful if a section Adding Skins was included in this page. I do not know enough yet and that's why I do not add it myself. Felipe :) --213.227.18.42 19:09, 26 July 2008 (UTC)
- See Manual:Skinning for how to create a skin. That page is also not as clear as it could be, but the basic idea is that you can copy the files for Monobook to some other name, and then edit to your liking. That's what I've done, and it works. --Eric Myers 22:51, 27 July 2008 (UTC)
[edit] Trying... Trying... And Trying...
But it won't work... Can someone help me and describe step by step how to change the default skin for all users? Is there maybe an other way to do it? Thanks in advance. 84.27.51.65 03:33, 22 January 2009 (UTC)
- $wgDefaultSkin = 'newskin'; —Emufarmers(T|C) 12:26, 22 January 2009 (UTC)
-
- That doesn't change it for the existing users...
- -84.27.51.65 14:21, 22 January 2009 (UTC)
-
-
- For that you must run the userOptions.php maintenance script, as the article says. Do you not have shell access, or are you receiving an error when you run the script? —Emufarmers(T|C) 15:54, 22 January 2009 (UTC)
-
-
-
-
- Not the OP here, but I could use help with this error:
-
-
bash-3.1$ php userOptions.php skin --old "monobook" --new "modern" Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/monakhos/onesci.com/w/wix/maintenance/userOptions.inc on line 17 bash-3.1$
Thanks for any advice Monakhos 00:23, 31 October 2009 (UTC)
- Because you're on DreamHost, you need to use their PHP5 binary, which is at /usr/local/php5/bin/php. —Emufarmers(T|C) 00:38, 31 October 2009 (UTC)
-
- Perfect, worked like a charm using this command -
/usr/local/php5/bin/php userOptions.php skin --old "monobook" --new "modern"
Niubrad 00:51, 31 October 2009 (UTC)