Mediawiki upgrade: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== Errors === | === Errors === | ||
==== Validator Maps ==== | ==== Validator Maps ==== | ||
같이 내용의 오류가 있다<ref>https://www.mediawiki.org/wiki/Topic:Rmap6dc6lto1i15y</ref>. | |||
<pre> | <pre> | ||
PHP Fatal error: Uncaught exception 'Exception' with message 'You need to have Validator installed in order to use Maps' | PHP Fatal error: Uncaught exception 'Exception' with message 'You need to have Validator installed in order to use Maps' | ||
</pre> | </pre> | ||
Install composer<ref>https://getcomposer.org/download/</ref>. | |||
<pre> | |||
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');" | |||
</pre> | |||
Add to composer.json. | |||
<pre> | |||
{ | |||
"require": { | |||
"mediawiki/validator": "2.0.*" | |||
} | |||
} | |||
</pre> | |||
== References == | |||
<references /> | |||
[[category:mediawiki]] | [[category:mediawiki]] |
Latest revision as of 23:16, 15 August 2016
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 />