Index: trunk/phase3/includes/Linker.php |
— | — | @@ -275,7 +275,7 @@ |
276 | 276 | } |
277 | 277 | |
278 | 278 | # Note that redirects never count as stubs here. |
279 | | - if ( $target->isRedirect() ) { |
| 279 | + if ( !in_array( 'broken', $options ) && $target->isRedirect() ) { |
280 | 280 | $classes[] = 'mw-redirect'; |
281 | 281 | } elseif( $target->isContentPage() ) { |
282 | 282 | # Check for stub. |