Hi there,
I have a question concerning the functions of the category namespace. This namespace automatically generates a list with subcategories and articles which are linked to this category. I have got the following question:
Is it possible to use these functions within another namespace? And if yes, how is this possible?
I really appreciate your help!
Thanks in advance !!!
Best regards,
Joost The Netherlands
Disclaimer
Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de afzender te waarschuwen en dit bericht met eventuele bijlagen direct te verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht.
This e-mail and any attachments are confidential and is solely intended for the addressee only. If you are not the intended recipient, please notify the sender and delete and/or destroy this message and any attachments immediately. It is prohibited to copy, to distribute, to disclose or to use this e-mail and any attachments in any other way. Ordina N.V. and/or its group companies do not accept any responsibility nor liability for any damage resulting from the content of and/or the transmission of this message.
On 04/08/05, Setten, Joost van Joost.van.Setten@ordina.nl wrote:
I have a question concerning the functions of the category namespace. This namespace automatically generates a list with subcategories and articles which are linked to this category. I have got the following question:
Is it possible to use these functions within another namespace? And if yes, how is this possible?
Well, the first answer is "no" - the category: namespace's special functionality is a hard-coded special case. But depending what you actually want to do, it may not be that much work to: * rename the namespace (very simple, since namespace-names are defined in LanguageXX.php) * duplicate the namespace by finding references to it in the code, and expanding them to apply also to another namespace; note that the way the category-memberships are stored in the database may also need fiddling with...
But the big question that arises, is why you want to do this at all - the categories are not forced into a strictly hierarchical structure, so you can have any number of "category trees" within the one namespace. In other words, why don't you just put the pages you want to have this facility in the existing Category namespace?
wikitech-l@lists.wikimedia.org