Do r91966 in a different way, per Brion: use unicode-bidi:embed; instead of white...
authorRobin Pepermans <robin@users.mediawiki.org>
Tue, 12 Jul 2011 21:28:44 +0000 (21:28 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Tue, 12 Jul 2011 21:28:44 +0000 (21:28 +0000)
includes/actions/CreditsAction.php
skins/common/shared.css

index 2792e25..1040085 100644 (file)
@@ -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() ) );
        }
 
        /**
index 37b9892..3898b99 100644 (file)
@@ -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