$out->setHTMLTitle( $this->msg(
'pagetitle',
$this->msg( 'contributions-title', $target )->plain()
- ) );
+ )->inContentLanguage() );
$this->getSkin()->setRelevantUser( $userObj );
} else {
$out->addSubtitle( $this->msg( 'sp-contributions-newbies-sub' ) );
$out->setHTMLTitle( $this->msg(
'pagetitle',
$this->msg( 'sp-contributions-newbies-title' )->plain()
- ) );
+ )->inContentLanguage() );
}
if ( ( $ns = $request->getVal( 'namespace', null ) ) !== null && $ns !== '' ) {
// Add RSS/atom links
$this->addFeedLinks( array( 'action' => 'feedcontributions', 'user' => $target ) );
- if ( wfRunHooks( 'SpecialContributionsBeforeMainOutput', array( $id ) ) ) {
+ if ( wfRunHooks( 'SpecialContributionsBeforeMainOutput', array( $id, $userObj, $this ) ) ) {
$out->addHTML( $this->getForm() );
$pager = new ContribsPager( $this->getContext(), array(
protected function getForm() {
global $wgScript;
- $this->opts['title'] = $this->getTitle()->getPrefixedText();
+ $this->opts['title'] = $this->getPageTitle()->getPrefixedText();
if ( !isset( $this->opts['target'] ) ) {
$this->opts['target'] = '';
} else {