Description of problem: mediawiki pages fill logs with errors similar to: PHP Notice: Use of undefined constant TS_UNIX - assumed 'TS_UNIX' in /usr/share/mediawiki/includes/libs/rdbms/database/Database.php on line 2905 {and full backtrace....} Version-Release number of selected component (if applicable): mediawiki-1.29.1-1.fc27.noarch How reproducible: On basically any page, several hundred lines of backtrace are created in the logs. Additional info: The problem appears to be in the mediawiki.spec file. It removes the vendor/autoload.php shipped with mediawiki and creates a new one after removing some libraries supplied by depended rpms. However, mediawiki 1.29 added the timestamp library, but static include wasn't correctly added to the re-created autoload. An additional line needs to be added to the %build rule of the spec file: echo "require dirname(dirname(__FILE__)) . '/vendor/wikimedia/timestamp/src/defines.php';" >> vendor/autoload.php
mediawiki-1.29.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-78a4610238
mediawiki-1.29.2-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-78a4610238
Excellent. Latest version works, I'll add karma :)
mediawiki-1.29.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.