r92041 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92040‎ | r92041 | r92042 >
Date:00:56, 13 July 2011
Author:jamesur
Status:ok
Tags:
Comment:
updating fundraising story/contact extension for FoundationWiki to pass all the information we actually ask for and eliminate stray fields.
Modified paths:
  • /trunk/extensions/ContactPageFundraiser/SpecialContact.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContactPageFundraiser/SpecialContact.php
@@ -40,20 +40,12 @@
4141 $nu = User::newFromName( $wgContactUser );
4242 $f = new EmailContactForm( $nu );
4343
44 - $form['fname'] = $wgRequest->getVal('fname');
45 - $form['lname'] = $wgRequest->getVal('lname');
46 - $form['orgname'] = $wgRequest->getVal('orgname');
47 - $form['jobname'] = $wgRequest->getVal('jobname');
48 - $form['urlname'] = $wgRequest->getVal('urlname');
 44+ $form['name'] = $wgRequest->getVal('name');
 45+ $form['age'] = $wgRequest->getVal('age');
4946 $form['email'] = $wgRequest->getVal('email');
50 - $form['telephone'] = $wgRequest->getVal('telephone');
51 - $form['other'] = $wgRequest->getVal('other');
52 - $form['url'] = $wgRequest->getVal('url');
53 - $form['country'] = $wgRequest->getVal('country');
54 - $form['citytown'] = $wgRequest->getVal('city-town');
55 - $form['provstat'] = $wgRequest->getVal('prov-state');
 47+ $form['location'] = $wgRequest->getVal('location');
5648 $form['story'] = $wgRequest->getVal('story');
57 - $form['followup'] = $wgRequest->getVal('follow-up');
 49+ $form['followup'] = $wgRequest->getVal('followup');
5850
5951 $text = '';
6052 foreach( $form as $key => $value) {

Status & tagging log