diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 6a4f66d8d6b..42c1b4c2a72 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 ) ); } /**