diff options
author | Ebrahim Byagowi <ebrahim@gnu.org> | 2025-02-07 17:16:36 +0330 |
---|---|---|
committer | Ebrahim Byagowi <ebrahim@gnu.org> | 2025-02-07 17:45:02 +0330 |
commit | aa9d4122668b630571642d3daf06fb27ffa78ae9 (patch) | |
tree | d01626787b0fb389fa86671dd2852ce5e79f118d | |
parent | 684818e0a7c9b15acd2ed939a00ade239c8fbd78 (diff) | |
download | mediawikicore-aa9d4122668b630571642d3daf06fb27ffa78ae9.tar.gz mediawikicore-aa9d4122668b630571642d3daf06fb27ffa78ae9.zip |
Improve direction of user name used in title in Special:Contributions
Bug: T385876
Change-Id: Ib49244cb9343876fdfe57b6bcffb8ccf7abcbc00
-rw-r--r-- | includes/specialpage/ContributionsSpecialPage.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/specialpage/ContributionsSpecialPage.php b/includes/specialpage/ContributionsSpecialPage.php index 16ee2e2757a3..497a05154e36 100644 --- a/includes/specialpage/ContributionsSpecialPage.php +++ b/includes/specialpage/ContributionsSpecialPage.php @@ -232,7 +232,10 @@ class ContributionsSpecialPage extends IncludableSpecialPage { $this->addContributionsSubWarning( $userObj ); $out->addSubtitle( $this->contributionsSub( $userObj, $target ) ); - $out->setPageTitleMsg( $this->msg( $this->getResultsPageTitleMessageKey( $userObj ), $target ) ); + $out->setPageTitleMsg( + $this->msg( $this->getResultsPageTitleMessageKey( $userObj ) ) + ->rawParams( Html::element( 'bdi', [], $target ) ) + ); # For IP ranges, we want the contributionsSub, but not the skin-dependent # links under 'Tools', which may include irrelevant links like 'Logs'. |