Raimond Spekking
9ff6db3629
Follow-up r76660: typos per CR
2010-11-14 20:09:33 +00:00
Raimond Spekking
f4b8681f22
Add possibility to use customized contage pages via [[Special:Contact/typename]]
...
It calls the contact page with a customized pagetext and prefilled form fields (details see README, section Costumization)
2010-11-14 17:08:48 +00:00
Sam Reed
42beb7a611
Another big cull on unused variables and such
2010-10-29 21:55:29 +00:00
Sam Reed
3833b13b4e
More deprecated method call removals and updates
2010-10-29 15:32:44 +00:00
Sam Reed
e7a6e3b842
Start removing/fixing calls to deprecated methods in WMF used extensions
2010-10-29 15:14:44 +00:00
Siebrand Mazeland
d6d5b26a7b
Follow-up r71882 and r71929: Fix bug in r71929. Check should be reversed.
2010-10-02 23:13:28 +00:00
Platonides
b21d241936
Remove $wgServerName in extensions, too (follow r73950)
2010-09-29 17:05:29 +00:00
Chad Horohoe
3487361e48
More php4-style constructors. I think thats most of them
2010-08-30 17:11:45 +00:00
Siebrand Mazeland
4bb9092c87
Only deny use of contact form if sending e-mail is blocked instead of blocking it when the user is blocked from regular editing.
...
Follows-up r71882 code review comments.
2010-08-30 06:57:21 +00:00
Siebrand Mazeland
4330e44b93
(bug 24391) Prevent use of Special:ContactPage for blocked users.
...
Patch contributed by Thomas Shone. Committer updated indentation and variable name.
2010-08-29 12:31:42 +00:00
Roan Kattouw
7b7e2ad4a2
ContactPage: Tweak $wgContactIncludeIP behavior per bug 22741 comment #11 : checkbox is now hidden for anonymous users, their IP is always sent. For logged-in users, the checkbox is still there and retains its previous behavior
2010-06-04 09:52:05 +00:00
Chad Horohoe
d45cdaab8b
Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.
2010-05-27 15:56:53 +00:00
Chad Horohoe
ffbb4764b9
Large commit. Removed 800+ references to no-op wfLoadExtensionMessages()
2010-05-26 22:25:32 +00:00
Roan Kattouw
e7758709c1
ContactPage: Add checkbox for IP address sending, checked by default for anons and unchecked by default for logged-in users. $wgContactIncludeIP = false; (default) still completely disables this feature, hiding the checkbox.
2010-03-28 13:23:42 +00:00
Roan Kattouw
cd28e014a2
ContactPage: Followup to r63310: make the IP-in-the-subject line feature optional
2010-03-10 17:01:38 +00:00
Roan Kattouw
c3a2454701
ContactPage: (bug 22741) Add IP address of sender to subject line
2010-03-06 14:00:34 +00:00
Jack Phoenix
5236a0ef42
ContactPage:
...
*add some comments to ContactPage.php
*added ContactFormBeforeMessage hook to SpecialContact.php so that extensions can add new fields to Special:Contact
*else if -> elseif
*more braces
*NULL -> null
*spacing tweaks
*double quotes -> single quotes where appropriate
2010-01-05 00:43:27 +00:00
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