MediaWiki:Gadget-sidebar-tracking.js: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    3 October 2022

    • curprev 18:1118:11, 3 October 2022Jacmob talk contribs 1,674 bytes +1,674 Created page with ";(function($, mw){ function trackSidebarClick(event) { var $e = $(event.currentTarget), pagename = mw.config.get('wgPageName'), href, click_type, data; href = $e.attr('href'); switch (event.which) { case 1: click_type = 'left'; if (!(event.altKey || event.ctrlKey || event.altKey || event.metaKey)) { $e.attr({'x-href': href, 'x-leftclicked':'1'}).removeAttr('href'); } break; case 2: click_type = 'middle'; b..."