X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialTags.php;h=9a95249c759a2b2a5159ca94ff05805707e33f7a;hb=1880c8401a0638be07a4fe5139ab425eb725e0ee;hp=0c74e7629793e771f24214dd17150ab4997467ed;hpb=37ef56fadd17089b2dd945cecf834683a62cd1b7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialTags.php b/includes/specials/SpecialTags.php index 0c74e76297..9a95249c75 100644 --- a/includes/specials/SpecialTags.php +++ b/includes/specials/SpecialTags.php @@ -50,6 +50,7 @@ class SpecialTags extends SpecialPage { function execute( $par ) { $this->setHeaders(); $this->outputHeader(); + $this->addHelpLink( 'Manual:Tags' ); $request = $this->getRequest(); switch ( $par ) { @@ -237,10 +238,8 @@ class SpecialTags extends SpecialPage { // add raw $hitcount for sorting, because tags-hitcount contains numbers and letters $newRow .= Xml::tags( 'td', [ 'data-sort-value' => $hitcount ], $hitcountLabel ); - // actions $actionLinks = []; - // delete if ( $showDeleteActions && ChangeTags::canDeleteTag( $tag )->isOK() ) { $actionLinks[] = $linkRenderer->makeKnownLink( $this->getPageTitle( 'delete' ), @@ -250,7 +249,6 @@ class SpecialTags extends SpecialPage { } if ( $showManageActions ) { // we've already checked that the user had the requisite userright - // activate if ( ChangeTags::canActivateTag( $tag )->isOK() ) { $actionLinks[] = $linkRenderer->makeKnownLink( $this->getPageTitle( 'activate' ), @@ -259,7 +257,6 @@ class SpecialTags extends SpecialPage { [ 'tag' => $tag ] ); } - // deactivate if ( ChangeTags::canDeactivateTag( $tag )->isOK() ) { $actionLinks[] = $linkRenderer->makeKnownLink( $this->getPageTitle( 'deactivate' ),