MZMcBride wrote:
Current default:
---
$wgNamespacesWithSubpages = array(
NS_TALK => true,
NS_USER => true,
NS_USER_TALK => true,
NS_PROJECT => true,
NS_PROJECT_TALK => true,
NS_FILE_TALK => true,
NS_MEDIAWIKI => true,
NS_MEDIAWIKI_TALK => true,
NS_TEMPLATE_TALK => true,
NS_HELP => true,
NS_HELP_TALK => true,
NS_CATEGORY_TALK => true
);
---
Proposed array addition:
---
NS_MAIN => true,
---
The more I look at this, the more I wonder why not instead invert the
array:
---
$wgNamespacesWithoutSubpages = array(
NS_FILE => true,
NS_CATEGORY => true
);
---
I don't know why NS_TEMPLATE isn't true by default... isn't using
"Template:Foo/doc" for "Template:Foo"'s documentation a common
pattern?
Though my real goal is saner default behavior for NS_MAIN and inverting
the array would be a larger change than a simple one-liner. Hmmm.
MZMcBride