Mark a FIXME in RecentChange.php - We shouldn't be treating log entries as page chang...
[lhc/web/wiklou.git] / includes / RecentChange.php
index a9e10e3..93de943 100644 (file)
@@ -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,