Adjust the time according to the user configuration on Special:Revisiondelete
This commit is contained in:
parent
45ea75599e
commit
973e6cf525
2 changed files with 3 additions and 2 deletions
|
|
@ -492,6 +492,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
|
||||
correct type="text" parameter
|
||||
* (bug 482) Don't include TOC in the printable version if it has been hidden
|
||||
* Adjust the time according to the user configuration on Special:Revisiondelete
|
||||
|
||||
== API changes in 1.16 ==
|
||||
|
||||
|
|
|
|||
|
|
@ -1132,7 +1132,7 @@ class RevDel_RevisionItem extends RevDel_Item {
|
|||
*/
|
||||
protected function getRevisionLink() {
|
||||
global $wgLang;
|
||||
$date = $wgLang->timeanddate( $this->revision->getTimestamp() );
|
||||
$date = $wgLang->timeanddate( $this->revision->getTimestamp(), true );
|
||||
if ( $this->isDeleted() && !$this->canView() ) {
|
||||
return $date;
|
||||
}
|
||||
|
|
@ -1254,7 +1254,7 @@ class RevDel_ArchiveItem extends RevDel_RevisionItem {
|
|||
protected function getRevisionLink() {
|
||||
global $wgLang;
|
||||
$undelete = SpecialPage::getTitleFor( 'Undelete' );
|
||||
$date = $wgLang->timeanddate( $this->revision->getTimestamp() );
|
||||
$date = $wgLang->timeanddate( $this->revision->getTimestamp(), true );
|
||||
if ( $this->isDeleted() && !$this->canView() ) {
|
||||
return $date;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue