Hello Folks,
I have just updated our wiki from LTS version 1.23.14 to 1.23.15 and hit a problem. Although I seem to have found the cause, I thought I would write this in case anyone is interested.
I downloaded :
https://releases.wikimedia.org/mediawiki/1.23/mediawiki-1.23.15.tar.gz
Unpacked, copied settings, images etc. , ran the maintenance/update.php script, all seemed well.
But accessing the wiki gave me an error :
"Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /homepages/44/d450433756/htdocs/mediawiki-1.23.15/vendor/param-processor/param-processor/DefaultConfig.php on line 24"
Going back to (on disk) .14 worked (thank goodness).
Looking more closely, I could see that "vendor" is not a folder in the MW source but seems to come from PHP "Composer.phar". I use "Composer" because it is the recommended way to update the SubPageList extension per :
https://github.com/JeroenDeDauw/SubPageList/blob/master/doc/INSTALL.md
So I run :
php5.5 composer.phar self-update php5.5 composer.phar update
and this pulls in the SubPageList extension and creates the "vendor" folder.
To get the wiki working again, I reinstalled but did NOT use Composer to get the SubPageList extension (or anything).
Maybe there is a problem with Composer (at least the updated version) and MW 1.23.15? I am very happy that the wiki is running again and using .15.
Cheers,