summaryrefslogtreecommitdiff
path: root/extensions/Vector/modules/ext.vector.sectionEditLinks.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Vector/modules/ext.vector.sectionEditLinks.js')
-rw-r--r--extensions/Vector/modules/ext.vector.sectionEditLinks.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/extensions/Vector/modules/ext.vector.sectionEditLinks.js b/extensions/Vector/modules/ext.vector.sectionEditLinks.js
index 2a3301bf..62bde9e6 100644
--- a/extensions/Vector/modules/ext.vector.sectionEditLinks.js
+++ b/extensions/Vector/modules/ext.vector.sectionEditLinks.js
@@ -38,20 +38,6 @@ if ( bucket <= 0 ) {
}
$(document).ready( function () {
- // Transform the targets of section edit links to route through the click tracking API
- var session = $.cookie( 'clicktracking-session' );
- $( 'span.editsection a, #ca-edit a' ).each( function () {
- var event = eventBase + bucket + '@' + experiment;
- if ( $(this).is( '#ca-edit a' ) ) {
- event += '-tab';
- }
- var href = $( this ).attr( 'href' );
- var editUrl = href + ( href.indexOf( '?' ) >= 0 ? '&' : '?' ) + $.param( {
- 'clicktrackingsession': session,
- 'clicktrackingevent': event + '-save'
- } );
- $(this).attr( 'href', $.trackActionURL( editUrl, event + '-click' ) );
- } );
if ( bucket == 2 ) {
// Move the link over to be next to the heading text and style it with an icon
$( 'span.mw-headline' ).each( function () {