How to create a contact us page in MediaWiki -


i want add contact form in contact page of mediawiki site.i have downloaded contact extention , put in extension folder , included in localsetting.php file below

wfloadextension('contactpage'); $wgcontactconfig['default'] = array(     'recipientuser' => 'user', // must name of valid account     'sendername' => 'contact form on ' . $wgsitename, // "contact form on" needs translated     'senderemail' => null, // defaults $wgpasswordsender, may changed required     'requiredetails' => true, // either "true" or "false" required     'includeip' => true, // either "true" or "false" required     'additionalfields' => array(         'text' => array(             'label-message' => 'emailmessage',             'type' => 'textarea',             'rows' => 20,             'cols' => 80,             'required' => true, // either "true" or "false" required         ),     ),     // added in mw 1.26     'displayformat' => 'table', // see htmlform documentation available values.     'rlmodules' => array(), // resource loader modules add form display page.     'rlstylemodules' => array(), // resource loader css modules add form display page. ); 

i using mediawiki-1.25.1.but not working.

please help.thanks.

the extension contactpage creates page special:contact people can send feedback, , recipient of email user specified in first field. if user wikisysop specified with

$wgcontactconfig['default'] = array(     'recipientuser' => 'wikisysop', // must name of valid account     ... ); 

then wikisysop has configure email in her/his account, , contactpage send email there.

if there problem send email, have verify user account has confirmed email address, , verify mediawiki can send email (see manual:$wgsmtp , other parameters).


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -