dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea9eb3
)
Subtitle is wrapped in a DIV
author
jdlrobson
<jdlrobson@gmail.com>
Thu, 28 Mar 2019 20:14:49 +0000
(13:14 -0700)
committer
jdlrobson
<jdlrobson@gmail.com>
Thu, 28 Mar 2019 20:16:33 +0000
(13:16 -0700)
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
patch
|
blob
|
history
diff --git
a/includes/actions/HistoryAction.php
b/includes/actions/HistoryAction.php
index
fbf43e0
..
cc11233
100644
(file)
--- 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 )
;
}
/**