Index: trunk/phase3/includes/Article.php |
— | — | @@ -1571,8 +1571,9 @@ |
1572 | 1572 | } |
1573 | 1573 | |
1574 | 1574 | $imageUrl = $wgStylePath . '/common/images/redirect' . $imageDir . '.png'; |
1575 | | - return Html::element( 'img', array( 'src' => $imageUrl, 'alt' => '#REDIRECT' ) ) . |
1576 | | - '<span class="redirectText">' . $link . '</span>'; |
| 1575 | + return '<div class="redirectMsg">' . |
| 1576 | + Html::element( 'img', array( 'src' => $imageUrl, 'alt' => '#REDIRECT' ) ) . |
| 1577 | + '<span class="redirectText">' . $link . '</span></div>'; |
1577 | 1578 | } |
1578 | 1579 | |
1579 | 1580 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -206,6 +206,9 @@ |
207 | 207 | * Added CSS print pagination to the print stylesheets |
208 | 208 | * (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign |
209 | 209 | file repositories. |
| 210 | +* When viewing a redirect, the redirect arrow and redirection target are both |
| 211 | + wrapped in a div that has the class "redirectMsg" so that the redirection |
| 212 | + arrow can be customized with CSS |
210 | 213 | |
211 | 214 | === Bug fixes in 1.17 === |
212 | 215 | * (bug 17560) Half-broken deletion moved image files to deletion archive |