Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | |
190 | 190 | if ( trim( $pageName ) != '' ) { |
191 | 191 | if ( is_null( $langCode ) ) { |
192 | | - $langCode = $this->getLang()->getCode(); |
| 192 | + $langCode = $this->getLanguage()->getCode(); |
193 | 193 | } |
194 | 194 | |
195 | 195 | $page = Title::newFromText( str_replace( '$1', $langCode, $pageName ) ); |