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']) ?>" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
| 300 | + echo htmlspecialchars($feed['href']) ?>" rel="alternate" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
301 | 301 | <?php } ?></li><?php |
302 | 302 | } |
303 | 303 | |
— | — | @@ -310,7 +310,7 @@ |
311 | 311 | |
312 | 312 | if(!empty($this->data['nav_urls']['print']['href'])) { ?> |
313 | 313 | <li id="t-print"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['print']['href']) |
314 | | - ?>"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php |
| 314 | + ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php |
315 | 315 | } |
316 | 316 | |
317 | 317 | if(!empty($this->data['nav_urls']['permalink']['href'])) { ?> |
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']) ?>" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
| 298 | + echo htmlspecialchars($feed['href']) ?>" rel="alternate" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> |
299 | 299 | <?php } ?></li><?php |
300 | 300 | } |
301 | 301 | |
— | — | @@ -308,7 +308,7 @@ |
309 | 309 | |
310 | 310 | if(!empty($this->data['nav_urls']['print']['href'])) { ?> |
311 | 311 | <li id="t-print"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['print']['href']) |
312 | | - ?>"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php |
| 312 | + ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?php $this->msg('printableversion') ?></a></li><?php |
313 | 313 | } |
314 | 314 | |
315 | 315 | if(!empty($this->data['nav_urls']['permalink']['href'])) { ?> |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -1001,11 +1001,11 @@ |
1002 | 1002 | |
1003 | 1003 | $printurl = $wgRequest->escapeAppendQuery( 'printable=yes' ); |
1004 | 1004 | |
1005 | | - $s = "<a href=\"$printurl\">" . wfMsg( 'printableversion' ) . '</a>'; |
| 1005 | + $s = "<a href=\"$printurl\" rel=\"alternate\">" . wfMsg( 'printableversion' ) . '</a>'; |
1006 | 1006 | if( $wgOut->isSyndicated() ) { |
1007 | 1007 | foreach( $wgFeedClasses as $format => $class ) { |
1008 | 1008 | $feedurl = $wgRequest->escapeAppendQuery( "feed=$format" ); |
1009 | | - $s .= " | <a href=\"$feedurl\" class=\"feedlink\">{$format}</a>"; |
| 1009 | + $s .= " | <a href=\"$feedurl\" rel=\"alternate\" class=\"feedlink\">{$format}</a>"; |
1010 | 1010 | } |
1011 | 1011 | } |
1012 | 1012 | return $s; |