Mediawiki 子页连接无效的问题

添加下面的配置到 LocalSettings.php 中便可:php

# Enable subpages in the main namespace
$wgNamespacesWithSubpages[NS_MAIN] = true;

# Enable subpages in the template namespace
$wgNamespacesWithSubpages[NS_TEMPLATE] = true;

参考连接Manual:$wgNamespacesWithSubpagesspa

PS - 个人我的博客连接:Mediawiki 子页连接无效的问题code

相关文章
相关标签/搜索