diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index af96eb1df6c..3fc61e69aa0 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2835,6 +2835,7 @@ function wfFormatStackFrame($frame) { function wfMemcKey( /*... */ ) { $args = func_get_args(); $key = wfWikiID() . ':' . implode( ':', $args ); + $key = str_replace( ' ', '_', $key ); return $key; }