r74904 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74903‎ | r74904 | r74905 >
Date:17:28, 17 October 2010
Author:platonides
Status:ok
Tags:
Comment:
Deprecate User::getPageRenderingHash() as follow-up to r70783.
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -2669,6 +2669,7 @@
26702670 * which will give them a chance to modify this key based on their own
26712671 * settings.
26722672 *
 2673+ * @deprecated use the ParserOptions object to get the relevant options
26732674 * @return \string Page rendering hash
26742675 */
26752676 function getPageRenderingHash() {
@@ -2676,6 +2677,7 @@
26772678 if( $this->mHash ){
26782679 return $this->mHash;
26792680 }
 2681+ wfDeprecated( __METHOD__ );
26802682
26812683 // stubthreshold is only included below for completeness,
26822684 // since it disables the parser cache, its value will always

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70783Use only the page relevant pieces in the parser cache key. Eg. two users with...platonides21:53, 9 August 2010

Status & tagging log