If you only care about adding subpages to articles in the Main namespace, you can use this:
$wgNamespacesWithSubpages[NS_MAIN] = true;
On 2/8/07, Jens Frank jf@mormo.org wrote:
On Thu, Feb 08, 2007 at 11:48:52PM +0800, Liang Chen wrote:
HI, I tried to add an article behind another article following by a "/", like "Abacus/TOEFL", and "User:BiGreat/Gaokao2".
However, in the second page "User:BiGreat/Gaokao2", there will be a "< User:BiGreat" below the title, but in the first page "Abacus/TOEFL", there isn't a "< Abacus".
I don't know why. Could somebody help me? The two page at: http://kaoshi.wobuxihuan.org/Abacus/TOEFL http://kaoshi.wobuxihuan.org/User:BiGreat/Gaokao2
The feature you're using is called "subpage". By default, subpages are only available in some namespaces, e.g. User.
In your LocalSettings.php, set
$wgNamespacesWithSubpages = array( NS_MAIN => true, NS_TALK => true, NS_USER => true, NS_USER_TALK => true, NS_PROJECT_TALK => true, NS_IMAGE_TALK => true, NS_MEDIAWIKI_TALK => true, NS_TEMPLATE_TALK => true, NS_HELP => true, NS_HELP_TALK => true, NS_CATEGORY_TALK => true );
to enable subpages in these namespaces.
Regards,
jens
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l