diff options
Diffstat (limited to 'includes/title')
-rw-r--r-- | includes/title/MediaWikiTitleCodec.php | 6 | ||||
-rw-r--r-- | includes/title/TitleFormatter.php | 2 | ||||
-rw-r--r-- | includes/title/TitleValue.php | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/includes/title/MediaWikiTitleCodec.php b/includes/title/MediaWikiTitleCodec.php index 8798de5eb034..3a9ab409a3d1 100644 --- a/includes/title/MediaWikiTitleCodec.php +++ b/includes/title/MediaWikiTitleCodec.php @@ -25,7 +25,7 @@ /** * A codec for %MediaWiki page titles. * - * @note: Normalization and validation is applied while parsing, not when formatting. + * @note Normalization and validation is applied while parsing, not when formatting. * It's possible to construct a TitleValue with an invalid title, and use MediaWikiTitleCodec * to generate an (invalid) title string from it. TitleValues should be constructed only * via parseTitle() or from a (semi)trusted source, such as the database. @@ -187,10 +187,10 @@ class MediaWikiTitleCodec implements TitleFormatter, TitleParser { * namespace prefixes, sets the other forms, and canonicalizes * everything. * - * @todo: this method is only exposed as a temporary measure to ease refactoring. + * @todo this method is only exposed as a temporary measure to ease refactoring. * It was copied with minimal changes from Title::secureAndSplit(). * - * @todo: This method should be split up and an appropriate interface + * @todo This method should be split up and an appropriate interface * defined for use by the Title class. * * @param string $text diff --git a/includes/title/TitleFormatter.php b/includes/title/TitleFormatter.php index ea58b1e3292f..cb28028ab34e 100644 --- a/includes/title/TitleFormatter.php +++ b/includes/title/TitleFormatter.php @@ -48,7 +48,7 @@ interface TitleFormatter { /** * Returns the title text formatted for display, without namespace of fragment. * - * @note: Only minimal normalization is applied. Consider using TitleValue::getText() directly. + * @note Only minimal normalization is applied. Consider using TitleValue::getText() directly. * * @param TitleValue $title the title to format * diff --git a/includes/title/TitleValue.php b/includes/title/TitleValue.php index 73e1dc206321..402247c225a2 100644 --- a/includes/title/TitleValue.php +++ b/includes/title/TitleValue.php @@ -52,7 +52,7 @@ class TitleValue { /** * Constructs a TitleValue. * - * @note: TitleValue expects a valid DB key; typically, a TitleValue is constructed either + * @note TitleValue expects a valid DB key; typically, a TitleValue is constructed either * from a database entry, or by a TitleParser. We could apply "some" normalization here, * such as substituting spaces by underscores, but that would encourage the use of * un-normalized text when constructing TitleValues. For constructing a TitleValue from @@ -122,8 +122,8 @@ class TitleValue { * * This is computed from the DB key by replacing any underscores with spaces. * - * @note: To get a title string that includes the namespace and/or fragment, - * use a TitleFormatter. + * @note To get a title string that includes the namespace and/or fragment, + * use a TitleFormatter. * * @return string */ |