The variable $row is set to the last user of the first loop. It is better to use the $name which is set in the foreach correctly. This now adds all userpages to the LinkBatch and that avoids some extra queries on at least Special:ListFiles. Change-Id: Ied378b1596ec9d38eda41ce5ee413203c65eb21b |
||
|---|---|---|
| .. | ||
| BacklinkCache.php | ||
| CacheDependency.php | ||
| CacheHelper.php | ||
| FileCacheBase.php | ||
| GenderCache.php | ||
| HTMLFileCache.php | ||
| LCStoreStaticArray.php | ||
| LinkBatch.php | ||
| LinkCache.php | ||
| LocalisationCache.php | ||
| MessageBlobStore.php | ||
| MessageCache.php | ||
| ObjectFileCache.php | ||
| ResourceFileCache.php | ||
| UserCache.php | ||