r73111 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73110‎ | r73111 | r73112 >
Date:02:12, 16 September 2010
Author:awjrichards
Status:ok
Tags:
Comment:
changed uselang->language
Modified paths:
  • /trunk/extensions/VariablePage/VariablePage.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/VariablePage/VariablePage.body.php
@@ -22,7 +22,7 @@
2323 $referrer = $wgRequest->getHeader( 'referrer' );
2424
2525 $query = array();
26 - if ( strlen( $lang ) ) $query[ 'uselang' ] = $lang;
 26+ if ( strlen( $lang ) ) $query[ 'language' ] = $lang;
2727 if ( strlen( $utm_source )) $query[ 'utm_source' ] = $utm_source;
2828 if ( strlen( $utm_medium )) $query[ 'utm_medium' ] = $utm_medium;
2929 if ( strlen( $utm_campaign )) $query[ 'utm_campaign' ] = $utm_campaign;

Status & tagging log