Vishnunk90 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/104202


Change subject: Enable XFN rel=me for links on User Profile pages and 
rel="author" link Bug: 29968
......................................................................

Enable XFN rel=me for links on User Profile pages and rel="author" link
Bug: 29968

Change-Id: I5ca55a4f6db4f27b3fafe5d0c31a66addd1801b3
---
M includes/Linker.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/02/104202/1

diff --git a/includes/Linker.php b/includes/Linker.php
index 27f8ab4..614645e 100644
--- a/includes/Linker.php
+++ b/includes/Linker.php
@@ -1084,7 +1084,7 @@
                return self::link(
                        $page,
                        htmlspecialchars( $altUserName !== false ? $altUserName 
: $userName ),
-                       array( 'class' => 'mw-userlink' )
+                       array( 'class' => 'mw-userlink', 'rel' => 'author' )
                );
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/104202
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ca55a4f6db4f27b3fafe5d0c31a66addd1801b3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Vishnunk90 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to