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:
75c7079
)
Replace spaces with underscores in parser cache rendering hash. Caused a bug where...
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 5 May 2007 18:08:25 +0000
(18:08 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 5 May 2007 18:08:25 +0000
(18:08 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
4ecd49d
..
33cb9a6
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-2132,6
+2132,8
@@
class User {
// extra options or other effects on the parser cache.
wfRunHooks( 'PageRenderingHash', array( &$confstr ) );
+ // Make it a valid memcached key fragment
+ $confstr = str_replace( ' ', '_', $confstr );
$this->mHash = $confstr;
return $confstr;
}