在 MediaWiki 中安装 Wikibase 时出错

时间:2021-02-05 09:06:36

标签: mediawiki

现在我正在尝试安装 wikibase,我按照此处所写的进行了所有操作:https://www.mediawiki.org/wiki/Wikibase/Installation#Install_dependencies

我使用 Wikibase 1.35 版和 MediaWiki 1.35 版。 PHP 版本 - 7.4.13。

但是,在启用 mediawiki 时,出现以下错误:

MediaWiki internal error.

Original exception: [3eecb645794ad1c3e148c91b] 2021-02-04 16:25:37: Fatal exception of type "Error"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

我写了 $wgShowExceptionDetails = true;,但它没有给出任何东西,除了一个巨大的难以理解的文本。

这是我在LocalSettings.php最后插入的:

# Wikibase
wfLoadExtension( 'WikibaseClient', "$IP/extensions/Wikibase/extension-client.json" );
require_once "$IP/extensions/Wikibase/client/ExampleSettings.php";    
$wgWBClientSettings['repoUrl'] = 'https://pool.my.wiki';
$wgWBClientSettings['repoScriptPath'] = '';
$wgWBClientSettings['repoArticlePath'] = '/wiki/$1';
$wgWBClientSettings['repositories']['']['repoDatabase'] = 'poolwiki';
$wgWBClientSettings['repositories']['']['changesDatabase'] = 'poolwiki';
$wgWBClientSettings['siteLinkGroups'] = [ 'mywikigroup' ];
$wgWBClientSettings['siteGlobalID'] = 'en';

另外,我不是很了解作曲家,也不知道如何安装依赖项。同样,我不明白如何从MediaWiki安装的根目录执行命令。我认为我做这些事情是错误的。这两点能不能详细描述一下,在哪个文件里写什么,把什么移动到哪里,以及如何从MediaWiki安装的根目录执行命令,如果对你来说不难?预先非常感谢您。

0 个答案:

没有答案
相关问题