summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageJa.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
commitca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch)
treeec04cc15b867bc21eedca904cea9af0254531a11 /languages/classes/LanguageJa.php
parenta22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff)
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing
Diffstat (limited to 'languages/classes/LanguageJa.php')
-rw-r--r--languages/classes/LanguageJa.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/languages/classes/LanguageJa.php b/languages/classes/LanguageJa.php
index c5a992d5..510a3976 100644
--- a/languages/classes/LanguageJa.php
+++ b/languages/classes/LanguageJa.php
@@ -6,6 +6,11 @@
* @ingroup Language
*/
class LanguageJa extends Language {
+
+ /**
+ * @param $string string
+ * @return string
+ */
function segmentByWord( $string ) {
// Strip known punctuation ?
// $s = preg_replace( '/\xe3\x80[\x80-\xbf]/', '', $s ); # U3000-303f
@@ -23,8 +28,13 @@ class LanguageJa extends Language {
return $s;
}
- # Italic is not appropriate for Japanese script
- # Unfortunately most browsers do not recognise this, and render <em> as italic
+ /**
+ * Italic is not appropriate for Japanese script
+ * Unfortunately most browsers do not recognise this, and render <em> as italic
+ *
+ * @param $text string
+ * @return string
+ */
function emphasize( $text ) {
return $text;
}