Page 1 of 1

How Do I take text from Textarea in Extension

Posted: April 3rd, 2010, 2:53 pm
by vitiucha
Hi, I'm creating new extension.

In the page I create input form to new wiki page (Wiki page name) and second form (textarea) and then submit button.

The I press button, MediaWiki create new page with my typed name.
The question is, how add my textarea text to new MW page editor? Maybe somebody know any function, o have egzample.

Thanks a lot.

Re: How Do I take text from Textarea in Extension

Posted: April 4th, 2010, 8:31 pm
by Paul
I'm not quite sure what you want to achieve...any detail?

Re: How Do I take text from Textarea in Extension

Posted: April 5th, 2010, 7:45 am
by vitiucha
http://vitiucha.puslapiai.lt/VGTU/index ... s_puslapis
Here my extension.

"Enter the title of the page you wish to create:" new page name.
"Additional information" - will be some text.
when i'll press "Create Lecture" button, MediaWiki create page with my new name and in wiki editor must be my additional information (text from textarea) . But how i can do it? something do with post or get?

Cause i looked a lot extensions, but didn't find any ideas.