From: Daniel Friesen Date: Sat, 4 Dec 2010 17:00:34 +0000 (+0000) Subject: Follow up r77718, fix broken inconsistent use of $fname/$name in getCommonStylePath... X-Git-Tag: 1.31.0-rc.0~33573 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=e6ac8d5a479457083b1661ef76c02a581a34ae78;p=lhc%2Fweb%2Fwiklou.git Follow up r77718, fix broken inconsistent use of $fname/$name in getCommonStylePath and getSkinStylePath. --- diff --git a/includes/Skin.php b/includes/Skin.php index badafb6e30..5133853e75 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -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 */