Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | $this->mTarget = $wgUser->getName(); |
79 | 79 | } |
80 | 80 | |
81 | | - if ( $this->mTarget == $wgUser->getName() ) |
| 81 | + if ( User::getCanonicalName( $this->mTarget ) == $wgUser->getName() ) |
82 | 82 | $this->isself = true; |
83 | 83 | |
84 | 84 | if( !$this->userCanChangeRights( $wgUser, true ) ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -162,6 +162,7 @@ |
163 | 163 | MediaWiki:Subject-preview when previewing summary |
164 | 164 | * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added new |
165 | 165 | variable {{REVISIONMONTH1}} when unpadded version is needed. |
| 166 | +* Special:Userrights didn't recognize user as changing his/her own rights if user did not capitalize first letter of username. |
166 | 167 | |
167 | 168 | === API changes in 1.17 === |
168 | 169 | * (bug 22738) Allow filtering by action type on query=logevent |