From: Bartosz DziewoƄski Date: Tue, 22 Dec 2015 17:06:36 +0000 (+0100) Subject: Title: Fix typo in variable name X-Git-Tag: 1.31.0-rc.0~8581 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=f0b6b9da045e3763be914dc97d2747c6ee5b0d0a;p=lhc%2Fweb%2Fwiklou.git Title: Fix typo in variable name Change-Id: I8da1c995f2da2e7a43c70aeadd28b93e5f3e511f --- diff --git a/includes/Title.php b/includes/Title.php index 5d8b07230b..35d9c6bca9 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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 );