r56532 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56531‎ | r56532 | r56533 >
Date:15:48, 17 September 2009
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: Merge r56531 (fix API help caching bug)
Modified paths:
  • /branches/wmf-deployment/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/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 )
Property changes on: branches/wmf-deployment/includes/api/ApiMain.php
___________________________________________________________________
Name: svn:mergeinfo
567568 + /branches/REL1_15/phase3/includes/api/ApiMain.php:51646
/branches/wmf-deployment/includes/api/ApiMain.php:53381
/trunk/phase3/includes/api/ApiMain.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,56531

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56531Fix r56091: cache URLs with and without ?version separatelycatrope15:47, 17 September 2009

Status & tagging log