* Follow-up for r50691, add \n to be safe in case there is line-start sensitive markup
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 17 May 2009 15:44:51 +0000 (15:44 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 17 May 2009 15:44:51 +0000 (15:44 +0000)
includes/ProtectionForm.php

index 48d987d..ce7bf54 100644 (file)
@@ -192,7 +192,7 @@ class ProtectionForm {
                                $titles .= '* [[:' . $title->getPrefixedText() . "]]\n";
                        }
 
-                       $wgOut->wrapWikiMsg( "<div id=\"mw-protect-cascadeon\">$1\n" . $titles . "</div>", array( 'protect-cascadeon', count($cascadeSources) ) );
+                       $wgOut->wrapWikiMsg( "<div id=\"mw-protect-cascadeon\">\n$1\n" . $titles . "</div>", array( 'protect-cascadeon', count($cascadeSources) ) );
                }
 
                $sk = $wgUser->getSkin();