Added $wgLocalStylePath global variable, and solved bug #22858 by using this new...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 26 Apr 2010 21:02:30 +0000 (21:02 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Mon, 26 Apr 2010 21:02:30 +0000 (21:02 +0000)
commit6e170eadbab639eddd698dab7f671634a8763447
tree98e71cb413d71c98c7cebe9f7a9ab5020da20c4d
parent53798b4f18bf0b172d29246b1cb3337dba99d21c
Added $wgLocalStylePath global variable, and solved bug #22858 by using this new variable in the Vector skin for the inclusion of skins/vector/csshover.htc. HTC files are not cross-domain friendly, so in production environments where $wgStylePath is set to point to bits.wikimedia.org, this will throw JavaScript errors on the page. By adding this new global, which is identical to $wgStylePath except that it will not become customized when $wgStylePath is, we can ensure that certain files, if needed, are always loaded from the same domain as the site.
RELEASE-NOTES
includes/DefaultSettings.php
includes/Setup.php
skins/Vector.php