Updating mediawiki to 1.19.1

From ThorstensHome
Revision as of 13:18, 1 September 2012 by WikiSysop (Talk)

Jump to: navigation, search

On August 24, 2012 my goal was to have FaceBook Comments on this page. It did not work with mediawiki 1.16. The page itself states it runs on mediawiki 1.18 so I decided to update to the latest version of mediawiki which was 1.19.1.

wgServer problem

Then I had

LocalSettings.php:$wgServer           = "http://www.linuxintro.org";

and

LocalSettings.php:$wgScriptPath       = "/staerk/thorsten";

As soon as I change to $wgServer to http://www.staerk.de and $wgScriptPath to "/thorsten" the style of the page changes to a very ugly one, just as if the skins were not readable any more.

Seems I had a line in the apache config that made apache redirect strangely:

   Alias /thorsten /srv/www/htdocs/staerk/thorsten/index.php

after uncommenting the thing worked.

Skin change

Now after the update the default skin is no longer MonoBook but VectOr.

Short URL issue

Before my articles were on http://www.staerk.de/thorsten/article, now I have to do the short URL rewrite again.

After implementing https://www.mediawiki.org/wiki/Manual:Short_URL/Apache the style was lost as described here.

Now I have two situations. Either styles work but I cannot access www.staerk.de/thorsten/article or I can access www.staerk.de/thorsten/article but styles do not work. To switch between these two situations I need to do the following changes to LocalSettings.php and /etc/apache2/httpd.conf