MediaWiki:Gadget-fileDownload.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

17 October 2024

13 October 2024

  • curprev 01:5901:59, 13 October 2024Alex talk contribs 953 bytes +953 Created page with "→‎* * Adds a download link to file pages * * @author Gaz Lloyd: $(function(){ if (!(mw.config.get('wgNamespaceNumber') === 6 && $('.fullMedia, .filehistory').length > 0)) { return; } function addLinks() { // underneath image - also replace filename with page title $('.fullMedia a.internal').after( ' (', $('<a>') .text('download') .addClass('fileDownload') .attr({ href: $('.fullMedia a.internal').attr('href'), download: mw.conf..."