From f0b6b9da045e3763be914dc97d2747c6ee5b0d0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 22 Dec 2015 18:06:36 +0100 Subject: [PATCH] Title: Fix typo in variable name Change-Id: I8da1c995f2da2e7a43c70aeadd28b93e5f3e511f --- includes/Title.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.20.1