Bug: T49162
Change-Id: I57c8887c00cb3b73367e6733af1bf93dbab0c639
* Added a new hook, 'TitleMoveCompleting', which runs before a page move is committed.
* $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
from CDN to mitigate DB replication lag and WAN cache purge lag.
+* (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
+ if it is available.
=== External library changes in 1.27 ===
==== Upgraded external libraries ====
);
$caches = array( 'none' );
+ $cachevalDefault = 'none';
+
if ( count( $this->getVar( '_Caches' ) ) ) {
+ // A CACHE_ACCEL implementation is available
$caches[] = 'accel';
+ $cachevalDefault = 'accel';
}
$caches[] = 'memcached';
// We need to set a default here; but don't hardcode it
// or we lose it every time we reload the page for validation
// or going back!
- $cacheval = 'none';
+ $cacheval = $cachevalDefault;
}
$hidden = ( $cacheval == 'memcached' ) ? '' : 'display: none';
$this->addHTML(