r50691 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50690‎ | r50691 | r50692 >
Date:14:57, 17 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
(bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification (patch by Happy-melon)
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /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( "$1\n$titles", array( 'protect-cascadeon', count($cascadeSources) ) );
 196+ $wgOut->wrapWikiMsg( "<div id=\"mw-protect-cascadeon\">$1\n" . $titles . "</div>", array( 'protect-cascadeon', count($cascadeSources) ) );
197197 }
198198
199199 $sk = $wgUser->getSkin();
Index: trunk/phase3/RELEASE-NOTES
@@ -125,6 +125,7 @@
126126 $wgSysopEmailBans
127127 * (bug 16912) Tooltips on images with link= disappear
128128 * (bug 18389) Localise numbers in EXIF data
 129+* (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
129130
130131 == API changes in 1.16 ==
131132

Follow-up revisions

RevisionCommit summaryAuthorDate
r50695* Follow-up for r50691, add \n to be safe in case there is line-start sensiti...nikerabbit15:44, 17 May 2009

Status & tagging log