(bug 4114) Spacing in watchlist rows (in editing mode)
authorRob Church <robchurch@users.mediawiki.org>
Mon, 20 Mar 2006 01:57:50 +0000 (01:57 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 20 Mar 2006 01:57:50 +0000 (01:57 +0000)
RELEASE-NOTES
includes/SpecialWatchlist.php

index 6e3bd53..1c5f733 100644 (file)
@@ -252,6 +252,7 @@ i18n / Languages:
 * (bug 5105) Magic words for LanguageAr.php
 * (bug 3993) Variants for Serbian language
 * Typo in English messages file
 * (bug 5105) Magic words for LanguageAr.php
 * (bug 3993) Variants for Serbian language
 * Typo in English messages file
+* (bug 4114) Spacing in watchlist rows (in editing mode)
 
 Parser:
 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
 
 Parser:
 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
index 352e2d0..7f66531 100644 (file)
@@ -177,9 +177,10 @@ function wfSpecialWatchlist( $par ) {
                                                htmlspecialchars( $s->wl_title ) . '" in namespace ' . $s->wl_namespace . " -->\n"
                                        );
                                } else {
                                                htmlspecialchars( $s->wl_title ) . '" in namespace ' . $s->wl_namespace . " -->\n"
                                        );
                                } else {
+                                       global $wgContLang;
                                        $t = $t->getPrefixedText();
                                        $wgOut->addHTML(
                                        $t = $t->getPrefixedText();
                                        $wgOut->addHTML(
-                                               '<li><input type="checkbox" name="id[]" value="' . htmlspecialchars($t) . '" />' .
+                                               '<li><input type="checkbox" name="id[]" value="' . htmlspecialchars($t) . '" />' . ' ' . ($wgContLang->isRTL() ? '&rlm;' : '&lrm;') .
                                                $sk->makeLink( $t, $t ) .
                                                "</li>\n"
                                        );
                                                $sk->makeLink( $t, $t ) .
                                                "</li>\n"
                                        );