From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- languages/classes/LanguageJa.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'languages/classes/LanguageJa.php') 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 as italic + /** + * Italic is not appropriate for Japanese script + * Unfortunately most browsers do not recognise this, and render as italic + * + * @param $text string + * @return string + */ function emphasize( $text ) { return $text; } -- cgit v1.2.3-54-g00ecf