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.