From 6e90b27d5aec1f47cfa80943a4f380394bbce469 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 17 Oct 2010 17:28:25 +0000 Subject: [PATCH] Deprecate User::getPageRenderingHash() as follow-up to r70783. --- includes/User.php | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1