Merge "Add "rel=discussion" attribute to talk page tabs in skin template"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 13 Jun 2015 01:53:28 +0000 (01:53 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 13 Jun 2015 01:53:28 +0000 (01:53 +0000)
RELEASE-NOTES-1.26
includes/skins/SkinTemplate.php

index cd89948..de34ffc 100644 (file)
@@ -27,6 +27,7 @@ production.
 
 === Bug fixes in 1.26 ===
 * (bug 51283) load.php sometimes sends 304 response without full headers
+* (T65198) Talk page tabs now have a "rel=discussion" attribute
 
 === Action API changes in 1.26 ===
 * API action=query&list=tags: The displayname can now be boolean false if the
index 5364719..ae78b2c 100644 (file)
@@ -1076,6 +1076,7 @@ class SkinTemplate extends Skin {
                                        $xmlID = 'ca-nstab-' . $xmlID;
                                } elseif ( isset( $link['context'] ) && $link['context'] == 'talk' ) {
                                        $xmlID = 'ca-talk';
+                                       $link['rel'] = 'discussion';
                                } elseif ( $section == 'variants' ) {
                                        $xmlID = 'ca-varlang-' . $xmlID;
                                } else {