(bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification (patch by...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 17 May 2009 14:57:30 +0000 (14:57 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 17 May 2009 14:57:30 +0000 (14:57 +0000)
RELEASE-NOTES
includes/ProtectionForm.php

index 41eb2c3..d11763d 100644 (file)
@@ -125,6 +125,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   $wgSysopEmailBans
 * (bug 16912) Tooltips on images with link= disappear
 * (bug 18389) Localise numbers in EXIF data
+* (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
 
 == API changes in 1.16 ==
 
index b93c840..48d987d 100644 (file)
@@ -192,7 +192,7 @@ class ProtectionForm {
                                $titles .= '* [[:' . $title->getPrefixedText() . "]]\n";
                        }
 
-                       $wgOut->wrapWikiMsg( "$1\n$titles", array( 'protect-cascadeon', count($cascadeSources) ) );
+                       $wgOut->wrapWikiMsg( "<div id=\"mw-protect-cascadeon\">$1\n" . $titles . "</div>", array( 'protect-cascadeon', count($cascadeSources) ) );
                }
 
                $sk = $wgUser->getSkin();