Localize parentheses in Linker::formatTemplates()
authorLiangent <liangent@gmail.com>
Tue, 23 Oct 2012 11:50:05 +0000 (19:50 +0800)
committerLiangent <liangent@gmail.com>
Tue, 23 Oct 2012 13:32:41 +0000 (21:32 +0800)
Change-Id: I27c4c26206ba1e9c27a5c120a95491eb30e55522

includes/Linker.php

index 28c5985..b947f8f 100644 (file)
@@ -1899,7 +1899,11 @@ class Linker {
                                                array( 'action' => 'edit' )
                                        );
                                }
-                               $outText .= '<li>' . self::link( $titleObj ) . ' (' . $editLink . ') ' . $protected . '</li>';
+                               $outText .= '<li>' . self::link( $titleObj )
+                                       . wfMessage( 'word-separator' )->escaped()
+                                       . wfMessage( 'parentheses' )->rawParams( $editLink )->escaped()
+                                       . wfMessage( 'word-separator' )->escaped()
+                                       . $protected . '</li>';
                        }
                        $outText .= '</ul>';
                }