Title: Fix typo in variable name
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Dec 2015 17:06:36 +0000 (18:06 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 22 Dec 2015 19:43:43 +0000 (19:43 +0000)
Change-Id: I8da1c995f2da2e7a43c70aeadd28b93e5f3e511f

includes/Title.php

index 5d8b072..35d9c6b 100644 (file)
@@ -768,16 +768,16 @@ class Title {
         * @param string $title The DB key form the title
         * @param string $fragment The link fragment (after the "#")
         * @param string $interwiki The interwiki prefix
-        * @param bool $canoncialNamespace If true, use the canonical name for
+        * @param bool $canonicalNamespace If true, use the canonical name for
         *   $ns instead of the localized version.
         * @return string The prefixed form of the title
         */
        public static function makeName( $ns, $title, $fragment = '', $interwiki = '',
-               $canoncialNamespace = false
+               $canonicalNamespace = false
        ) {
                global $wgContLang;
 
-               if ( $canoncialNamespace ) {
+               if ( $canonicalNamespace ) {
                        $namespace = MWNamespace::getCanonicalName( $ns );
                } else {
                        $namespace = $wgContLang->getNsText( $ns );