r23903 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23902‎ | r23903 | r23904 >
Date:14:21, 9 July 2007
Author:robchurch
Status:old
Tags:
Comment:
Don't waste time queuing or checking email notifications for pages in the Special or Media namespaces
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -240,6 +240,9 @@
241241 global $wgEnotifUseJobQ;
242242 global $wgEnotifWatchlist, $wgShowUpdatedMarker;
243243
 244+ if( $title->getNamespace() < 0 )
 245+ return;
 246+
244247 if ($wgEnotifUseJobQ) {
245248 $params = array(
246249 "editor" => $editor->getName(),

Follow-up revisions

RevisionCommit summaryAuthorDate
r23912Merged revisions 23662-23909 via svnmerge from...david18:11, 9 July 2007

Status & tagging log