(bug 25839) Set class="blockExpiry" and dir="ltr" (bug suggested direction: ltr;...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 8 Nov 2010 15:23:42 +0000 (15:23 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 8 Nov 2010 15:23:42 +0000 (15:23 +0000)
includes/LogPage.php

index ceb20db..fcd553e 100644 (file)
@@ -233,7 +233,7 @@ class LogPage {
                                        // User suppression
                                        if ( preg_match( '/^(block|suppress)\/(block|reblock)$/', $key ) ) {
                                                if ( $skin ) {
-                                                       $params[1] = '<span title="' . htmlspecialchars( $params[1] ). '">' .
+                                                       $params[1] = '<span class="blockExpiry" dir="ltr" title="' . htmlspecialchars( $params[1] ). '">' .
                                                                $wgLang->translateBlockExpiry( $params[1] ) . '</span>';
                                                } else {
                                                        $params[1] = $wgContLang->translateBlockExpiry( $params[1] );