Index: trunk/extensions/WikimediaIncubator/IncubatorTest.php |
— | — | @@ -458,11 +458,15 @@ |
459 | 459 | * @return True |
460 | 460 | */ |
461 | 461 | static function onShowMissingArticle( $article ) { |
462 | | - global $wgOut; |
| 462 | + global $wgOut, $wmincTestWikiNamespaces; |
463 | 463 | $title = $article->getTitle(); |
464 | 464 | $prefix = self::analyzePrefix( $title->getText(), |
465 | 465 | true /* only info pages */, true /* allow sister projects */ ); |
466 | 466 | |
| 467 | + if( !in_array( $title->getNamespace(), $wmincTestWikiNamespaces ) ) { |
| 468 | + return true; |
| 469 | + } |
| 470 | + |
467 | 471 | if( $prefix['error'] ) { # We are not on info pages |
468 | 472 | global $wmincSisterProjects; |
469 | 473 | $prefix2 = self::analyzePrefix( $title->getText(), false, true ); |