Index: trunk/phase3/includes/api/ApiRollback.php |
— | — | @@ -154,6 +154,9 @@ |
155 | 155 | return $this->mUser; |
156 | 156 | } |
157 | 157 | |
| 158 | + /** |
| 159 | + * @return Title |
| 160 | + */ |
158 | 161 | private function getTitle() { |
159 | 162 | if ( $this->mTitleObj !== null ) { |
160 | 163 | return $this->mTitleObj; |
Index: trunk/phase3/includes/api/ApiUserrights.php |
— | — | @@ -58,6 +58,9 @@ |
59 | 59 | $this->getResult()->addValue( null, $this->getModuleName(), $r ); |
60 | 60 | } |
61 | 61 | |
| 62 | + /** |
| 63 | + * @return User |
| 64 | + */ |
62 | 65 | private function getUser() { |
63 | 66 | if ( $this->mUser !== null ) { |
64 | 67 | return $this->mUser; |
Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -28,7 +28,8 @@ |
29 | 29 | * @ingroup SpecialPage |
30 | 30 | */ |
31 | 31 | class IPBlockForm extends SpecialPage { |
32 | | - var $BlockAddress, $BlockExpiry, $BlockReason; |
| 32 | + var $BlockAddress, $BlockExpiry, $BlockReason, $BlockReasonList, $BlockOther, $BlockAnonOnly, $BlockCreateAccount, |
| 33 | + $BlockEnableAutoblock, $BlockEmail, $BlockHideName, $BlockAllowUsertalk, $BlockReblock; |
33 | 34 | // The maximum number of edits a user can have and still be hidden |
34 | 35 | const HIDEUSER_CONTRIBLIMIT = 1000; |
35 | 36 | |