r22544 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22543‎ | r22544 | r22545 >
Date:21:04, 29 May 2007
Author:greg
Status:old
Tags:
Comment:
Make sure BlockHideName really defaults to 0, not false. Fixes bug 10007.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialBlockip.php
@@ -61,7 +61,7 @@
6262 $this->BlockCreateAccount = $wgRequest->getBool( 'wpCreateAccount', $byDefault );
6363 $this->BlockEnableAutoblock = $wgRequest->getBool( 'wpEnableAutoblock', $byDefault );
6464 # Re-check user's rights to hide names, very serious, defaults to 0
65 - $this->BlockHideName = $wgRequest->getBool( 'wpHideName', 0 ) && $wgUser->isAllowed( 'hideuser' );
 65+ $this->BlockHideName = ( $wgRequest->getBool( 'wpHideName', 0 ) && $wgUser->isAllowed( 'hideuser' ) ) ? 1 : 0;
6666 }
6767
6868 function showForm( $err ) {
Index: trunk/phase3/RELEASE-NOTES
@@ -91,6 +91,7 @@
9292 * (bug 908) Unexistent special pages now generate a red link.
9393 * (bug 7899) Added \hline and \vline to the list of allowed TeX commands
9494 * (bug 7993) support mathematical symbol classes
 95+* (bug 10007) Allow Block IP to work with Postgrs again.
9596
9697 == MediaWiki API changes since 1.10 ==
9798

Follow-up revisions

RevisionCommit summaryAuthorDate
r22549Merged revisions 22518-22547 via svnmerge from...david01:48, 30 May 2007