summaryrefslogtreecommitdiff
path: root/languages
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-06-13 23:40:19 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-06-13 23:40:19 +0200
commit588cc40aeec0165400421ef9612e81b6d2c7b936 (patch)
tree85f1e86ba187fbc81ef42393433f1fa5aa6defb3 /languages
parent67674d7a741c7c1de947f30ceb1ab3b35283308e (diff)
Update to MediaWiki 1.19.1
Diffstat (limited to 'languages')
-rw-r--r--languages/Language.php7
1 files changed, 7 insertions, 0 deletions
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
*/