From efc24d92e9057f1ac331e8465398a2b5a4c9fbad Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 1 Apr 2015 00:53:25 +0100 Subject: [PATCH] DefaultSettings: Remove "~~~~" from comment to fix Doxygen parse error > /includes/DefaultSettings.php:7478: > warning: reached end of file while inside a ~~~ block! > The command that should end the block seems to be missing! Three or more tildes in plain text results in the beginning of a fenced code block. http://doxygen.org/manual/markdown.html https://michelf.ca/projects/php-markdown/extra/#fenced-code-blocks It stopped parsing after $wgUrlProtocols and ignored the rest. I tried to escape it in different ways but couldn't find any method that keeps the string readable and inline. If it's important we can put it back in an indented code block. Change-Id: If350a917c6afaebcd45f246404b6b6195453e51e --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5e81d0f364..9df0b6e6e5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4003,7 +4003,7 @@ $wgUrlProtocols = array( ); /** - * If true, removes (substitutes) templates in "~~~~" signatures. + * If true, removes (by substituting) templates in signatures. */ $wgCleanSignatures = true; -- 2.20.1