Demon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79164
Change subject: Spaces in memcached keys are annoying
......................................................................
Spaces in memcached keys are annoying
Change-Id: I2fe2befb4c142cddbcfb73bd71b88d333e804428
---
M includes/api/ApiMain.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/64/79164/1
diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php
index 6dd6d59..4dd1713 100644
--- a/includes/api/ApiMain.php
+++ b/includes/api/ApiMain.php
@@ -1150,7 +1150,7 @@
$this->setHelp();
// Get help text from cache if present
$key = wfMemcKey( 'apihelp', $this->getModuleName(),
- SpecialVersion::getVersion( 'nodb' ) );
+ str_replace( ' ', '_', SpecialVersion::getVersion(
'nodb' ) ) );
if ( $wgAPICacheHelpTimeout > 0 ) {
$cached = $wgMemc->get( $key );
if ( $cached ) {
--
To view, visit https://gerrit.wikimedia.org/r/79164
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fe2befb4c142cddbcfb73bd71b88d333e804428
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Demon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits