Index: trunk/extensions/Gadgets/Gadgets.php |
— | — | @@ -202,12 +202,12 @@ |
203 | 203 | if ( !$t ) continue; |
204 | 204 | |
205 | 205 | if ( preg_match( '/\.js/', $codePage ) ) { |
206 | | - $u = $t->getLocalURL( 'action=raw&ctype=' . $wgJsMimeType ); |
| 206 | + $u = $t->getLocalURL( 'action=raw&ctype=' . $wgJsMimeType . '&' . $t->getLatestRevID() ); |
207 | 207 | //switched to addScriptFile call to support scriptLoader |
208 | 208 | $out->addScriptFile( $u ); |
209 | 209 | } |
210 | 210 | else if ( preg_match( '/\.css/', $codePage ) ) { |
211 | | - $u = $t->getLocalURL( 'action=raw&ctype=text/css' ); |
| 211 | + $u = $t->getLocalURL( 'action=raw&ctype=text/css&' . $t->getLatestRevID() ); |
212 | 212 | $out->addScript( Html::linkedStyle( $u ) ); |
213 | 213 | } |
214 | 214 | } |