From: Brion Vibber Date: Wed, 16 May 2007 19:54:58 +0000 (+0000) Subject: use $wgStyleVersion in handy-dandy $wgOut->addStyle() func X-Git-Tag: 1.31.0-rc.0~52895 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=ab8d57e44bc174efc7d38f79faa1965df30befd5;p=lhc%2Fweb%2Fwiklou.git use $wgStyleVersion in handy-dandy $wgOut->addStyle() func --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 6a4f66d8d6..42c1b4c2a7 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -75,11 +75,11 @@ class OutputPage { function addKeyword( $text ) { array_push( $this->mKeywords, $text ); } function addScript( $script ) { $this->mScripts .= "\t\t".$script; } function addStyle( $style ) { - global $wgStylePath; + global $wgStylePath, $wgStyleVersion; $this->addLink( array( 'rel' => 'stylesheet', - 'href' => $wgStylePath . '/' . $style ) ); + 'href' => $wgStylePath . '/' . $style . '?' . $wgStyleVersion ) ); } /**