在共享主机上安装MediaWiki VisualEditor

在共享主机上安装MediaWiki VisualEditor,editor,hosting,mediawiki,shared,Editor,Hosting,Mediawiki,Shared,在共享主机上安装MediaWiki可视化编辑器的教程未在其网站上更新。 可能是为旧版本的localhostsettings.js编写的,因为它与当前版本不匹配 在MediaWiki网站上,他们说: Open localsettings.example.js, and change parsoidConfig.setMwApi according to your wiki: The first parameter is the "prefix". The "prefix" is the n

在共享主机上安装MediaWiki可视化编辑器的教程未在其网站上更新。 可能是为旧版本的localhostsettings.js编写的,因为它与当前版本不匹配

在MediaWiki网站上,他们说:

Open localsettings.example.js, and change parsoidConfig.setMwApi according to your wiki:
    The first parameter is the "prefix". The "prefix" is the name given to this wiki configuration in the deprecated Parsoid v1 API - Leave this option as default 'localhost'.
    The second parameter is "domain". The "domain" is used for communication with Visual Editor and RESTBase - Leave this optoin as default 'localhost'.
    The third parameter is "uri". The "uri" is the URL to your API (normally this is in the root-folder and called api.php) - Change this option according your wiki (For example http://wiki.example.com/api.php or http://example.com/w/api.php or something like that).
    "Proxy" parameter leave as default.
    If you use SSL on your wiki with a self-signed certificate you should uncomment parsoidConfig.strictSSL = false; in Line 102. You should still use HTTP in the URL above instead of HTTP! Note that, in at-least one instance for a Wiki on SSL having redirect rules for HTTP to HTTPS, using http://example.com/w/api.php instead of https://example.com/w/api.php gave an: "Error loading data from server: 500:docserver-http:HTTP 500." error. This was fixed on using https:// or on removing the redirect rule.

但它不匹配。有人能解释一下我需要更改哪些设置才能运行吗?

这可能会出现在ServerFault中。这可能会出现在ServerFault中。