Manual talk:$wgNamespacesWithSubpages

Activation on eo:WP
Please activate subpages in Esperanto Wikipedia mainspace. Thx ArnoLagrange (sysop and bureaucrat @ eo:WP ) 09:05, 17 November 2007 (UTC)


 * Wrong place. Please ask at Bugzilla. --HappyDog 12:15, 19 November 2007 (UTC)

Example to get this working
ftp down your LocalSettings.php file

add the following 2 lines of code:

$wgExtraNamespaces = array(100 => "YOURNAMESPACE", 101 => "YOURNAMESPACE_talk"); $wgNamespacesWithSubpages[100] = true;

upload the LocalSettings.php file

create the following as the parent page name: YOURNAMESPACE:Home

then create the following as a childpage name: YOURNAMESPACE:Home/Child1

this will embed a simple < YOURNAMESPACE:Home link at the top of the child. Unfortunately, the page name is mucked up with the namespace, colon, parent, and slash.

Problems with subpages in the main namespace
site: wikademia.org -> subpages are not working in main namespace... some sort of error. If you take a look and can tell me how to fix it, then 1000 thanks. Thanks.


 * I don't see any errors. —Emufarmers(T 11:02, 4 April 2009 (UTC)


 * http://wikademia.org/Scratch_9/Test goes to missing.html ... subpages do work in user space and other namespaces, like at http://wikademia.org/Meta:Scratch/Scratch ...


 * I would guess you have a rewrite rule that doesn't always allow for slashes in titles. —Emufarmers(T 02:32, 5 April 2009 (UTC)


 * in .htaccess? I don't even see a .htaccess ... or somewhere else?

Disable subpages for all namespaces
Hello, will this directive disable subpages for all namespaces?

$wgNamespacesWithSubpages = array;

--89.185.250.132 16:04, 6 June 2010 (UTC)