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=2323b0ba8161892714c3aba9fc6a4212397e0283;hpb=fede766fe9950e3a036c263bf17d19d31278221c 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,