aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2025-02-07 17:16:36 +0330
committerEbrahim Byagowi <ebrahim@gnu.org>2025-02-07 17:45:02 +0330
commitaa9d4122668b630571642d3daf06fb27ffa78ae9 (patch)
treed01626787b0fb389fa86671dd2852ce5e79f118d
parent684818e0a7c9b15acd2ed939a00ade239c8fbd78 (diff)
downloadmediawikicore-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.php5
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'.