MediaWiki 修改维基名称

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; GeSHi has a deprecated constructor in /var/www/html/wp-content/plugins/syhi/libs/geshi.php on line 259

在wiki代码根目录,找到

LocalSettings.php
,修改相应代码为:

$wgSitename = "你的百科名称";

现将文件上传到对应目录,即

/opt/lampp/htdocs/wiki/resources/assets/
。图片大小改动可以使用这个网站

在wiki代码根目录,找到

LocalSettings.php
,修改相应代码为:

## The URL path to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo = "$wgResourceBasePath/resources/assets/wiki.gif";

即将原先的

wiki.png
改为
wiki.gif

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据