Index: trunk/phase3/includes/Title.php |
— | — | @@ -94,15 +94,14 @@ |
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | | - * Create a new Title from text, such as what one would |
99 | | - * find in a link. Decodes any HTML entities in the text. |
| 98 | + * Create a new Title from text, such as what one would find in a link. De- |
| 99 | + * codes any HTML entities in the text. |
100 | 100 | * |
101 | | - * @param $text \type{\string} the link text; spaces, prefixes, |
102 | | - * and an initial ':' indicating the main namespace |
103 | | - * are accepted |
104 | | - * @param $defaultNamespace \type{\int} the namespace to use if |
105 | | - * none is specified by a prefix |
106 | | - * @return \type{Title} the new object, or NULL on an error |
| 101 | + * @param $text string The link text; spaces, prefixes, and an |
| 102 | + * initial ':' indicating the main namespace are accepted. |
| 103 | + * @param $defaultNamespace int The namespace to use if none is speci- |
| 104 | + * fied by a prefix. |
| 105 | + * @return Title The new object, or null on an error. |
107 | 106 | */ |
108 | 107 | public static function newFromText( $text, $defaultNamespace = NS_MAIN ) { |
109 | 108 | if( is_object( $text ) ) { |