mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
c2e9a7b366
Does not add `.mw-footer-*` CSS classes to `ul#footer-*` and `li#footer-*-*` to save bandwidth. NOTE: - The former id selectors can be removed form the styles after the varnish cache is updated with the new DOM. - The modern version still uses the legacy layout at this stage. Bug: T248137 Change-Id: Ica9f8c43617c624648fa12dc86ebb3daa10f0409
27 lines
792 B
Plaintext
27 lines
792 B
Plaintext
{{!
|
|
@typedef object footerItem
|
|
@prop string id of list item element
|
|
@prop string html of list item
|
|
@prop footerItem[] items
|
|
|
|
@typedef object footerRow
|
|
@prop string className of list element
|
|
@prop string id of list element
|
|
@prop footerItem[] array-items
|
|
|
|
string html-hook-vector-before-footer output of VectorBeforeFooter hook
|
|
string|null html-userlangattributes a string of attribute HTML
|
|
footerRow[] array-footer-rows iterable list of footer rows
|
|
}}
|
|
{{{html-hook-vector-before-footer}}}
|
|
<div id="footer" class="mw-footer" role="contentinfo" {{{html-userlangattributes}}}>
|
|
{{#array-footer-rows}}
|
|
<ul id="{{id}}" class="{{className}}">
|
|
{{#array-items}}
|
|
<li id="{{id}}">{{{html}}}</li>
|
|
{{/array-items}}
|
|
</ul>
|
|
{{/array-footer-rows}}
|
|
<div style="clear: both;"></div>
|
|
</div>
|