Fix docs for OutputPage::addLanguageLinks and OutputPage::setLanguageLinks
[lhc/web/wiklou.git] / languages / Language.php
index ab7220c..2e4ef89 100644 (file)
@@ -338,7 +338,7 @@ class Language {
                        // People think language codes are html safe, so enforce it.
                        // Ideally we should only allow a-zA-Z0-9-
                        // but, .+ and other chars are often used for {{int:}} hacks
-                       // see bugs 37564, 37587, 36938
+                       // see bugs T39564, T39587, T38938
                        $cache[$code] =
                                // Protect against path traversal
                                strcspn( $code, ":/\\\000&<>'\"" ) === strlen( $code )
@@ -3759,6 +3759,7 @@ class Language {
         * but uses pairs of regexes and replacements instead of code.
         *
         * @return array[] Array of grammar transformations.
+        * @throws MWException
         * @since 1.28
         */
        public function getGrammarTransformations() {