Index: trunk/extensions/UsabilityInitiative/OptIn/SpecialOptIn.php |
— | — | @@ -113,11 +113,15 @@ |
114 | 114 | UsabilityInitiativeHooks::initialize(); |
115 | 115 | UsabilityInitiativeHooks::addScript( 'OptIn/OptIn.js', |
116 | 116 | $wgOptInStyleVersion ); |
| 117 | + /* |
| 118 | + * What the hell does this do? |
| 119 | + * |
117 | 120 | $url = $this->getTitle()->getLinkUrl(); |
118 | 121 | $wgOut->addHTML( Xml::tags( 'script', |
119 | 122 | array( 'type' => $wgJsMimeType ), |
120 | 123 | "js2AddOnloadHook(function() { \$j.post( \"$url\", optInGetPOSTData() ); } );" |
121 | 124 | ) ); |
| 125 | + */ |
122 | 126 | } else if ( $wgRequest->getVal( 'opt' ) == 'feedback' ) { |
123 | 127 | if ( $wgRequest->wasPosted() ) { |
124 | 128 | $this->saveSurvey( $wgOptInFeedBackSurvey, |