Manual:$wgLogo/zh

详情
The URL of the site logo (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations). Either a fully-qualified URL or a relative path from DOCUMENT_ROOT. If it's a relative path, it has to start with a slash (a file in DOCUMENT_ROOT is /file.png, not file.png).

Logo应为135 x 135像素. 更大的尺寸可以通过修改网站的CSS而使用上（并且也可以设置为更小尺寸，操作上没有变化）. Note that if you use a bigger image, MediaWiki will not resize this image! Instead, the image will be cut off so that only part of it (the upper left-hand corner to be precise) will be visible. If this corner is completely white, it might look like the image would not display although in fact it does.

例子
上传您的标志文件至您的服务器. Let's say it ends up as /images/4/47/mylogo.png. Then you can use it as your site logo by adding this line to LocalSettings.php:

Make sure that you add this line below the definition of $wgScriptPath! Otherwise, $wgScriptPath will still be undefined and the logo will not be displaying.

参见

 * 我如何更改标志？