Index: trunk/phase3/includes/Title.php |
— | — | @@ -100,7 +100,9 @@ |
101 | 101 | * @param $text string The link text; spaces, prefixes, and an |
102 | 102 | * initial ':' indicating the main namespace are accepted. |
103 | 103 | * @param $defaultNamespace int The namespace to use if none is speci- |
104 | | - * fied by a prefix. |
| 104 | + * fied by a prefix. If you want to force a specific namespace even if |
| 105 | + * $text might begin with a namespace prefix, use makeTitle() or |
| 106 | + * makeTitleSafe(). |
105 | 107 | * @return Title The new object, or null on an error. |
106 | 108 | */ |
107 | 109 | public static function newFromText( $text, $defaultNamespace = NS_MAIN ) { |