Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -239,8 +239,8 @@ |
240 | 240 | function notifyOnPageChange($editor, &$title, $timestamp, $summary, $minorEdit, $oldid = false) { |
241 | 241 | global $wgEnotifUseJobQ; |
242 | 242 | global $wgEnotifWatchlist, $wgShowUpdatedMarker; |
243 | | - |
244 | | - if( in_array( $title->getNamespace(), array(NS_SPECIAL, NS_MEDIA) ) ) |
| 243 | + |
| 244 | + if( $title->getNamespace() < 0 ) |
245 | 245 | return; |
246 | 246 | |
247 | 247 | if ($wgEnotifUseJobQ) { |