*/
interface TitleParser {
/**
- * Parses the given text and constructs a TitleValue. Normalization
- * is applied according to the rules appropriate for the form specified by $form.
+ * Parses the given text and constructs a TitleValue.
*
* @note this only parses local page links, interwiki-prefixes etc. are not considered!
*
* @throws MalformedTitleException If the text is not a valid representation of a page title.
* @return TitleValue
*/
- public function parseTitle( $text, $defaultNamespace );
+ public function parseTitle( $text, $defaultNamespace = NS_MAIN );
}