Index: trunk/phase3/includes/ResourceLoaderModule.php |
— | — | @@ -1031,13 +1031,13 @@ |
1032 | 1032 | 'wgNamespaceIds' => $wgContLang->getNamespaceIds(), |
1033 | 1033 | 'wgSiteName' => $wgSitename, |
1034 | 1034 | 'wgFileExtensions' => $wgFileExtensions, |
| 1035 | + 'wgDBname' => $wgDBname, |
1035 | 1036 | ); |
1036 | 1037 | if ( $wgContLang->hasVariants() ) { |
1037 | 1038 | $vars['wgUserVariant'] = $wgContLang->getPreferredVariant(); |
1038 | 1039 | } |
1039 | 1040 | if ( $wgUseAjax && $wgEnableMWSuggest ) { |
1040 | 1041 | $vars['wgMWSuggestTemplate'] = SearchEngine::getMWSuggestTemplate(); |
1041 | | - $vars['wgDBname'] = $wgDBname; |
1042 | 1042 | } |
1043 | 1043 | |
1044 | 1044 | return $vars; |