(bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class 'generated...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 15 Mar 2008 13:44:58 +0000 (13:44 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Sat, 15 Mar 2008 13:44:58 +0000 (13:44 +0000)
RELEASE-NOTES
skins/MonoBook.php

index f785b62..fcf3a40 100644 (file)
@@ -93,7 +93,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 2084) Fixed incorrect regex to match redirects
 * (bug 3131) Manually-specified upload destination filename is no longer
   overwritten by browsing for a file after you wrote it.
-
+* (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
+  'generated-sidebar'.
 
 === API changes in 1.13 ===
 
index 877749d..4774e20 100644 (file)
@@ -149,7 +149,7 @@ class MonoBookTemplate extends QuickTemplate {
        </div>
        <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
        <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
-       <div class='portlet' id='p-<?php echo Sanitizer::escapeId($bar) ?>'<?php echo $skin->tooltip('p-'.$bar) ?>>
+       <div class='generated-sidebar portlet' id='p-<?php echo Sanitizer::escapeId($bar) ?>'<?php echo $skin->tooltip('p-'.$bar) ?>>
                <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
                <div class='pBody'>
                        <ul>