I have a MediaWiki page listing all the rivers of the world [not really] as local hyperlinks. Whenever someone creates a "river page" by clicking on the link, I want the page automatically populated with a "river template".
Can I do this?
I realize I could pre-populate all the river pages with the river template, but, of the one million river links, I only expect about 100K of them to ever be created, and it seems like a waste of space to create 1 million template pages when I'll only need 100K.
Use MediaWiki:Newpageintro for the text above the edit window. And a template such as Template:Newriverpage to populate a new page that is called from an entry in an inputbox (install the inputbox extension - http://meta.wikimedia.org/wiki/Help:Inputbox). The inputbox should be called in a similar manner as the following:
<inputbox> type=create editintro=MediaWiki:Newpageintro preload=Template:NewOrganizationpage width=35 break=no </inputbox> <noinclude> [[Category:Rivers]] </noinclude>
We use this at http://www.appropedia.org: We use MediaWiki:Newpageintro for the text above the edit screen, and templates like Template:NewOrganizationpage to populate a new page started by creating a page using the following inputbox Template:Organizationinputbox, which can be seen at - http://www.appropedia.org/Category:Organization
Good luck.
On 1/26/07, Kelly Jones kelly.terry.jones@gmail.com wrote:
I have a MediaWiki page listing all the rivers of the world [not really] as local hyperlinks. Whenever someone creates a "river page" by clicking on the link, I want the page automatically populated with a "river template".
Can I do this?
I realize I could pre-populate all the river pages with the river template, but, of the one million river links, I only expect about 100K of them to ever be created, and it seems like a waste of space to create 1 million template pages when I'll only need 100K.
-- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org