http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90826
Revision: 90826
Author: hashar
Date: 2011-06-26 11:48:55 +0000 (Sun, 26 Jun 2011)
Log Message:
-----------
Fix comment in BacklinkCache::partition()
+ a typo
Per cr on r84254
Modified Paths:
--------------
trunk/phase3/includes/BacklinkCache.php
Modified: trunk/phase3/includes/BacklinkCache.php
===================================================================
--- trunk/phase3/includes/BacklinkCache.php 2011-06-26 11:16:27 UTC (rev
90825)
+++ trunk/phase3/includes/BacklinkCache.php 2011-06-26 11:48:55 UTC (rev
90826)
@@ -255,7 +255,7 @@
/**
* Partition the backlinks into batches.
- * Returns an array giving the start and end of each range. The firsti
+ * Returns an array giving the start and end of each range. The first
* batch has a start of false, and the last batch has an end of false.
*
* @param $table String: the links table name
@@ -264,7 +264,7 @@
*/
public function partition( $table, $batchSize ) {
- // 1) try this per process cache first
+ // 1) try partition cache ...
if ( isset( $this->partitionCache[$table][$batchSize] ) ) {
wfDebug( __METHOD__ . ": got from partition cache\n" );
@@ -274,7 +274,7 @@
$this->partitionCache[$table][$batchSize] = false;
$cacheEntry =& $this->partitionCache[$table][$batchSize];
- // 2) try full result cache
+ // 2) ... then try full result cache ...
if ( isset( $this->fullResultCache[$table] ) ) {
$cacheEntry = $this->partitionResult(
$this->fullResultCache[$table], $batchSize );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs