From 1fcc6632da767edfb9035b0eecc80a2413a77bb3 Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Tue, 7 May 2019 17:07:47 +0200 Subject: [PATCH] title: Remove misplaced documentation from TitleParser There is no $form. Change-Id: I1468f8dbaceaa78e12d7c23170ceba1fbb2b129e --- includes/title/MediaWikiTitleCodec.php | 3 +-- includes/title/TitleParser.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/title/MediaWikiTitleCodec.php b/includes/title/MediaWikiTitleCodec.php index 31a022255c..778fb3f033 100644 --- a/includes/title/MediaWikiTitleCodec.php +++ b/includes/title/MediaWikiTitleCodec.php @@ -154,8 +154,7 @@ class MediaWikiTitleCodec implements TitleFormatter, 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. * * @param string $text The text to parse * @param int $defaultNamespace Namespace to assume per default (usually NS_MAIN) diff --git a/includes/title/TitleParser.php b/includes/title/TitleParser.php index ddffed6789..8569735e82 100644 --- a/includes/title/TitleParser.php +++ b/includes/title/TitleParser.php @@ -32,8 +32,7 @@ */ 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! * -- 2.20.1