Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Creating a new page with standard headings by default

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


kushalkoolwal at hotmail

Oct 23, 2009, 7:39 AM

Post #1 of 2 (222 views)
Permalink
Creating a new page with standard headings by default

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/

_________________________________________________________________
Windows 7: Simplify your PC. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Oct 23, 2009, 1:57 PM

Post #2 of 2 (198 views)
Permalink
Re: Creating a new page with standard headings by default [In reply to]

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
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.