}
function lastModified() {
- global $wgLang, $wgArticle;
+ global $wgLang, $wgArticle, $wgLoadBalancer;
$timestamp = $wgArticle->getTimestamp();
if ( $timestamp ) {
} else {
$s = '';
}
+ if ( $wgLoadBalancer->getLaggedSlaveMode() ) {
+ $s .= ' <strong>' . wfMsg( 'laggedslavemode' ) . '</strong>';
+ }
return $s;
}
$1',
'nodb' => "Could not select database $1",
'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
+'laggedslave' => 'Warning: Page may not contain recent updates.',
'readonly' => 'Database locked',
'enterlockreason' => 'Enter a reason for the lock, including an estimate
of when the lock will be released',