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.
How Do I take text from Textarea in Extension
Re: How Do I take text from Textarea in Extension
I'm not quite sure what you want to achieve...any detail?
Re: How Do I take text from Textarea in Extension
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.
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.