preceding colon, allowing prettied-up messages
* (bug 6040) Run pre-save transform before calculating the diff. when doing a
"show changes" operation in the editor
+* (bug 4033) Respect $wgStyleDirectory when checking available skins
== Compatibility ==
require_once( 'Linker.php' );
require_once( 'Image.php' );
-# Get a list of all skins available in /skins/
+# Get a list of available skins
# Build using the regular expression '^(.*).php$'
# Array keys are all lower case, array value keep the case used by filename
#
-$skinDir = dir($IP.'/skins');
+$skinDir = dir( $wgStyleDirectory );
# while code from www.php.net
while (false !== ($file = $skinDir->read())) {