Add help link to three rather important pages
* Specialpages is a useful hub, but not so visited. The help page is currently not that good, but is not controversial either. * Preferences should obviously be better, but may be better than nothing. Some explanations and links there are definitely useful. * Categories don't worry much and there's no doubt they require more education to be really understandable and useful for users. They are however sort of content pages, if users start thinking they can get help about the contents of the categories of specific wikis we'll need to remove the link. Bug: T45591 Change-Id: I7445419864e85685b3ca0cf8333f38b284c71111
This commit is contained in:
parent
ade66c04e9
commit
e2e2859ec2
3 changed files with 6 additions and 1 deletions
|
|
@ -113,6 +113,8 @@ class CategoryPage extends Article {
|
|||
$until,
|
||||
$reqArray
|
||||
);
|
||||
$this->getContext()->getOutput()->addHTML( $viewer->getHTML() );
|
||||
$out = $this->getContext()->getOutput();
|
||||
$out->addHTML( $viewer->getHTML() );
|
||||
$out->addHelpLink( 'Help:Categories' );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,6 +55,8 @@ class SpecialPreferences extends SpecialPage {
|
|||
);
|
||||
}
|
||||
|
||||
$out->addHelpLink( 'Help:Preferences' );
|
||||
|
||||
$htmlForm = Preferences::getFormObject( $this->getUser(), $this->getContext() );
|
||||
$htmlForm->setSubmitCallback( array( 'Preferences', 'tryUISubmit' ) );
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ class SpecialSpecialpages extends UnlistedSpecialPage {
|
|||
return;
|
||||
}
|
||||
|
||||
$out->addHelpLink( 'Help:Special pages' );
|
||||
$this->outputPageList( $groups );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue