X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fskins%2FSkin.php;h=ed4045d4879ef14486ad87a3193bd8cf5d80bd83;hp=2f5e0c832553a3801331023efd9d019610cc652b;hb=cba0fb1c1576324e87b27b6d31ee4359195025c8;hpb=235f3409d1b0b8ab61a01b1e14c2714e7ecb98a7 diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 2f5e0c8325..ed4045d487 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -414,17 +414,13 @@ abstract class Skin extends ContextSource { /** * Get the query to generate a dynamic stylesheet * + * @deprecated since 1.32 Use action=raw&ctype=text/css directly. * @return array */ public static function getDynamicStylesheetQuery() { - global $wgSquidMaxage; - return [ 'action' => 'raw', - 'maxage' => $wgSquidMaxage, - 'usemsgcache' => 'yes', 'ctype' => 'text/css', - 'smaxage' => $wgSquidMaxage, ]; } @@ -1608,6 +1604,7 @@ abstract class Skin extends ContextSource { /** * Create a section edit link. * + * @suppress SecurityCheck-XSS $links has keys of different taint types * @param Title $nt The title being linked to (may not be the same as * the current page, if the section is included from a template) * @param string $section The designation of the section being pointed to,