Commit Graph

22 Commits

Author SHA1 Message Date
Tim Starling b77c480ccd * Removed MW 1.9 compatibility
* Use early returns to avoid excessive indenting
* Fixed a bug causing the "email me a copy" feature to not work if $wgUserEmailUseReplyTo=false
* Make the "email me a copy" emails come from the contact sender instead of the person who submitted the form. Makes more sense to me. 
* Rename $from and $to so we don't have to send mails to from, or from to
2009-02-20 03:47:30 +00:00
Jack Phoenix 246bd92718 ContactPage:
*$fname => __METHOD__
*change some double quotes to single quotes
*mark visibility of some functions
*addWikiText(wfMsg()) => addWikiMsg() whenever possible
*doxygen doc tweaks
*tweak Finnish special page alias name
2009-01-11 12:16:13 +00:00
Raimond Spekking d3b09bdc19 * Make form consistent with Special:EmailUser
* Use proper XML functions
* Use CSS classes for table construction for proper RTL support
* Move : into messages for consistency
2008-11-04 08:19:56 +00:00
Daniel Kinzler 96cef6d615 fixed skipchaptcha behavior 2008-07-06 14:23:16 +00:00
Daniel Kinzler 9575039919 suppress captcha if user has skipcaptcha permission 2008-07-05 21:40:25 +00:00
Daniel Kinzler d625771810 added option that forces visitors to enter name and email address 2008-07-05 21:20:32 +00:00
Daniel Kinzler 8bcb9d4df1 Support $wgUserEmailUseReplyTo, use From or Reply-To accordingly 2008-07-05 21:06:49 +00:00
Daniel Kinzler 203f27a843 use wfSetupSessision as soon as captcha is shown 2008-06-29 22:46:04 +00:00
Daniel Kinzler 03b0b07f87 use wfSetupSession when message is submitted. Hopefully fixes captcha problem 2008-06-29 22:43:40 +00:00
Daniel Kinzler a1c2d21abb tweaks: fixing interaction with captcha extension, using wiki-text messages instead of HTML 2008-06-26 13:06:55 +00:00
Siebrand Mazeland 97dc8a8837 * ContactPage uses wfLoadExtensionMessages now
* add descriptionmsg, and version in extension credits
* remove trailing whitespace
* update Translate
2008-02-03 14:37:27 +00:00
Daniel Kinzler 5ebf35a965 Captchas for ContactPage 2007-10-13 11:41:44 +00:00
Daniel Kinzler 56f9acce6e revert of 26693, going to re-commit as two separate change sets 2007-10-13 11:38:09 +00:00
Daniel Kinzler 97956cb56a ContactPage now supports LoadAllMessages hook 2007-10-13 11:27:07 +00:00
Aryeh Gregor ac76ae2e84 Extensions too! 2007-06-29 01:36:09 +00:00
Tim Starling 4750b687d1 * Make $wgUser->editToken() work for either logged-in or logged-out users.
* Fix escaping of edit tokens, removed FIXME note.
* Added + to EDIT_TOKEN_SUFFIX on report of broken proxy from mutante
* Two random minor changes
2007-06-23 10:15:10 +00:00
Daniel Kinzler 7ec04c41b7 fixed cc-self (mixed up To and From fields) 2007-04-29 17:17:24 +00:00
Daniel Kinzler 932ba61bdc fixced edit token check for anon users 2007-04-18 12:41:35 +00:00
Daniel Kinzler 2e858077c5 include sender name in mail subject 2007-02-16 22:20:14 +00:00
Daniel Kinzler 69ec9fb089 using standard wfMsg() function; plus a compatibility hack for 1.9 vs. 1.10 2007-02-14 23:45:20 +00:00
Daniel Kinzler f52054896c resolved some import path issues 2007-02-13 22:33:42 +00:00
Daniel Kinzler 62dd705a35 mail contact page for anon visitors 2007-02-12 21:50:29 +00:00