Merge "Bug 44855, Bug 37743: Improved vector button styles for jquery.ui"
[lhc/web/wiklou.git] / includes / Namespace.php
index 71d737e..8001b41 100644 (file)
@@ -182,7 +182,7 @@ class MWNamespace {
         * sure that code will not potentially break.
         *
         * @param int $ns1 The first namespace index
-        * @param int $ns2 The second namespae index
+        * @param int $ns2 The second namespace index
         *
         * @return bool
         * @since 1.19
@@ -197,7 +197,7 @@ class MWNamespace {
         *     NS_USER and NS_USER_TALK will return true.
         *
         * @param int $ns1 The first namespace index
-        * @param int $ns2 The second namespae index
+        * @param int $ns2 The second namespace index
         *
         * @return bool
         * @since 1.19
@@ -387,9 +387,9 @@ class MWNamespace {
                if ( in_array( $index, self::$alwaysCapitalizedNamespaces ) ) {
                        return true;
                }
-               if ( isset( $wgCapitalLinkOverrides[ $index ] ) ) {
+               if ( isset( $wgCapitalLinkOverrides[$index] ) ) {
                        // $wgCapitalLinkOverrides is explicitly set
-                       return $wgCapitalLinkOverrides[ $index ];
+                       return $wgCapitalLinkOverrides[$index];
                }
                // Default to the global setting
                return $wgCapitalLinks;