X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fskins%2FQuickTemplate.php;h=19b41ba969befe95352ca6d6a8fb8d7620d7fe76;hp=d1be4bb0df4f933d083b7f1b08352fcec756772a;hb=dc1e092e692480082126d0218b52843d31540537;hpb=3df3b575c6617df64ec98533cc7141bd2314e274 diff --git a/includes/skins/QuickTemplate.php b/includes/skins/QuickTemplate.php index d1be4bb0df..19b41ba969 100644 --- a/includes/skins/QuickTemplate.php +++ b/includes/skins/QuickTemplate.php @@ -91,10 +91,14 @@ abstract class QuickTemplate { } /** + * @deprecated since 1.31 This function is a now-redundant optimisation intended + * for very old versions of PHP. The use of references here makes the code + * more fragile and is incompatible with plans like T140664. Use set() instead. * @param string $name * @param mixed &$value */ public function setRef( $name, &$value ) { + wfDeprecated( __METHOD__, '1.31' ); $this->data[$name] =& $value; }