Merci but that's not what I want. Boilerplate, as I understand write a predefine content in the textbox when editing a new page.
I want the same behaviour than categories : go to Category:Portnawak (a name that doesn't exist) in your wiki, you don't see the edit form, but you see the list of subcategories and articles, if there are. In my namespace I want to replace this content (titles, lists of subcaterogies/pages) by another one (title + call to an extension).
2008/3/17, Dr JFBurté burtejf@orange.fr:
salut http://www.mediawiki.org/wiki/Extension:Boilerplate ? @+
----- Original Message ----- From: "Sylvain Machefert" iubito@gmail.com To: "MediaWiki announcements and site admin list" mediawiki-l@lists.wikimedia.org Sent: Monday, March 17, 2008 6:40 PM Subject: [Mediawiki-l] how to create a custom namespace with special content(like categories) ?
Hello,
I know how to add a new namespace, that's OK. But I'd like this namespace behave like categories : if I call MyNamespace:Foobar, if this page doesn't exist, I'd like to display an automatically generated content, for instance <my_extension>blabla</my_extension>
I don't want to display a list of articles as if it were a category, I'd like to know the way to generate automatic content for non-existing (or all) pages in this namespace.
-- Sylvain Machefert http://www.tousauxbalkans.net http://iubito.free.fr/blog/
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- No virus found in this incoming message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1331 - Release Date: 16/03/2008 10:34
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l