SamanthaNguyen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/339909 )

Change subject: Remove HTML4 'name' attribute locally deprecated for anchor 
element
......................................................................

Remove HTML4 'name' attribute locally deprecated for anchor element

The 'name' attribute is HTML4 only and has been marked as obsolete
since HTML5, and replaced by the global attribute 'id'.

References:
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Obsolete
- http://w3c.github.io/html-reference/a.html#a-constraints

Change-Id: I03fcad43b96ac8e095a09c69f643b7ddea43ed5f
---
M CommentsHooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Comments 
refs/changes/09/339909/1

diff --git a/CommentsHooks.php b/CommentsHooks.php
index 7a57d28..497c055 100644
--- a/CommentsHooks.php
+++ b/CommentsHooks.php
@@ -85,7 +85,7 @@
                $output = '<div class="comments-body">';
 
                if ( $wgCommentsSortDescending ) { // form before comments
-                       $output .= '<a id="end" name="end" rel="nofollow"></a>';
+                       $output .= '<a id="end" rel="nofollow"></a>';
                        if ( !wfReadOnly() ) {
                                $output .= $commentsPage->displayForm();
                        } else {
@@ -105,7 +105,7 @@
                        } else {
                                $output .= wfMessage( 'comments-db-locked' 
)->parse();
                        }
-                       $output .= '<a id="end" name="end" rel="nofollow"></a>';
+                       $output .= '<a id="end" rel="nofollow"></a>';
                }
 
                $output .= '</div>'; // div.comments-body

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I03fcad43b96ac8e095a09c69f643b7ddea43ed5f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Comments
Gerrit-Branch: master
Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to