From: Rotem Liss Date: Tue, 20 Jun 2006 08:11:56 +0000 (+0000) Subject: Documenting Language::getDirMark, and replacing the HTML entities (which are unsuitab... X-Git-Tag: 1.31.0-rc.0~56736 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=a46685be0e18f7e6115b8d74b5252134f8df0366;p=lhc%2Fweb%2Fwiklou.git Documenting Language::getDirMark, and replacing the HTML entities (which are unsuitable when used in non-HTML places) to the real direction marks. --- diff --git a/languages/Language.php b/languages/Language.php index 52631f5d2f..8af23ee31a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -855,7 +855,13 @@ class Language { * @return bool */ function isRTL() { return false; } - function getDirMark() { return $this->isRTL() ? '‏' : '‎'; } + + /** + * A hidden direction mark (LRM or RLM), depending on the language direction + * + * @return string + */ + function getDirMark() { return $this->isRTL() ? '‏' : '‎'; } /** * To allow "foo[[bar]]" to extend the link over the whole word "foobar" @@ -864,7 +870,6 @@ class Language { */ function linkPrefixExtension() { return false; } - function &getMagicWords() { global $wgMagicWordsEn; return $wgMagicWordsEn;