Index: trunk/phase3/includes/logging/LogEntry.php |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | $fields = array( |
124 | 124 | 'log_id', 'log_type', 'log_action', 'log_timestamp', |
125 | 125 | 'log_user', 'log_user_text', |
126 | | - 'log_namespace', 'log_title', //unused log_page |
| 126 | + 'log_namespace', 'log_title', // unused log_page |
127 | 127 | 'log_comment', 'log_params', 'log_deleted', |
128 | 128 | 'user_id', 'user_name', 'user_editcount', |
129 | 129 | ); |
— | — | @@ -319,7 +319,7 @@ |
320 | 320 | } |
321 | 321 | |
322 | 322 | /** |
323 | | - * Set extra log parameters. |
| 323 | + * Set extra log parameters. |
324 | 324 | * You can pass params to the log action message |
325 | 325 | * by prefixing the keys with a number and colon. |
326 | 326 | * The numbering should start with number 4, the |
Index: trunk/phase3/includes/logging/LogFormatter.php |
— | — | @@ -171,7 +171,7 @@ |
172 | 172 | |
173 | 173 | if ( $entry->isLegacy() ) { |
174 | 174 | foreach ( $entry->getParameters() as $index => $value ) { |
175 | | - $params[$index+3] = $value; |
| 175 | + $params[$index + 3] = $value; |
176 | 176 | } |
177 | 177 | } |
178 | 178 | |
— | — | @@ -179,7 +179,7 @@ |
180 | 180 | foreach ( $entry->getParameters() as $key => $value ) { |
181 | 181 | if ( strpos( $key, ':' ) === false ) continue; |
182 | 182 | list( $index, $type, $name ) = explode( ':', $key, 3 ); |
183 | | - $params[$index-1] = $value; |
| 183 | + $params[$index - 1] = $value; |
184 | 184 | } |
185 | 185 | |
186 | 186 | /* Message class doesn't like non consecutive numbering. |