r50695 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50694‎ | r50695 | r50696 >
Date:15:44, 17 May 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* Follow-up for r50691, add \n to be safe in case there is line-start sensitive markup
Modified paths:
  • /trunk/phase3/includes/ProtectionForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ProtectionForm.php
@@ -192,7 +192,7 @@
193193 $titles .= '* [[:' . $title->getPrefixedText() . "]]\n";
194194 }
195195
196 - $wgOut->wrapWikiMsg( "<div id=\"mw-protect-cascadeon\">$1\n" . $titles . "</div>", array( 'protect-cascadeon', count($cascadeSources) ) );
 196+ $wgOut->wrapWikiMsg( "<div id=\"mw-protect-cascadeon\">\n$1\n" . $titles . "</div>", array( 'protect-cascadeon', count($cascadeSources) ) );
197197 }
198198
199199 $sk = $wgUser->getSkin();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50691(bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification (pat...siebrand14:57, 17 May 2009

Status & tagging log