Instant Diffs

Instant Diffs is a JavaScript tool that enhances MediaWiki diff links with interactive functionality — dynamically loaded content via AJAX technology in dialog windows.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
SerDIDG
日安装量
0
总安装量
1
评分
0 0 0
版本
1.1.1
创建于
2025-07-22
更新于
2025-08-02
大小
2.5 KB
许可证
MIT
适用于
所有网站

Instant Diffs

Instant Diffs (ID) is a JavaScript tool that enhances MediaWiki diff links with interactive functionality — dynamically loaded content via AJAX technology in dialog windows, enables users to interact with diffs and revisions directly within the page, rather than being redirected to a separate page. These features are integrated not only into all core interface pages where revision diffs are linked but also into user-contributed content. The minimal required version of MediaWiki is 1.35, but it is strongly recommended to upgrade to at least 1.43 LTS.

Features

  • Displays an action button (❖ for diffs or ✪ for revisions) after the link to open the Instant Diffs dialog. By default, the click action is added directly to the link, but you can still open the link in the current tab by pressing Alt+Click.
  • Displays an action button (➔) after the link to navigate to the page and section where the edit was made. If the Convenient Discussions script is installed, the button will also try to navigate to the corresponding comment.
  • Allows quick switching between a revision view and its comparison (diff) with another revision.
  • Provides a quick actions menu in the dialog, allowing you to copy the link or an internal wiki link, go to the page, its history, or the discussion.
  • Enables viewing diffs and revisions from foreign interwikis in the GlobalContributions, GlobalWatchlist and in edits from Wikidata.
  • Supports keyboard shortcuts for navigation between diffs and between links on the page in the Instant Diffs dialog window.
  • Allows sending thanks, patrolling, and rolling back (with confirmation prompts enabled) directly from the dialog.
  • Enables administrators to view hidden revisions directly in the dialog, without any additional steps. The suppressrevision user right is required to access hidden revision content.
  • Fully adapts to mobile devices, especially optimized for the Minerva skin.
  • Offers a wide range of customization settings that are saved globally across all Wikimedia projects.

See also