dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a8e4ad
)
Deprecate User::getPageRenderingHash() as follow-up to r70783.
author
Platonides
<platonides@users.mediawiki.org>
Sun, 17 Oct 2010 17:28:25 +0000
(17:28 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sun, 17 Oct 2010 17:28:25 +0000
(17:28 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
9720283
..
67c2843
100644
(file)
--- 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