Difference between revisions of "Updating mediawiki to 1.19.1"

From ThorstensHome
Jump to: navigation, search
Line 17: Line 17:
 
= Short URL issue =
 
= Short URL issue =
 
Before my articles were on http://www.staerk.de/thorsten/article, now I have to do the [https://www.mediawiki.org/wiki/Manual:Short_URL short URL rewrite] again.
 
Before my articles were on http://www.staerk.de/thorsten/article, now I have to do the [https://www.mediawiki.org/wiki/Manual:Short_URL short URL rewrite] again.
 +
 +
After implementing https://www.mediawiki.org/wiki/Manual:Short_URL/Apache the style was lost as described [https://www.mediawiki.org/wiki/Manual:Short_URL#No_Skins here].

Revision as of 08:59, 1 September 2012

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.