I know how to create a page using wiki Can you tell me how to create a template using wiki?
just create a page called Template:<template name>
wikitech-l-bounces@lists.wikimedia.org schrieb am 13.03.2007 10:20:39:
I know how to create a page using wiki Can you tell me how to create a template using wiki?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
<christoph.huesler@...> writes:
just create a page called Template:<template name>
wikitech-l-bounces@... schrieb am 13.03.2007 10:20:39:
I know how to create a page using wiki Can you tell me how to create a template using wiki?
Wikitech-l mailing list Wikitech-l@... http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi christoph huesler, Thanks for your response. When i click xyz, a template should be created where user can enter any details(say schedule) when i click abc, a different template should be created where user can enter some other details(say news) This should be done using mediawiki. No as you said i will create one page called Template:<xyz> and another page called Template:<abc> Should i do this in function performAction in wiki.php using switch case 'raw' or is it something else?
phpuser wrote:
Hi christoph huesler, Thanks for your response. When i click xyz, a template should be created where user can enter any details(say schedule) when i click abc, a different template should be created where user can enter some other details(say news) This should be done using mediawiki. No as you said i will create one page called Template:<xyz> and another page called Template:<abc> Should i do this in function performAction in wiki.php using switch case 'raw' or is it something else?
You seem quite confused. Templates are like any other article. You don't need to modify php files to create them! Just link to them as if they were articles (but prepending Template: to the name) or include them with : before, eg {{:xyz}} to use article xyz instead of Template:xyz as {{xyz}} does.
Hi christoph huesler, Thanks for your response. When i click xyz, a template should be created where user can enter any details(say schedule) when i click abc, a different template should be created where user can enter some other details(say news) This should be done using mediawiki. No as you said i will create one page called Template:<xyz> and another page called Template:<abc> Should i do this in function performAction in wiki.php using switch case 'raw' or is it something else?
What do you mean by "template"? It sounds like you might be meaning "form", which is a very different thing. When you say the user enters details, do you mean enters them in wikitext in an article like {{abc|details go here}}, or do you mean entering them in text boxes and clicking a submit button?
Thomas Dalton <thomas.dalton@...> writes:
What do you mean by "template"? It sounds like you might be meaning "form", which is a very different thing. When you say the user enters details, do you mean enters them in wikitext in an article like {{abc|details go here}}, or do you mean entering them in text boxes and clicking a submit button?
Thanks for your response first.Here are the details: When the user clicks a link Create Xyz It opens a new form/template not page Here user can enter xyz details (like say event details) in wikitext in a editor(somewhat similar to wordpad) and click save button
When the user clicks a link Create Abc It should open a new form/template not page Here user can enter abc details (like say event details) in a editor(somewhat similar to wordpad) and click save button
I can do this in php but can you let me know how i can do this using mediawiki?
Thanks for your response first.Here are the details: When the user clicks a link Create Xyz It opens a new form/template not page Here user can enter xyz details (like say event details) in wikitext in a editor(somewhat similar to wordpad) and click save button
When the user clicks a link Create Abc It should open a new form/template not page Here user can enter abc details (like say event details) in a editor(somewhat similar to wordpad) and click save button
I can do this in php but can you let me know how i can do this using mediawiki?
I'm still not quite sure what you're trying to do. You say an editor a bit like wordpad - the usual MediaWiki edit page is like that. Are you wanting something with specific places for users to put specific bits of information? (One textbox for the time, one textbox for the venue, that kind of thing.)
wikitech-l@lists.wikimedia.org