http://www.mediawiki.org/wiki/Special:Code/MediaWiki/67986

Revision: 67986
Author:   liangent
Date:     2010-06-14 08:41:22 +0000 (Mon, 14 Jun 2010)

Log Message:
-----------
Change variable names

Modified Paths:
--------------
    trunk/extensions/CategoryMultisortChinese/CategoryMultisortChinese.hooks.php

Modified: 
trunk/extensions/CategoryMultisortChinese/CategoryMultisortChinese.hooks.php
===================================================================
--- 
trunk/extensions/CategoryMultisortChinese/CategoryMultisortChinese.hooks.php    
    2010-06-14 04:32:08 UTC (rev 67985)
+++ 
trunk/extensions/CategoryMultisortChinese/CategoryMultisortChinese.hooks.php    
    2010-06-14 08:41:22 UTC (rev 67986)
@@ -118,8 +118,8 @@
                        $c = str_pad( $ch, 4 );
                        $chcp = utf8ToCodepoint( $ch );
                        # One Mandarin entry can have 7 bytes max.
-                       $md = str_pad( array_key_exists( $chcp, $data->mandarin 
) ? $data->mandarin[$chcp] : '', 7 );
-                       $result .= $md . $c;
+                       $mdp = str_pad( array_key_exists( $chcp, 
$data->mandarin ) ? $data->mandarin[$chcp] : '', 7 );
+                       $result .= $mdp . $c;
                }
                return $result;
        }
@@ -131,8 +131,8 @@
                        $c = str_pad( $ch, 4 );
                        $chcp = utf8ToCodepoint( $ch );
                        # One Cantonese entry can have 7 bytes max 
([a-z]{1,6}[1-6]).
-                       $md = str_pad( array_key_exists( $chcp, 
$data->cantonese ) ? $data->cantonese[$chcp] : '', 7 );
-                       $result .= $md . $c;
+                       $ctj = str_pad( array_key_exists( $chcp, 
$data->cantonese ) ? $data->cantonese[$chcp] : '', 7 );
+                       $result .= $ctj . $c;
                }
                return $result;
        }



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to