mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
Merge "Support "rel" attributes on content action links (e.g. rel=archives)"
This commit is contained in:
commit
c75d8183c5
|
@ -469,7 +469,10 @@ class VectorTemplate extends BaseTemplate {
|
|||
?>><span><a href="<?php
|
||||
echo htmlspecialchars( $link['href'] )
|
||||
?>" <?php
|
||||
echo $link['key']
|
||||
echo $link['key'];
|
||||
if ( isset ( $link['rel'] ) ) {
|
||||
echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"';
|
||||
}
|
||||
?>><?php
|
||||
// $link['text'] can be undefined - bug 27764
|
||||
if ( array_key_exists( 'text', $link ) ) {
|
||||
|
|
Loading…
Reference in a new issue