r108698 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108697‎ | r108698 | r108699 >
Date:23:44, 11 January 2012
Author:preilly
Status:ok
Tags:
Comment:
fix for r108565 c29376 better variable names
Modified paths:
  • /trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -27,10 +27,10 @@
2828 global $wgRequest, $wgConf, $wgEnableZeroRatedMobileAccessTesting;
2929 wfProfileIn( __METHOD__ );
3030
31 - $dB = wfGetDB( DB_MASTER );
32 - $dBname = $dB->getDBname();
 31+ $DB = wfGetDB( DB_MASTER );
 32+ $DBName = $DB->getDBname();
3333
34 - list( $site, $lang ) = $wgConf->siteFromDB( $dBname );
 34+ list( $site, $lang ) = $wgConf->siteFromDB( $DBName );
3535 if ( $site == 'wikipedia' || $wgEnableZeroRatedMobileAccessTesting ) {
3636
3737 $xDevice = isset( $_SERVER['HTTP_X_DEVICE'] ) ? $_SERVER['HTTP_X_DEVICE'] : '';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108565enable extension only if testing or on wikipediapreilly23:42, 10 January 2012

Status & tagging log