Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -296,7 +296,7 @@ |
297 | 297 | if($this->data['feeds']) { ?> |
298 | 298 | <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) { |
299 | 299 | ?><a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php |
300 | | - echo htmlspecialchars($feed['href']) ?>" rel="alternate" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
| 300 | + echo htmlspecialchars($feed['href']) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
301 | 301 | <?php } ?></li><?php |
302 | 302 | } |
303 | 303 | |
Index: trunk/phase3/skins/Modern.php |
— | — | @@ -294,7 +294,7 @@ |
295 | 295 | if($this->data['feeds']) { ?> |
296 | 296 | <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) { |
297 | 297 | ?><a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php |
298 | | - echo htmlspecialchars($feed['href']) ?>" rel="alternate" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
| 298 | + echo htmlspecialchars($feed['href']) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
299 | 299 | <?php } ?></li><?php |
300 | 300 | } |
301 | 301 | |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1005,7 +1005,7 @@ |
1006 | 1006 | if( $wgOut->isSyndicated() ) { |
1007 | 1007 | foreach( $wgFeedClasses as $format => $class ) { |
1008 | 1008 | $feedurl = $wgRequest->escapeAppendQuery( "feed=$format" ); |
1009 | | - $s .= " | <a href=\"$feedurl\" rel=\"alternate\" class=\"feedlink\">{$format}</a>"; |
| 1009 | + $s .= " | <a href=\"$feedurl\" rel=\"alternate\" type=\"application/{$format}+xml\" class=\"feedlink\">{$format}</a>"; |
1010 | 1010 | } |
1011 | 1011 | } |
1012 | 1012 | return $s; |