Index: trunk/extensions/Wikidata/OmegaWiki/Editor.php |
— | — | @@ -1057,7 +1057,7 @@ |
1058 | 1058 | $escapedDefinition = htmlspecialchars( $definition ); |
1059 | 1059 | |
1060 | 1060 | if ( $this->truncate && strlen( $definition ) > $this->truncateAt ) |
1061 | | - $escapedDefinition = '<span title="' . $escapedDefinition . '">' . htmlspecialchars( mb_substr( $definition, 0, $this->truncateAt ) ) . '...</span>' . EOL; |
| 1061 | + $escapedDefinition = '<span title="' . $escapedDefinition . '">' . htmlspecialchars( mb_substr( $definition, 0, $this->truncateAt ) ) . wfMsg( 'ellipsis' ) . '</span>' . EOL; |
1062 | 1062 | |
1063 | 1063 | return $definedMeaningAsLink . ": " . $escapedDefinition; |
1064 | 1064 | } |
— | — | @@ -1108,7 +1108,7 @@ |
1109 | 1109 | if ( !$this->truncate || strlen( $value ) <= $this->truncateAt ) |
1110 | 1110 | return $escapedValue;// $parserOutput->getText(); |
1111 | 1111 | else |
1112 | | - return '<span title="' . $escapedValue . '">' . htmlspecialchars( substr( $value, 0, $this->truncateAt ) ) . '...</span>' . EOL; |
| 1112 | + return '<span title="' . $escapedValue . '">' . htmlspecialchars( substr( $value, 0, $this->truncateAt ) ) . wfMsg( 'ellipsis' ) . '</span>' . EOL; |
1113 | 1113 | } |
1114 | 1114 | |
1115 | 1115 | public function getEditHTML( IdStack $idPath, $value ) { |