Index: trunk/phase3/includes/Title.php |
— | — | @@ -1403,7 +1403,8 @@ |
1404 | 1404 | $log = new LogPage( 'protect' ); |
1405 | 1405 | |
1406 | 1406 | if( $create_perm ) { |
1407 | | - $log->addEntry( $this->mRestrictions['create'] ? 'modify' : 'protect', $this, trim( $reason . " [create=$create_perm] $expiry_description" ) ); |
| 1407 | + $params = array("[create=$create_perm] $expiry_description",''); |
| 1408 | + $log->addEntry( $this->mRestrictions['create'] ? 'modify' : 'protect', $this, trim( $reason ), $params ); |
1408 | 1409 | } else { |
1409 | 1410 | $log->addEntry( 'unprotect', $this, $reason ); |
1410 | 1411 | } |