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

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

13 October 2024

  • curprev 01:2801:28, 13 October 2024Alex talk contribs 1,688 bytes +1,688 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..."