From: MGChecker Date: Fri, 13 May 2016 22:10:24 +0000 (+0200) Subject: Fix GUI for Special:Tags if a user has deletechangetags permission only X-Git-Tag: 1.31.0-rc.0~6972^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=a9ede85179a0e7ec913446e9d6b4691f813e90dc;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ) ); }