Make space after semicolon consistent with other punctuation marks
authorRaimond Spekking <raymond@users.mediawiki.org>
Thu, 7 Aug 2008 12:19:22 +0000 (12:19 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Thu, 7 Aug 2008 12:19:22 +0000 (12:19 +0000)
Fixes an inconsistency on Special:Whatlinkshere like "Image:Name.jpg (redirect page;image link) (← links)" too

includes/ChangesList.php
languages/messages/MessagesAr.php
languages/messages/MessagesArz.php
languages/messages/MessagesEn.php
languages/messages/MessagesFa.php
languages/messages/MessagesKk_arab.php
languages/messages/MessagesKu_arab.php

index 436f006..c25b4a5 100644 (file)
@@ -201,7 +201,7 @@ class ChangesList {
        protected function insertTimestamp(&$s, $rc) {
                global $wgLang;
                # Timestamp
-               $s .= $this->message['semicolon-separator'] . ' ' . $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' . . ';
+               $s .= $this->message['semicolon-separator'] . $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' . . ';
        }
 
        /** Insert links to user page, user talk page and eventually a blocking link */
@@ -592,7 +592,7 @@ class EnhancedChangesList extends ChangesList {
                        array_push( $users, $text );
                }
 
-               $users = ' <span class="changedby">[' . implode( $this->message['semicolon-separator'] . ' ', $users ) . ']</span>';
+               $users = ' <span class="changedby">[' . implode( $this->message['semicolon-separator'], $users ) . ']</span>';
 
                # Arrow
                $rci = 'RCI'.$this->rcCacheIndex;
@@ -712,7 +712,7 @@ class EnhancedChangesList extends ChangesList {
                        if ( !$rc_type == RC_LOG || $rc_type == RC_NEW ) {
                                $r .= ' (';
                                $r .= $rcObj->curlink;
-                               $r .= $this->message['semicolon-separator'] . ' ';
+                               $r .= $this->message['semicolon-separator'];
                                $r .= $rcObj->lastlink;
                                $r .= ')';
                        }
@@ -837,7 +837,7 @@ class EnhancedChangesList extends ChangesList {
 
                # Diff and hist links
                if ( $rc_type != RC_LOG ) {
-                  $r .= ' ('. $rcObj->difflink . $this->message['semicolon-separator'] . ' ';
+                  $r .= ' ('. $rcObj->difflink . $this->message['semicolon-separator'];
                   $r .= $this->skin->makeKnownLinkObj( $rcObj->getTitle(), wfMsg( 'hist' ), $curIdEq.'&action=history' ) . ')';
                }
                $r .= ' . . ';
index a55b86d..27bb260 100644 (file)
@@ -2927,8 +2927,8 @@ $1',
 'useajaxsearch'    => 'استخدم بحث أجاكس',
 
 # Separators for various lists, etc.
-'semicolon-separator' => '؛',
-'comma-separator'     => '،',
+'semicolon-separator' => '؛&#32;',
+'comma-separator'     => '،&#32;',
 
 # Multipage image navigation
 'imgmultipageprev' => '← الصفحة السابقة',
index dff7bf6..2c44287 100644 (file)
@@ -2718,9 +2718,9 @@ $1',
 'useajaxsearch'    => 'دور بـ أجاكس',
 
 # Separators for various lists, etc.
-'semicolon-separator' => '؛',
-'comma-separator'     => '،',
-'autocomment-prefix'  => '-',
+'semicolon-separator' => '؛&#32;',
+'comma-separator'     => '،&#32;',
+'autocomment-prefix'  => '-&#32;',
 
 # Multipage image navigation
 'imgmultipageprev' => '← الصفحة اللي فاتت',
index 0da931f..5021772 100644 (file)
@@ -3271,7 +3271,7 @@ $1',
 
 # Separators for various lists, etc.
 'catseparator'        => '|', # only translate this message to other languages if you have to change it
-'semicolon-separator' => ';', # only translate this message to other languages if you have to change it
+'semicolon-separator' => ';&#32;', # only translate this message to other languages if you have to change it
 'comma-separator'     => ',&#32;', # only translate this message to other languages if you have to change it
 'colon-separator'     => ':&#32;', # only translate this message to other languages if you have to change it
 'autocomment-prefix'  => '-&#32;', # only translate this message to other languages if you have to change it
index 73fb061..da8e695 100644 (file)
@@ -2694,7 +2694,7 @@ $1',
 'useajaxsearch'    => 'از جستجوی مبتنی بر AJAX استفاده کن',
 
 # Separators for various lists, etc.
-'semicolon-separator' => '؛',
+'semicolon-separator' => '؛&#32;',
 'comma-separator'     => '،&#32;',
 
 # Multipage image navigation
index 0e953c9..5b9993b 100644 (file)
@@ -2879,7 +2879,7 @@ $1',
 'useajaxsearch'    => 'AJAX قولدانىپ ىزدەۋ',
 
 # Separators for various lists, etc.
-'semicolon-separator' => '؛',
+'semicolon-separator' => '؛&#32;',
 'comma-separator'     => '،&#32;',
 
 # Multipage image navigation
index 268c2bd..dc04e0e 100644 (file)
@@ -340,8 +340,8 @@ $messages = array(
 'tooltip-pt-userpage' => 'په‌ڕه‌ی تایبه‌تی خۆم',
 
 # Separators for various lists, etc.
-'semicolon-separator' => '؛',
-'comma-separator'     => '،',
+'semicolon-separator' => '؛&#32;',
+'comma-separator'     => '،&#32;',
 
 # Live preview
 'livepreview-loading' => 'له‌باركردنایه‌ ...',