Index: trunk/phase3/skins/Vector.php |
— | — | @@ -374,8 +374,13 @@ |
375 | 375 | foreach ( $nav as $section => $links ) { |
376 | 376 | foreach ( $links as $key => $link ) { |
377 | 377 | $insert = ''; |
378 | | - if ( isset( $link['context'] ) && $link['context'] == 'subject' ) { |
379 | | - $insert = 'nstab-'; |
| 378 | + if ( isset( $link['context'] ) ) { |
| 379 | + if ( $link['context'] == 'subject' ) { |
| 380 | + $insert = 'nstab-'; |
| 381 | + } |
| 382 | + if ( $link['context'] == 'talk' ) { |
| 383 | + $key = 'talk'; |
| 384 | + } |
380 | 385 | } |
381 | 386 | $nav[$section][$key]['attributes'] = |
382 | 387 | ' id="' . Sanitizer::escapeId( "ca-{$insert}{$key}" ) . '"'; |