in case this is not done in SkinTemplate::buildContentActionUrls()
Not all skins are going to use buildContentActionUrls() in the first
place, as they may not be laying out the usual action tabs as, well,
the usual action tabs. Given that this is being added in core, it
should likewise be cleaned up in core.
Bug: T214202
Change-Id: I630410aea2852f7a72fea67bbf256b3561ea0f3f
* @return string
*/
function makeListItem( $key, $item, $options = [] ) {
+ // In case this is still set from SkinTemplate, we don't want it to appear in
+ // the HTML output (normally removed in SkinTemplate::buildContentActionUrls())
+ unset( $item['redundant'] );
+
if ( isset( $item['links'] ) ) {
$links = [];
foreach ( $item['links'] as $linkKey => $link ) {