“Fedora 23”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
*[[mediawiki]] 升级到1.25,默认配置报错,说某些组件默认不安装
*[[mediawiki]] 升级到1.25,默认配置报错,说某些组件默认不安装
:"MediaWiki requires the [https://github.com/php-fig/log PSR-3 logging library] to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see [https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries mediawiki.org]for help on installing the required components."
:"MediaWiki requires the [https://github.com/php-fig/log PSR-3 logging library] to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see [https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries mediawiki.org]for help on installing the required components."
*解决方法
:git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git(下载)
:将composer.json文件copy到原来的wiki目录里面
:获取composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
:在原目录里面执行composer install --no-dev

2015年11月20日 (五) 06:34的版本

  • mediawiki 升级到1.25,默认配置报错,说某些组件默认不安装
"MediaWiki requires the PSR-3 logging library to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see mediawiki.orgfor help on installing the required components."
  • 解决方法
git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git(下载)
将composer.json文件copy到原来的wiki目录里面
获取composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
在原目录里面执行composer install --no-dev