diff options
author | Brian Evans <grknight@gentoo.org> | 2018-11-24 19:25:37 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-11-24 19:25:37 -0500 |
commit | 9ce0adf38ceca1ebb6bdd358816fc5958c323b71 (patch) | |
tree | 1f8fdeb58ec01c642c10ba7a5c72048e4236c458 | |
parent | LinkAttributes: Add class as valid, replace deprecated LinkBegin (diff) | |
download | extensions-9ce0adf38ceca1ebb6bdd358816fc5958c323b71.tar.gz extensions-9ce0adf38ceca1ebb6bdd358816fc5958c323b71.tar.bz2 extensions-9ce0adf38ceca1ebb6bdd358816fc5958c323b71.zip |
LinkAttribute: add namespace qualifiers
Signed-off-by: Brian Evans <grknight@gentoo.org>
-rw-r--r-- | LinkAttributes/LinkAttributes.body.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/LinkAttributes/LinkAttributes.body.php b/LinkAttributes/LinkAttributes.body.php index a0955370..8dc0e43f 100644 --- a/LinkAttributes/LinkAttributes.body.php +++ b/LinkAttributes/LinkAttributes.body.php @@ -1,5 +1,8 @@ <?php +use MediaWiki\Linker\LinkRenderer; +use MediaWiki\Linker\LinkTarget; + class LinkAttributes { private static $attrsAllowed=[ 'rel', 'rev', 'charset ', 'type', 'hreflang', 'itemprop', 'media', 'title', 'accesskey', 'target' ]; |