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

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

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

参考链接Manual:$wgNamespacesWithSubpages

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2021-11-26
  • 2021-06-05
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-11-06
  • 2021-07-27
  • 2021-11-08
  • 2021-08-13
  • 2021-05-13
  • 2021-12-11
  • 2021-06-12
相关资源
相似解决方案