Mediawiki 怎么都不显示ico 图标

服务器伪静态规则

location ~ ^\/.+$ {
if ($request_uri ~ ^/resources) { break; }
if ($request_uri ~ ^/images) { break; }
if ($request_uri ~ ^/skins) { break; }
if ($request_uri ~ ^/index.php) { break; }
if ($request_uri ~ ^/favicon.ico){ break; }
rewrite ^/(.+)$ /index.php?title=$1 last;
}

MW伪静态MW伪静态

$wgScriptPath = "";
$wgArticlePath = "$wgScriptPath/$1";
$wgUsePathInfo = true;
$wgScriptExtension = ".php";