r56531 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56530‎ | r56531 | r56532 >
Date:15:47, 17 September 2009
Author:catrope
Status:ok
Tags:
Comment:
Fix r56091: cache URLs with and without ?version separately
Modified paths:
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -559,7 +559,8 @@
560560 $this->mPrinter->setHelp();
561561 // Get help text from cache if present
562562 $key = wfMemcKey( 'apihelp', $this->getModuleName(),
563 - SpecialVersion::getVersion( 'nodb' ) );
 563+ SpecialVersion::getVersion( 'nodb' ).
 564+ $this->getMain()->getShowVersions() );
564565 if ( $wgAPICacheHelp ) {
565566 $cached = $wgMemc->get( $key );
566567 if ( $cached )

Follow-up revisions

RevisionCommit summaryAuthorDate
r56532wmf-deployment: Merge r56531 (fix API help caching bug)catrope15:48, 17 September 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56091Follow-up to r55639: per CR comment, make API help caching disableable, and l...catrope12:54, 9 September 2009

Status & tagging log