Page MenuHomePhabricator

Vector breaks MediaWiki 1.24
Closed, InvalidPublic

Description

I just updated my MediaWiki installation to version 1.24 and installed Vector from git. It breaks the page with a fatal PHP error. I have the Vector extension installed and up to date.

My Apache error log says (slightly anonymized):

[Thu Nov 27 10:55:23 2014] [error] [client x.x.x.x] PHP Fatal error:  Call to undefined method VectorTemplate::getIndicators() in /.../wiki/skins/Vector/VectorTemplate.php on line 105, referer: http://nordiclarp.org/wiki/Main_Page

My temporary fix is to comment out the php running the getIndicators method.

Event Timeline

Johannesaxner raised the priority of this task from to Needs Triage.
Johannesaxner updated the task description. (Show Details)
Johannesaxner changed Security from none to None.
Johannesaxner subscribed.

run git reset --hard origin/REL1_24 in skins/Vector, as the master branch has commits which only work in future versions of mediawiki.

I downloaded the zip file from the master branch and copied it into the skins folder and it worked. Tested on two new setup MW installations (1.24) in a VM (LM Qiana Mate with)

Aklapper claimed this task.

Running a stable MW version in combination with git master is not supported in general. Closing as invalid.

That really solved the problem ...

edit: 2014-12-04
I tried git reset --hard origin/REL1_24 as well, instead of downloading and cp it into /skins.
It worked... thanks.

run git reset --hard origin/REL1_24 in skins/Vector, as the master branch has commits which only work in future versions of mediawiki.

This solved things. Thank you. Documentation was really unclear on what the proper procedure to get the theme in place.