Mediawiki upgrade
Jump to navigation
Jump to search
Overview
Mediawiki upgrade 내용 정리
1.24 to 1.27
Errors
Validator Maps
같이 내용의 오류가 있다<ref>https://www.mediawiki.org/wiki/Topic:Rmap6dc6lto1i15y</ref>.
PHP Fatal error: Uncaught exception 'Exception' with message 'You need to have Validator installed in order to use Maps'
Install composer<ref>https://getcomposer.org/download/</ref>.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') \ { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');"
Add to composer.json.
{ "require": { "mediawiki/validator": "2.0.*" } }
References
<references />