From: Timo Tijhof Date: Wed, 1 Apr 2015 00:37:28 +0000 (+0100) Subject: Parser: Say tildes instead of ~~~ in comment to fix Doxygen fatal X-Git-Tag: 1.31.0-rc.0~11836^2 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=d06855ecbeac272e015e413f1a2b75587b08709b;p=lhc%2Fweb%2Fwiklou.git 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 --- 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;