$expiryFormOptions = '';
if ( $this->mExistingExpiry[$action] && $this->mExistingExpiry[$action] != 'infinity' ) {
+ $timestamp = $wgLang->timeanddate( $this->mExistingExpiry[$action] );
+ $d = $wgLang->date( $this->mExistingExpiry[$action] );
+ $t = $wgLang->time( $this->mExistingExpiry[$action] );
$expiryFormOptions .=
Xml::option(
- wfMsg( 'protect-existing-expiry', $wgLang->timeanddate( $this->mExistingExpiry[$action] ) ),
+ wfMsg( 'protect-existing-expiry', $timestamp, $d, $t ),
'existing',
$this->mExpirySelection[$action] == 'existing'
) . "\n";
'protect-cantedit' => 'You cannot change the protection levels of this page, because you do not have permission to edit it.',
'protect-othertime' => 'Other time:',
'protect-othertime-op' => 'other time',
-'protect-existing-expiry' => 'Existing expiry time: $1',
+'protect-existing-expiry' => 'Existing expiry time: $3, $2',
'protect-otherreason' => 'Other/additional reason:',
'protect-otherreason-op' => 'other/additional reason',
'protect-dropdown' => '*Common protection reasons