From: Rob Church Date: Mon, 9 Jul 2007 14:21:49 +0000 (+0000) Subject: Don't waste time queuing or checking email notifications for pages in the Special... X-Git-Tag: 1.31.0-rc.0~52186 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=286a1124a6517c4df883576ca86474fce5177ac4;p=lhc%2Fweb%2Fwiklou.git Don't waste time queuing or checking email notifications for pages in the Special or Media namespaces --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 4847cecd03..6e6bbf0cf4 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -240,6 +240,9 @@ class EmailNotification { global $wgEnotifUseJobQ; global $wgEnotifWatchlist, $wgShowUpdatedMarker; + if( $title->getNamespace() < 0 ) + return; + if ($wgEnotifUseJobQ) { $params = array( "editor" => $editor->getName(),