Parser: Say tildes instead of ~~~ in comment to fix Doxygen fatal
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 1 Apr 2015 00:37:28 +0000 (01:37 +0100)
committerKrinkle <krinklemail@gmail.com>
Mon, 6 Apr 2015 12:32:25 +0000 (12:32 +0000)
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
includes/parser/ParserOptions.php

index 7c221d8..ace63a0 100644 (file)
@@ -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
index 5fa52ff..100656d 100644 (file)
@@ -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;