Index: trunk/phase3/includes/Namespace.php |
— | — | @@ -54,8 +54,8 @@ |
55 | 55 | private static $alwaysCapitalizedNamespaces = array( NS_SPECIAL, NS_USER, NS_MEDIAWIKI ); |
56 | 56 | |
57 | 57 | /** |
58 | | - * Trow an exception when trying to get the subject or talk page |
59 | | - * for a given namespace where it does not make sens. |
| 58 | + * Throw an exception when trying to get the subject or talk page |
| 59 | + * for a given namespace where it does not make sense. |
60 | 60 | * Special namespaces are defined in includes/define.php and have |
61 | 61 | * a value below 0 (ex: NS_SPECIAL = -1 , NS_MEDIA = -2) |
62 | 62 | * |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | */ |
65 | 65 | private static function isMethodValidFor( $index, $method ) { |
66 | 66 | if( $index < NS_MAIN ) { |
67 | | - throw new MWException( "$method does not make any sens for given namespace $index" ); |
| 67 | + throw new MWException( "$method does not make any sense for given namespace $index" ); |
68 | 68 | return false; |
69 | 69 | } |
70 | 70 | return true; |