Add "help" links for Special:BrokenRedirects, Special:DoubleRedirects, and Special...
authorDannyS712 <DannyS712.enwiki@gmail.com>
Mon, 24 Jun 2019 19:24:20 +0000 (19:24 +0000)
committerDannyS712 <DannyS712.enwiki@gmail.com>
Sun, 30 Jun 2019 12:40:12 +0000 (12:40 +0000)
Bug: T226445
Change-Id: I0e653535039f9bcdfd02fd40aa1a4e2c942fbe4e

includes/specials/SpecialBrokenRedirects.php
includes/specials/SpecialDoubleRedirects.php
includes/specials/SpecialListredirects.php

index 3e1909b..17f89f9 100644 (file)
@@ -163,6 +163,11 @@ class BrokenRedirectsPage extends QueryPage {
                return $out;
        }
 
+       public function execute( $par ) {
+               $this->addHelpLink( 'Help:Redirects' );
+               parent::execute( $par );
+       }
+
        /**
         * Cache page content model for performance
         *
index 77c59f0..fcf1bb2 100644 (file)
@@ -198,6 +198,11 @@ class DoubleRedirectsPage extends QueryPage {
                return ( "{$linkA} {$edit} {$arr} {$linkB} {$arr} {$linkC}" );
        }
 
+       public function execute( $par ) {
+               $this->addHelpLink( 'Help:Redirects' );
+               parent::execute( $par );
+       }
+
        /**
         * Cache page content model and gender distinction for performance
         *
index 48f3640..3284c57 100644 (file)
@@ -145,6 +145,11 @@ class ListredirectsPage extends QueryPage {
                }
        }
 
+       public function execute( $par ) {
+               $this->addHelpLink( 'Help:Redirects' );
+               parent::execute( $par );
+       }
+
        protected function getGroupName() {
                return 'pages';
        }