From: Roan Kattouw Date: Thu, 17 Sep 2009 15:47:44 +0000 (+0000) Subject: Fix r56091: cache URLs with and without ?version separately X-Git-Tag: 1.31.0-rc.0~39675 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=87d401f2e668168bf80f90eb6c93655f5445a41f;p=lhc%2Fweb%2Fwiklou.git Fix r56091: cache URLs with and without ?version separately --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 779a83cbf1..63f90dab43 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -559,7 +559,8 @@ class ApiMain extends ApiBase { $this->mPrinter->setHelp(); // Get help text from cache if present $key = wfMemcKey( 'apihelp', $this->getModuleName(), - SpecialVersion::getVersion( 'nodb' ) ); + SpecialVersion::getVersion( 'nodb' ). + $this->getMain()->getShowVersions() ); if ( $wgAPICacheHelp ) { $cached = $wgMemc->get( $key ); if ( $cached )