From d06855ecbeac272e015e413f1a2b75587b08709b Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 1 Apr 2015 01:37:28 +0100 Subject: [PATCH] Parser: Say tildes instead of ~~~ in comment to fix Doxygen fatal Doxygen was unable to parse the file past validateSig(). > Parser.php:6397: warning: reached end of file while inside a ~~~ block! > The command that should end the block seems to be missing! Change-Id: I3d1b547968302611d2bd78a7c11dd0738b40d23a --- includes/parser/Parser.php | 4 ++-- includes/parser/ParserOptions.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 7c221d8d02..ace63a09d6 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4945,7 +4945,7 @@ class Parser { /** * Clean up signature text * - * 1) Strip ~~~, ~~~~ and ~~~~~ out of signatures @see cleanSigInSig + * 1) Strip 3, 4 or 5 tildes out of signatures @see cleanSigInSig * 2) Substitute all transclusions * * @param string $text @@ -4984,7 +4984,7 @@ class Parser { } /** - * Strip ~~~, ~~~~ and ~~~~~ out of signatures + * Strip 3, 4 or 5 tildes out of signatures. * * @param string $text * @return string Signature text with /~{3,5}/ removed diff --git a/includes/parser/ParserOptions.php b/includes/parser/ParserOptions.php index 5fa52ff39e..100656d1e2 100644 --- a/includes/parser/ParserOptions.php +++ b/includes/parser/ParserOptions.php @@ -145,9 +145,7 @@ class ParserOptions { /** * Clean up signature texts? - * - * 1) Strip ~~~, ~~~~ and ~~~~~ out of signatures - * 2) Substitute all transclusions + * @see Parser::cleanSig */ public $mCleanSignatures; -- 2.20.1