Deprecate User::getPageRenderingHash() as follow-up to r70783.
authorPlatonides <platonides@users.mediawiki.org>
Sun, 17 Oct 2010 17:28:25 +0000 (17:28 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 17 Oct 2010 17:28:25 +0000 (17:28 +0000)
includes/User.php

index 9720283..67c2843 100644 (file)
@@ -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