X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWhatlinkshere.php;h=be77e627462fd26f060a3e64f3078b067f0f4c04;hb=51471be19e165d7f5275476dc4c118e6ca890e47;hp=40cce5e34da6061148fcd90b62124b8aebd39766;hpb=1c844cb10c29ebe5d11c1c117b58823f45618bd6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWhatlinkshere.php b/includes/specials/SpecialWhatlinkshere.php index 40cce5e34d..be77e62746 100644 --- a/includes/specials/SpecialWhatlinkshere.php +++ b/includes/specials/SpecialWhatlinkshere.php @@ -46,6 +46,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage { $this->setHeaders(); $this->outputHeader(); + $this->addHelpLink( 'Help:What links here' ); $opts = new FormOptions(); @@ -73,7 +74,9 @@ class SpecialWhatLinksHere extends IncludableSpecialPage { $this->target = Title::newFromURL( $opts->getValue( 'target' ) ); if ( !$this->target ) { - $out->addHTML( $this->whatlinkshereForm() ); + if ( !$this->including() ) { + $out->addHTML( $this->whatlinkshereForm() ); + } return; }