From: Antoine Musso Date: Wed, 23 Feb 2011 19:56:33 +0000 (+0000) Subject: Minor typos X-Git-Tag: 1.31.0-rc.0~31803 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=8d104eb45a6f596ab8f9b88173ebeda3cd2de82e;p=lhc%2Fweb%2Fwiklou.git Minor typos (Trow -> Throw, Sens->sense), follow up CR on r82577 --- diff --git a/includes/Namespace.php b/includes/Namespace.php index 48c527f99b..c0df368630 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -54,8 +54,8 @@ class MWNamespace { private static $alwaysCapitalizedNamespaces = array( NS_SPECIAL, NS_USER, NS_MEDIAWIKI ); /** - * Trow an exception when trying to get the subject or talk page - * for a given namespace where it does not make sens. + * Throw an exception when trying to get the subject or talk page + * for a given namespace where it does not make sense. * Special namespaces are defined in includes/define.php and have * a value below 0 (ex: NS_SPECIAL = -1 , NS_MEDIA = -2) * @@ -63,7 +63,7 @@ class MWNamespace { */ private static function isMethodValidFor( $index, $method ) { if( $index < NS_MAIN ) { - throw new MWException( "$method does not make any sens for given namespace $index" ); + throw new MWException( "$method does not make any sense for given namespace $index" ); return false; } return true;