Index: trunk/phase3/includes/RecentChange.php |
— | — | @@ -258,7 +258,7 @@ |
259 | 259 | } |
260 | 260 | |
261 | 261 | # Makes an entry in the database corresponding to an edit |
262 | | - /*static*/ function notifyEdit( $timestamp, &$title, $minor, &$user, $comment, |
| 262 | + public static function notifyEdit( $timestamp, &$title, $minor, &$user, $comment, |
263 | 263 | $oldId, $lastTimestamp, $bot = "default", $ip = '', $oldSize = 0, $newSize = 0, |
264 | 264 | $newId = 0) |
265 | 265 | { |
— | — | @@ -361,7 +361,7 @@ |
362 | 362 | } |
363 | 363 | |
364 | 364 | # Makes an entry in the database corresponding to a rename |
365 | | - /*static*/ function notifyMove( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='', $overRedir = false ) |
| 365 | + public static function notifyMove( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='', $overRedir = false ) |
366 | 366 | { |
367 | 367 | if ( !$ip ) { |
368 | 368 | $ip = wfGetIP(); |
— | — | @@ -402,17 +402,17 @@ |
403 | 403 | $rc->save(); |
404 | 404 | } |
405 | 405 | |
406 | | - /* static */ function notifyMoveToNew( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) { |
| 406 | + public static function notifyMoveToNew( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) { |
407 | 407 | RecentChange::notifyMove( $timestamp, $oldTitle, $newTitle, $user, $comment, $ip, false ); |
408 | 408 | } |
409 | 409 | |
410 | | - /* static */ function notifyMoveOverRedirect( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) { |
| 410 | + public static function notifyMoveOverRedirect( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) { |
411 | 411 | RecentChange::notifyMove( $timestamp, $oldTitle, $newTitle, $user, $comment, $ip, true ); |
412 | 412 | } |
413 | 413 | |
414 | 414 | # A log entry is different to an edit in that previous revisions are |
415 | 415 | # not kept |
416 | | - /*static*/ function notifyLog( $timestamp, &$title, &$user, $comment, $ip='', |
| 416 | + public static function notifyLog( $timestamp, &$title, &$user, $comment, $ip='', |
417 | 417 | $type, $action, $target, $logComment, $params ) |
418 | 418 | { |
419 | 419 | if ( !$ip ) { |