wrap the redirect message (arrow image + target page name) into a div that has the...
[lhc/web/wiklou.git] / includes / Article.php
index 5b0e1c2..7a99bef 100644 (file)
@@ -1571,8 +1571,9 @@ class Article {
                }
 
                $imageUrl = $wgStylePath . '/common/images/redirect' . $imageDir . '.png';              
-               return Html::element( 'img', array( 'src' => $imageUrl, 'alt' => '#REDIRECT' ) ) .
-                       '<span class="redirectText">' . $link . '</span>';
+               return '<div class="redirectMsg">' .
+                       Html::element( 'img', array( 'src' => $imageUrl, 'alt' => '#REDIRECT' ) ) .
+                       '<span class="redirectText">' . $link . '</span></div>';
        }
 
        /**