r106074 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106073‎ | r106074 | r106075 >
Date:20:04, 13 December 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
fix deprecated method usage
Modified paths:
  • /trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
@@ -188,7 +188,7 @@
189189
190190 if ( trim( $pageName ) != '' ) {
191191 if ( is_null( $langCode ) ) {
192 - $langCode = $this->getLang()->getCode();
 192+ $langCode = $this->getLanguage()->getCode();
193193 }
194194
195195 $page = Title::newFromText( str_replace( '$1', $langCode, $pageName ) );

Status & tagging log