From e6ac8d5a479457083b1661ef76c02a581a34ae78 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Sat, 4 Dec 2010 17:00:34 +0000 Subject: [PATCH] Follow up r77718, fix broken inconsistent use of $fname/$name in getCommonStylePath and getSkinStylePath. --- includes/Skin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.20.1