Mark a FIXME in RecentChange.php - We shouldn't be treating log entries as page changes. This causes a few problems with deletions.
This commit is contained in:
parent
25501ec20f
commit
e7dabc458d
1 changed files with 2 additions and 0 deletions
|
|
@ -192,6 +192,8 @@ class RecentChange
|
|||
$wgUser : User::newFromName( $this->mAttribs['rc_user_text'], false );
|
||||
}
|
||||
# FIXME: this would be better as an extension hook
|
||||
## FIXME: Why is this treating log entries as changes to the page?
|
||||
## This causes problems when pages are deleted.
|
||||
$enotif = new EmailNotification();
|
||||
$title = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] );
|
||||
$enotif->notifyOnPageChange( $editor, $title,
|
||||
|
|
|
|||
Loading…
Reference in a new issue