diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 6b918e95940..a2304e34c97 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -38,6 +38,7 @@ class SpecialContributions extends IncludableSpecialPage { $this->outputHeader(); $out = $this->getOutput(); $out->addModuleStyles( 'mediawiki.special' ); + $this->addHelpLink( 'Help:User contributions' ); $this->opts = array(); $request = $this->getRequest(); diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index c30d962a99f..dfc7cdd77b8 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -295,6 +295,7 @@ class SpecialExport extends SpecialPage { $form .= Xml::closeElement( 'form' ); $out->addHTML( $form ); + $this->addHelpLink( 'Help:Export' ); } /** diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index 8124f101154..f9b8ac3be41 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -303,6 +303,7 @@ class SpecialImport extends SpecialPage { $action = $this->getPageTitle()->getLocalURL( array( 'action' => 'submit' ) ); $user = $this->getUser(); $out = $this->getOutput(); + $this->addHelpLink( '//meta.wikimedia.org/wiki/Special:MyLanguage/Help:Import', true ); $importSources = $this->getConfig()->get( 'ImportSources' ); if ( $user->isAllowed( 'importupload' ) ) { diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index 0c026282f8c..8dd78140185 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -154,6 +154,7 @@ class LinkSearchPage extends QueryPage { $htmlForm->setAction( wfScript() ); $htmlForm->setMethod( 'get' ); $htmlForm->prepareForm()->displayForm( false ); + $this->addHelpLink( 'Help:Linksearch' ); if ( $target != '' ) { $this->setParams( array( diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 7dc115828bf..96d512c4a5e 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -57,6 +57,10 @@ class SpecialRecentChanges extends ChangesListSpecialPage { return; } + $this->addHelpLink( + '//meta.wikimedia.org/wiki/Special:MyLanguage/Help:Recent_changes', + true + ); parent::execute( $subpage ); } diff --git a/includes/specials/SpecialRecentchangeslinked.php b/includes/specials/SpecialRecentchangeslinked.php index 3ad9f0f4f5e..3c403feb049 100644 --- a/includes/specials/SpecialRecentchangeslinked.php +++ b/includes/specials/SpecialRecentchangeslinked.php @@ -244,6 +244,7 @@ class SpecialRecentChangesLinked extends SpecialRecentChanges { Xml::check( 'showlinkedto', $opts['showlinkedto'], array( 'id' => 'showlinkedto' ) ) . ' ' . Xml::label( $this->msg( 'recentchangeslinked-to' )->text(), 'showlinkedto' ) ); + $this->addHelpLink( 'Help:Related changes' ); return $extraOpts; } diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index df9d363989b..20f577603ba 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -43,6 +43,7 @@ class SpecialWatchlist extends ChangesListSpecialPage { $output = $this->getOutput(); $request = $this->getRequest(); + $this->addHelpLink( 'Help:Watching pages' ); $mode = SpecialEditWatchlist::getMode( $request, $subpage ); if ( $mode !== false ) { diff --git a/includes/specials/SpecialWhatlinkshere.php b/includes/specials/SpecialWhatlinkshere.php index 0b3175a61de..be77e627462 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();