* (bug 23276) Add hook to Special:NewPages to modify query
* Add accesskey 's' and tooltip to 'Save' button at Special:Preferences
* (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits
+* (bug 22858) $wgLocalStylePath is by default set to the same value as
+ $wgStylePath but should never point to a different domain than the site is
+ on, allowing skins to use .htc files which are not cross-domain friendly.
=== Bug fixes in 1.17 ===
* (bug 17560) Half-broken deletion moved image files to deletion archive
* asset paths as seen by users
*/
$wgStylePath = false; ///< defaults to "{$wgScriptPath}/skins"
+$wgLocalStylePath = false; ///< defaults to the same value as $wgStylePath, and shouldn't point to an external domain
$wgExtensionAssetsPath = false; ///< defaults to "{$wgScriptPath}/extensions"
/**
}
if( $wgStylePath === false ) $wgStylePath = "$wgScriptPath/skins";
+if( $wgLocalStylePath === false ) $wgLocalStylePath = "$wgScriptPath/skins";
if( $wgStyleDirectory === false) $wgStyleDirectory = "$IP/skins";
if( $wgExtensionAssetsPath === false ) $wgExtensionAssetsPath = "$wgScriptPath/extensions";
* @param object $out Output page object to initialize
*/
public function initPage( OutputPage $out ) {
- global $wgStylePath;
+ global $wgLocalStylePath;
parent::initPage( $out );
// 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("' .
- $wgStylePath .
+ $wgLocalStylePath .
'/vector/csshover.htc")}</style><![endif]-->'
);
}