Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -155,6 +155,8 @@ |
156 | 156 | RefreshLinks::deleteLinksFromNonexistent |
157 | 157 | * (bug 29797) Error: "Tried to load block with invalid type" when subpages |
158 | 158 | are disabled for user pages. |
| 159 | +* (bug 12205) Bidirectional names in action=credits are split and displayed |
| 160 | + incorrectly when wrapped to the next line. |
159 | 161 | |
160 | 162 | === API changes in 1.19 === |
161 | 163 | * BREAKING CHANGE: action=watch now requires POST and token. |
Index: trunk/phase3/includes/actions/CreditsAction.php |
— | — | @@ -196,7 +196,10 @@ |
197 | 197 | ? SpecialPage::getTitleFor( 'Contributions', $user->getName() ) |
198 | 198 | : $user->getUserPage(); |
199 | 199 | |
200 | | - return Linker::link( $page, htmlspecialchars( $real ? $real : $user->getName() ) ); |
| 200 | + return Html::rawElement( 'span', |
| 201 | + array( 'class' => 'mw-link-nowrap' ), |
| 202 | + Linker::link( $page, htmlspecialchars( $real ? $real : $user->getName() ) ) |
| 203 | + ); |
201 | 204 | } |
202 | 205 | |
203 | 206 | /** |
Index: trunk/phase3/skins/common/shared.css |
— | — | @@ -775,4 +775,6 @@ |
776 | 776 | } |
777 | 777 | div.floatright, table.floatright, div.floatleft, table.floatleft { |
778 | 778 | position: relative; |
779 | | -} |
\ No newline at end of file |
| 779 | +} |
| 780 | + |
| 781 | +.mw-link-nowrap { white-space: nowrap; } |
\ No newline at end of file |