X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2Fpagers%2FBlockListPager.php;h=2b8d1d5fee8f814d03e8a29c7dd51321eb908a53;hb=af0720e5ed66bf00d8165c64ad0aa3c613560e22;hp=2fc946efe098ae4f872fabe8e111b5a3906daab0;hpb=d6e366a318a2fedf88533456b71f91cb5c52c5e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/pagers/BlockListPager.php b/includes/specials/pagers/BlockListPager.php index 2fc946efe0..2b8d1d5fee 100644 --- a/includes/specials/pagers/BlockListPager.php +++ b/includes/specials/pagers/BlockListPager.php @@ -161,7 +161,7 @@ class BlockListPager extends TablePager { $formatted .= '
' . $this->msg( 'ipb-blocklist-duration-left', $language->formatDuration( - $timestamp->getTimestamp() - time(), + $timestamp->getTimestamp() - MWTimestamp::time(), // reasonable output [ 'minutes', @@ -261,7 +261,7 @@ class BlockListPager extends TablePager { switch ( $restriction->getType() ) { case PageRestriction::TYPE: if ( $restriction->getTitle() ) { - $items[$restriction->getType()][] = HTML::rawElement( + $items[$restriction->getType()][] = Html::rawElement( 'li', [], Linker::link( $restriction->getTitle() ) @@ -274,7 +274,7 @@ class BlockListPager extends TablePager { : $this->getLanguage()->getFormattedNsText( $restriction->getValue() ); - $items[$restriction->getType()][] = HTML::rawElement( + $items[$restriction->getType()][] = Html::rawElement( 'li', [], Linker::link(