From a9ede85179a0e7ec913446e9d6b4691f813e90dc Mon Sep 17 00:00:00 2001 From: MGChecker Date: Sat, 14 May 2016 00:10:24 +0200 Subject: [PATCH] Fix GUI for Special:Tags if a user has deletechangetags permission only In the really rare case a user has got the deletechangetags, but not the managechangetags permission, the links to delete tags aren't displayed (because the script only built the table column in this case). By API, deletechangetags already works properly without managechangetags. Change-Id: I675813ba62e6188d650c5486408dbe56e9290ca6 --- includes/specials/SpecialTags.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/specials/SpecialTags.php b/includes/specials/SpecialTags.php index 521f0cee16..2139949958 100644 --- a/includes/specials/SpecialTags.php +++ b/includes/specials/SpecialTags.php @@ -259,6 +259,9 @@ class SpecialTags extends SpecialPage { [ 'tag' => $tag ] ); } + } + + if ( $actionLinks ) { $newRow .= Xml::tags( 'td', null, $this->getLanguage()->pipeList( $actionLinks ) ); } -- 2.20.1