Index: trunk/extensions/MultiUpload/SpecialMultipleUpload.body.php |
— | — | @@ -168,13 +168,13 @@ |
169 | 169 | $this->mainUploadForm( wfMsg( 'multiupload-no-files' ) ); |
170 | 170 | } else { |
171 | 171 | $this->mShowUploadForm = false; |
172 | | - $wgOut->redirect(''); // clear the redirect, we want to show a nice page of images |
| 172 | + $wgOut->redirect( '' ); // clear the redirect, we want to show a nice page of images |
173 | 173 | $this->mShowUploadForm = true; |
174 | 174 | if( $this->mHasWarning ) { |
175 | 175 | $this->showWarningOptions(); |
176 | 176 | } |
177 | 177 | } |
178 | | - $wgOut->addHTML( Xml::closeElement( 'form' ) . "\n"); |
| 178 | + $wgOut->addHTML( Xml::closeElement( 'form' ) . "\n" ); |
179 | 179 | } |
180 | 180 | |
181 | 181 | /** |
— | — | @@ -182,10 +182,10 @@ |
183 | 183 | * @access private |
184 | 184 | */ |
185 | 185 | function showSuccess() { |
186 | | - global $wgUser, $wgOut, $wgContLang; |
| 186 | + global $wgUser, $wgOut; |
187 | 187 | $t = $this->mLocalFile->getTitle(); |
188 | 188 | $wgOut->addHTML( '<h2>' . wfMsg( 'multiupload-fileuploaded' ) . '</h2>' ); |
189 | | - $wgOut->addWikiText( "[[:{$t->getFullText()}]]" ); |
| 189 | + $wgOut->addHTML( $wgUser->getSkin()->makeThumbLink2( $t, $this->mLocalFile, array( 'caption' => $t->getText() ) ) ); |
190 | 190 | } |
191 | 191 | |
192 | 192 | /** |
— | — | @@ -285,7 +285,7 @@ |
286 | 286 | ? 'checked="checked"' |
287 | 287 | : ''; |
288 | 288 | |
289 | | - $wgOut->addScriptFile( $wgScriptPath.'/extensions/MultiUpload/multiupload.js' ); |
| 289 | + $wgOut->addScriptFile( $wgScriptPath . '/extensions/MultiUpload/multiupload.js' ); |
290 | 290 | $wgOut->addHTML( " |
291 | 291 | <form id='upload' method='post' enctype='multipart/form-data' action=\"$action\"> |
292 | 292 | <table border='0' width='90%'> |