X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRecentchangeslinked.php;h=e42cc70c514d90c19ad88c52461083e21447de4d;hb=4077b57759756ecd0d25427ec9598feb28a28ac1;hp=181b4db4c9a63d85e8e941ef78a063840c04d71c;hpb=0c712ce564e0bd53e28f2581a714ee8cd04b614c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRecentchangeslinked.php b/includes/specials/SpecialRecentchangeslinked.php index 181b4db4c9..e42cc70c51 100644 --- a/includes/specials/SpecialRecentchangeslinked.php +++ b/includes/specials/SpecialRecentchangeslinked.php @@ -297,15 +297,19 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges { $targetTitle = $this->getTargetTitle(); if ( $targetTitle === false ) { $this->getOutput()->addHTML( - '
' . - $this->msg( 'recentchanges-notargetpage' )->parse() . - '
' + Html::rawElement( + 'div', + [ 'class' => 'mw-changeslist-empty mw-changeslist-notargetpage' ], + $this->msg( 'recentchanges-notargetpage' )->parse() + ) ); } elseif ( !$targetTitle || $targetTitle->isExternal() ) { $this->getOutput()->addHTML( - '
' . - $this->msg( 'allpagesbadtitle' )->parse() . - '
' + Html::rawElement( + 'div', + [ 'class' => 'mw-changeslist-empty mw-changeslist-invalidtargetpage' ], + $this->msg( 'allpagesbadtitle' )->parse() + ) ); } else { parent::outputNoResults();