Index: trunk/extensions/CentralNotice/SpecialNoticeText.php |
— | — | @@ -163,8 +163,8 @@ |
164 | 164 | $old['wgSitename'] = $GLOBALS['wgSitename']; |
165 | 165 | $old['wgLang'] = $GLOBALS['wgLang']; |
166 | 166 | |
167 | | - $wgSitename = $this->projectName(); |
168 | | - $wgLang = Language::factory( $this->language ); // hack for {{int:...}} |
| 167 | + $GLOBALS['wgSitename'] = $this->projectName(); |
| 168 | + $GLOBALS['wgLang'] = Language::factory( $this->language ); // hack for {{int:...}} |
169 | 169 | |
170 | 170 | $options = array( |
171 | 171 | 'language' => $this->language, |