X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilerepo%2FFileRepo.php;h=455d38f24327b5a61747a3f0e5a261e7f674c403;hp=858e124af4177798942e6c46b3601819ed86c0c4;hb=cba0fb1c1576324e87b27b6d31ee4359195025c8;hpb=6dad00ff4c8dd11fec29c3e9ddc7d4f976de60d2 diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 858e124af4..455d38f243 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -810,8 +810,9 @@ class FileRepo { */ public function getDescriptionStylesheetUrl() { if ( isset( $this->scriptDirUrl ) ) { - return $this->makeUrl( 'title=MediaWiki:Filepage.css&' . - wfArrayToCgi( Skin::getDynamicStylesheetQuery() ) ); + // Must match canonical query parameter order for optimum caching + // See Title::getCdnUrls + return $this->makeUrl( 'title=MediaWiki:Filepage.css&action=raw&ctype=text/css' ); } return false;