Follow up r77718, fix broken inconsistent use of $fname/$name in getCommonStylePath...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sat, 4 Dec 2010 17:00:34 +0000 (17:00 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sat, 4 Dec 2010 17:00:34 +0000 (17:00 +0000)
includes/Skin.php

index badafb6..5133853 100644 (file)
@@ -2036,14 +2036,14 @@ class Skin extends Linker {
                }
        }
 
-       function getCommonStylePath( $fname ) {
+       function getCommonStylePath( $fame ) {
                global $wgStylePath, $wgStyleVersion;
                return "{$wgStylePath}/common/$name?$wgStyleVersion";
        }
 
-       function getSkinStylePath( $fname ) {
+       function getSkinStylePath( $name ) {
                global $wgStylePath, $wgStyleVersion;
-               return "{$wgStylePath}/{$this->stylename}/$fname?$wgStyleVersion";
+               return "{$wgStylePath}/{$this->stylename}/$name?$wgStyleVersion";
        }
 
        /* these are used extensively in SkinTemplate, but also some other places */