Hi
I installed a new wiki (MediaWiki 1.13.2 on Linux/Fedora9/Apache/MySQL) using the built-in web-config. The content works fine, but pages are 'unstyled' - skins don't seem to be working at all. I haven't changed the default file layout (ie install in /usr/share/mediawiki/ and site at /var/www/html/wiki/ ).
Looking in the Apache log, I see errors like this: [Mon Dec 01 05:50:15 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/wiki/skins, referer: http://127.0.0.1/wiki/index.php/Main_Page
I have tried including the following line in LocalSettings.php: $wgStyleDirectory = "/usr/share/mediawiki/skins"; but I still get the above error.
Any suggestions? Should I move the skins directory (currently in /usr/share/mediawiki/skins/) to somewhere within the site ie move it into /var/html/wiki/skins/ ?
Thanks Patrick.
wgStylePath = "/path";
2008/12/1 Patrick Sefton plgs@ozemail.com.au:
Hi
I installed a new wiki (MediaWiki 1.13.2 on Linux/Fedora9/Apache/MySQL) using the built-in web-config. The content works fine, but pages are 'unstyled' - skins don't seem to be working at all. I haven't changed the default file layout (ie install in /usr/share/mediawiki/ and site at /var/www/html/wiki/ ).
Looking in the Apache log, I see errors like this: [Mon Dec 01 05:50:15 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/wiki/skins, referer: http://127.0.0.1/wiki/index.php/Main_Page
I have tried including the following line in LocalSettings.php: $wgStyleDirectory = "/usr/share/mediawiki/skins"; but I still get the above error.
Any suggestions? Should I move the skins directory (currently in /usr/share/mediawiki/skins/) to somewhere within the site ie move it into /var/html/wiki/skins/ ?
Thanks Patrick.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks. This put me on the right track. For the record, this is what I ended up doing:
1. Add the following lines in LocalSettings.php: $wgStylePath = "/wiki/skins"; $wgStyleDirectory = "/var/www/html/wiki/skins";
2. Move the skins dir from the install dir to webroot: # mv /usr/share/mediawiki/skins/ /var/www/html/wiki/
3. Copy the includes dir from install dir to webroot: # cp -R /usr/share/mediawiki/includes/ /var/www/html/wiki/includes/
Joung-Hyun Lee wrote:
wgStylePath = "/path";
2008/12/1 Patrick Sefton plgs@ozemail.com.au:
Hi
I installed a new wiki (MediaWiki 1.13.2 on Linux/Fedora9/Apache/MySQL) using the built-in web-config. The content works fine, but pages are 'unstyled' - skins don't seem to be working at all. I haven't changed the default file layout (ie install in /usr/share/mediawiki/ and site at /var/www/html/wiki/ ).
Looking in the Apache log, I see errors like this: [Mon Dec 01 05:50:15 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/wiki/skins, referer: http://127.0.0.1/wiki/index.php/Main_Page
I have tried including the following line in LocalSettings.php: $wgStyleDirectory = "/usr/share/mediawiki/skins"; but I still get the above error.
Any suggestions? Should I move the skins directory (currently in /usr/share/mediawiki/skins/) to somewhere within the site ie move it into /var/html/wiki/skins/ ?
Thanks Patrick.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org