Steps to reproduce
- Download mediawiki core 1.28 wmf 2
- Download mediawiki/vendor 1.28 wmf 2.
And install it.
Actual results
- It errors out with
[18-May-2016 12:36:08 UTC] PHP Warning: require_once(/home/randomwi/public_html/en/vendor/composer/autoload_static.php): failed to open stream: No such file or directory in /home/randomwi/public_html/en/vendor/composer/autoload_real.php on line 32
[18-May-2016 12:36:08 UTC] PHP Fatal error: require_once(): Failed opening required '/home/randomwi/public_html/en/vendor/composer/autoload_static.php' (include_path='/home/randomwi/public_html/en/vendor/pear/pear_exception:/home/randomwi/public_html/en/vendor/pear/console_getopt:/home/randomwi/public_html/en/vendor/pear/pear-core-minimal/src:/home/randomwi/public_html/en/vendor/pear/mail_mime:/home/randomwi/public_html/en/vendor/pear/mail_mime-decode:/home/randomwi/public_html/en/vendor/pear/net_socket:/home/randomwi/public_html/en/vendor/pear/net_smtp:/home/randomwi/public_html/en/vendor/pear/mail:.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/randomwi/public_html/en/vendor/composer/autoload_real.php on line 32
Expected results
- It should not error out and my wiki should load.
This was caused by https://github.com/wikimedia/mediawiki-vendor/commit/4bd8ba35627e7d70036de02eeec5e52ba64b9250
It didn't add the autoload_static file. We should not add the file due to linting errors we found on ci.