mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
Add target support for view_urls
Bug: T160676 Change-Id: I07890d17fdf86ece3e01cd8fa0c0e572a4d988c5
This commit is contained in:
parent
ef8fc08532
commit
f804c100b6
|
@ -444,6 +444,9 @@ class VectorTemplate extends BaseTemplate {
|
||||||
if ( isset ( $link['rel'] ) ) {
|
if ( isset ( $link['rel'] ) ) {
|
||||||
echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"';
|
echo ' rel="' . htmlspecialchars( $link['rel'] ) . '"';
|
||||||
}
|
}
|
||||||
|
if ( isset ( $link['target'] ) ) {
|
||||||
|
echo ' target="' . htmlspecialchars( $link['target'] ) . '"';
|
||||||
|
}
|
||||||
?>><?php
|
?>><?php
|
||||||
// $link['text'] can be undefined - bug 27764
|
// $link['text'] can be undefined - bug 27764
|
||||||
if ( array_key_exists( 'text', $link ) ) {
|
if ( array_key_exists( 'text', $link ) ) {
|
||||||
|
|
Loading…
Reference in a new issue