Add "rel=discussion" attribute to talk page tabs in skin template
authorMatěj Grabovský <mgrabovsky@yahoo.com>
Sun, 15 Feb 2015 11:12:22 +0000 (12:12 +0100)
committerKunal Mehta <legoktm@gmail.com>
Sat, 13 Jun 2015 01:18:30 +0000 (18:18 -0700)
Bug: T65198
Change-Id: Ifd1a7333c7b657d74860d206ea5b82d29bf97851

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 {