Fix r56091: cache URLs with and without ?version separately
This commit is contained in:
parent
f884ded633
commit
87d401f2e6
1 changed files with 2 additions and 1 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue