* (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class "mw-ipd...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 11 Jul 2010 19:25:46 +0000 (19:25 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 11 Jul 2010 19:25:46 +0000 (19:25 +0000)
RELEASE-NOTES
includes/specials/SpecialBlockip.php

index 2068d62..1596d90 100644 (file)
@@ -109,6 +109,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14685) Double underscore magic word usage is now tracked in the 
   page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and 
   {{DISPLAYTITLE}}
+* (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class
+  "mw-ipd-needreblock"
 
 === Bug fixes in 1.17 ===
 * (bug 17560) Half-broken deletion moved image files to deletion archive
index ba4c248..b2ee4b1 100644 (file)
@@ -171,7 +171,7 @@ class IPBlockForm {
 
                # Username/IP is blocked already locally
                if( $alreadyBlocked ) {
-                       $wgOut->addWikiMsg( 'ipb-needreblock', $this->BlockAddress );
+                       $wgOut->wrapWikiMsg( "<div class='mw-ipd-needreblock'>\n$1\n</div>", array( 'ipb-needreblock', $this->BlockAddress ) );
                }
 
                $scBlockExpiryOptions = wfMsgForContent( 'ipboptions' );