Index: trunk/phase3/includes/Article.php |
— | — | @@ -3920,7 +3920,7 @@ |
3921 | 3921 | $cacheable = false; |
3922 | 3922 | |
3923 | 3923 | if ( HTMLFileCache::useFileCache() ) { |
3924 | | - $cacheable = $this->getID() && !$this->mRedirectedFrom; |
| 3924 | + $cacheable = $this->getID() && !$this->mRedirectedFrom && !$this->mTitle->isRedirect(); |
3925 | 3925 | // Extension may have reason to disable file caching on some pages. |
3926 | 3926 | if ( $cacheable ) { |
3927 | 3927 | $cacheable = wfRunHooks( 'IsFileCacheable', array( &$this ) ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -458,6 +458,7 @@ |
459 | 459 | absolute URLs in the sitemap index (as required e.g. by Google) |
460 | 460 | * Partial workaround for bug 6220: at least make files on shared repositories |
461 | 461 | show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles |
| 462 | +* rebuildFileCache.php no longer creates inappropriate cache files for redirects |
462 | 463 | |
463 | 464 | === API changes in 1.17 === |
464 | 465 | * (bug 22738) Allow filtering by action type on query=logevent. |