diff --git a/modules/ve-cite/ve.ce.MWReferencesListNode.js b/modules/ve-cite/ve.ce.MWReferencesListNode.js index 9b53f0a99..f405213b5 100644 --- a/modules/ve-cite/ve.ce.MWReferencesListNode.js +++ b/modules/ve-cite/ve.ce.MWReferencesListNode.js @@ -223,10 +223,10 @@ ve.ce.MWReferencesListNode.prototype.update = function () { $li = $( '
  • ' ); if ( keyedNodes.length > 1 ) { - $refSpan = $( '' ); + $refSpan = $( '' ).attr( 'rel', 'mw:referencedBy' ); for ( j = 0, jLen = keyedNodes.length; j < jLen; j++ ) { $link = $( '' ).append( - $( '' ) + $( '' ).addClass( 'mw-linkback-text' ) .text( ( j + 1 ) + ' ' ) ); if ( refGroup !== '' ) { @@ -236,8 +236,9 @@ ve.ce.MWReferencesListNode.prototype.update = function () { } $li.append( $refSpan ); } else { - $link = $( '' ).append( - $( '' ).text( '↑ ' ) + $link = $( '' ).attr( 'rel', 'mw:referencedBy' ).append( + $( '' ).addClass( 'mw-linkback-text' ) + .text( '↑ ' ) ); if ( refGroup !== '' ) { $link.attr( 'data-mw-group', refGroup );