Mark a FIXME in RecentChange.php - We shouldn't be treating log entries as page chang...
authorAndrew Garrett <werdna@users.mediawiki.org>
Tue, 14 Oct 2008 10:50:26 +0000 (10:50 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Tue, 14 Oct 2008 10:50:26 +0000 (10:50 +0000)
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,