Manual:$wgNamespacesWithSubpages/zh

细节
该变量包含指定哪些名字空间允许创建子页面的数组. 该数组按名字空间的数字 ID 索引，各项的数值可以是 0（无子页面）或 1（允许创建子页面）. A categoryspace (namespace 14) subpage will work like any other category.

参见.

Enabling for a namespace

 * See also for a list of the   codes.

要为指定名字空间启用子页面功能，通常要编辑  并插入以下代码：

Disabling for a namespace
Disable subpages in a namespace (where it is enabled by default). For example  has subpages enabled by default in MediaWiki. To disable them, set :

Enabling for all namespaces
This assumes you have no more than 200 namespaces.

If you only wanted to enable subpages for all talk namespaces, you would use:

Again, this assumes you have no more than 200 namespaces.

Default value
The default of this setting has changed over the years. To be sure which one applies to your wiki check this setting in "DefaultSettings.php".