Used by several skins, however, has a preferred CSS solution that can be used instead. The styling rules associated with visualClear will be deprecated in 1.37 as part of the audit in T89981.
https://codesearch.wmcloud.org/skins/?q=getClear&i=nope&files=&excludeFiles=&repos=
Skins should instead copy across the method to their own skin or use the LESS mixin instead
@import 'mediawiki.mixins.less';
.element {
.mixin-clearfix();
}TODO
- Patch Timeless
- Patch Monobook
- BaseTemplate::getClear should be marked as deprecated in 1.37