From: Platonides Date: Sun, 17 Oct 2010 17:28:25 +0000 (+0000) Subject: Deprecate User::getPageRenderingHash() as follow-up to r70783. X-Git-Tag: 1.31.0-rc.0~34465 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6e90b27d5aec1f47cfa80943a4f380394bbce469;p=lhc%2Fweb%2Fwiklou.git Deprecate User::getPageRenderingHash() as follow-up to r70783. --- diff --git a/includes/User.php b/includes/User.php index 972028373e..67c284312b 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2669,6 +2669,7 @@ class User { * which will give them a chance to modify this key based on their own * settings. * + * @deprecated use the ParserOptions object to get the relevant options * @return \string Page rendering hash */ function getPageRenderingHash() { @@ -2676,6 +2677,7 @@ class User { if( $this->mHash ){ return $this->mHash; } + wfDeprecated( __METHOD__ ); // stubthreshold is only included below for completeness, // since it disables the parser cache, its value will always