r80119 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80118‎ | r80119 | r80120 >
Date:20:58, 12 January 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix issue with missing keys in $wgFileExtensions caused by an array_diff() somewhere. Doesn't seem needed on any of the other vars at first glance
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php
@@ -75,7 +75,7 @@
7676 'wgFormattedNamespaces' => $wgContLang->getFormattedNamespaces(),
7777 'wgNamespaceIds' => $wgContLang->getNamespaceIds(),
7878 'wgSiteName' => $wgSitename,
79 - 'wgFileExtensions' => $wgFileExtensions,
 79+ 'wgFileExtensions' => array_values( $wgFileExtensions ),
8080 'wgDBname' => $wgDBname,
8181 );
8282 if ( $wgContLang->hasVariants() ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r801751.17: MFT r79960, r80034, r80036, r80043, r80044, r80050, r80053, r80074, r80...catrope17:13, 13 January 2011

Status & tagging log