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. 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?
Look at the InputBox
http://meta.wikimedia.org/wiki/Help:Inputbox ===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 7:34 AM, phpuser wrote:
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. 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?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hmm... I thought there was a way to preload a template with inputbox, but that must have been from some discussion on the list, not in the original extension. Anyone remember if anyone got that working?
Jim ===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 9:38 AM, Jim Hu wrote:
Look at the InputBox
http://meta.wikimedia.org/wiki/Help:Inputbox
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 7:34 AM, phpuser wrote:
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. 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?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Doh!
preload=pagename
Gotta think more before replying...or have coffee... ===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 9:44 AM, Jim Hu wrote:
Hmm... I thought there was a way to preload a template with inputbox, but that must have been from some discussion on the list, not in the original extension. Anyone remember if anyone got that working?
Jim
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 9:38 AM, Jim Hu wrote:
Look at the InputBox
http://meta.wikimedia.org/wiki/Help:Inputbox
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 7:34 AM, phpuser wrote:
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. 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?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Jim Hu <jimhu@...> writes:
Hmm... I thought there was a way to preload a template with inputbox, but that must have been from some discussion on the list, not in the original extension. Anyone remember if anyone got that working?
Jim
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 9:38 AM, Jim Hu wrote:
Look at the InputBox
http://meta.wikimedia.org/wiki/Help:Inputbox
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 7:34 AM, phpuser wrote:
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. 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?
Wikitech-l mailing list Wikitech-l@... http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@... http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi Thanks for your response. I dont want to create a new page everytime. I want to create a template using mediawiki. 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 think you confused everyone here because "Template" has a very specific meaning in mediawiki.
I think you might be looking for something more like this:
http://www.mediawiki.org/wiki/Extension:TableEdit
On Mar 16, 2007, at 2:21 AM, phpuser wrote:
Jim Hu <jimhu@...> writes:
Hmm... I thought there was a way to preload a template with inputbox, but that must have been from some discussion on the list, not in the original extension. Anyone remember if anyone got that working?
Jim
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 9:38 AM, Jim Hu wrote:
Look at the InputBox
http://meta.wikimedia.org/wiki/Help:Inputbox
Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 13, 2007, at 7:34 AM, phpuser wrote:
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. 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?
Wikitech-l mailing list Wikitech-l@... http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@... http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi Thanks for your response. I dont want to create a new page everytime. I want to create a template using mediawiki. 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?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
wikitech-l@lists.wikimedia.org