From 0fa6918223c1ba3c4851c3e06ed09953a564a17f Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 28 Mar 2019 13:14:49 -0700 Subject: [PATCH] Subtitle is wrapped in a DIV Skins should be able to style this as they wish. This wraps the link and text in an element so it can be styled as a component of the page. Change-Id: I34bd361e0384f6b127ca0ac1e06d3298a2a2c457 --- includes/actions/HistoryAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index fbf43e0f3d..cc11233c05 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -78,7 +78,7 @@ class HistoryAction extends FormlessAction { ->rawParams( $this->getLanguage()->pipeList( $links ) ) ->escaped(); } - return $subtitle; + return Html::rawElement( 'div', [ 'class' => 'mw-history-subtitle' ], $subtitle ); } /** -- 2.20.1