添加下面的配置到 LocalSettings.php 中即可:
# Enable subpages in the main namespace
$wgNamespacesWithSubpages[NS_MAIN] = true;
# Enable subpages in the template namespace
$wgNamespacesWithSubpages[NS_TEMPLATE] = true;
参考链接:Manual:$wgNamespacesWithSubpages
添加下面的配置到 LocalSettings.php 中即可:
# Enable subpages in the main namespace
$wgNamespacesWithSubpages[NS_MAIN] = true;
# Enable subpages in the template namespace
$wgNamespacesWithSubpages[NS_TEMPLATE] = true;
参考链接:Manual:$wgNamespacesWithSubpages
相关文章: