From d4facc473437ef0d0c3b49368d3004823c885e3d Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Tue, 12 Jul 2011 21:28:44 +0000 Subject: [PATCH] Do r91966 in a different way, per Brion: use unicode-bidi:embed; instead of white-space:nowrap; --- includes/actions/CreditsAction.php | 7 ++----- skins/common/shared.css | 3 ++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/includes/actions/CreditsAction.php b/includes/actions/CreditsAction.php index 2792e25dee..1040085b3a 100644 --- a/includes/actions/CreditsAction.php +++ b/includes/actions/CreditsAction.php @@ -53,7 +53,7 @@ class CreditsAction extends FormlessAction { wfProfileOut( __METHOD__ ); - return $s; + return Html::rawElement( 'div', array( 'id' => 'mw-credits' ), $s ); } /** @@ -196,10 +196,7 @@ class CreditsAction extends FormlessAction { ? SpecialPage::getTitleFor( 'Contributions', $user->getName() ) : $user->getUserPage(); - return Html::rawElement( 'span', - array( 'class' => 'mw-link-nowrap' ), - Linker::link( $page, htmlspecialchars( $real ? $real : $user->getName() ) ) - ); + return Linker::link( $page, htmlspecialchars( $real ? $real : $user->getName() ) ); } /** diff --git a/skins/common/shared.css b/skins/common/shared.css index 37b9892cce..3898b995d8 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -777,4 +777,5 @@ div.floatright, table.floatright, div.floatleft, table.floatleft { position: relative; } -.mw-link-nowrap { white-space: nowrap; } \ No newline at end of file +/* bug 12205 */ +#mw-credits a { unicode-bidi: embed; } \ No newline at end of file -- 2.20.1