From 588cc40aeec0165400421ef9612e81b6d2c7b936 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 13 Jun 2012 23:40:19 +0200 Subject: Update to MediaWiki 1.19.1 --- languages/Language.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'languages') diff --git a/languages/Language.php b/languages/Language.php index bb9abf16..0fcd2785 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3495,6 +3495,9 @@ class Language { /** * Get the RFC 3066 code for this language object * + * NOTE: The return value of this function is NOT HTML-safe and must be escaped with + * htmlspecialchars() or similar + * * @return string */ public function getCode() { @@ -3504,6 +3507,10 @@ class Language { /** * Get the code in Bcp47 format which we can use * inside of html lang="" tags. + * + * NOTE: The return value of this function is NOT HTML-safe and must be escaped with + * htmlspecialchars() or similar. + * * @since 1.19 * @return string */ -- cgit v1.2.3