// wait for the CSS file to load before fetching the HTC file.
$out->addScript(
'<!--[if lt IE 7]><style type="text/css">body{behavior:url("' .
- $wgLocalStylePath .
+ htmlspecialchars($wgLocalStylePath) .
'/vector/csshover.htc")}</style><![endif]-->'
);
}
* @private
*/
function buildNavigationUrls() {
- global $wgContLang, $wgLang, $wgOut, $wgUser, $wgRequest, $wgArticle, $wgStylePath;
+ global $wgContLang, $wgLang, $wgOut, $wgUser, $wgRequest, $wgArticle
global $wgDisableLangConversion, $wgVectorUseIconWatch;
wfProfileIn( __METHOD__ );
* when UI is in RTL mode
*/
private function renderNavigation( $elements ) {
- global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgStylePath;
+ global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName;
// If only one element was given, wrap it in an array, allowing more
// flexible arguments