Andy
Andy

Reputation: 1421

Media Wiki - Applying a template prograitically

i've been searching for an answer to this and I can't find anything, it might be that its just not possible.

However, if i create a template and someone wants to use it, they typicaly have to create a page, pop in teh syntax, save it, and then edit it once the template has been applied. This is sometimes a challenge for my basic user to follow and we are trying to drive adoption of the wiki internally.

So I ask, it is possible to generate a link that will create a named page, and apply the temaplte at creation time so that the very first edit, people are simply editing the formatted page?

Upvotes: 0

Views: 38

Answers (1)

Tgr
Tgr

Reputation: 28220

Use the preload parameter. If you need flexibility with the page name, the InputBox extension can help further.

Upvotes: 1

Related Questions