Kushal Koolwal wrote:
> I am using Mediawiki on Debian Lenny.
>
> By default, creating a new page starts with blank i.e. no wikitext. Users
> needs to put headings, text etc.
>
> I need to include following standard headers by default every time a new page
> is created. Here is the wikitext:
> *************************
> ==Basic Description==
>
> ==Explain==
>
> ==See also==
>
> ==References==
>
> ==External links==
> *************************
>
> What is the best way to do this? I have already created a template for the
> above page [[Template:MyTemplate]] and it seems that I can use it on a new
> black page with the following syntax {{Template:MyTemplate}}. However I would
> like to go one step further in the sense that whenever a user creates a new
> page, it will automatically populate from the template.
> Kushal Koolwal
>
> I do blog at http://blogs.koolwal.net/
http://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text
You can also use a javascript to fill it.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l