dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a6e4e
)
use $wgStyleVersion in handy-dandy $wgOut->addStyle() func
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 16 May 2007 19:54:58 +0000
(19:54 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 16 May 2007 19:54:58 +0000
(19:54 +0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
6a4f66d
..
42c1b4c
100644
(file)
--- 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
) );
}
/**