r44061 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44060‎ | r44061 | r44062 >
Date:10:36, 30 November 2008
Author:ialex
Status:deferred
Tags:
Comment:
Also get the language code from the code param in the URL so that the form at the top of the page work correctly
Modified paths:
  • /trunk/extensions/Translate/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialLanguageStats.php
@@ -26,6 +26,8 @@
2727 $this->setHeaders();
2828 $this->outputHeader();
2929
 30+ $par = $wgRequest->getVal( 'code', $par );
 31+
3032 if( !$this->including() ) {
3133 $wgOut->addHTML( $this->languageForm( $par ) );
3234 }

Status & tagging log