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.

作者
SerDIDG
日安装量
0
总安装量
0
评分
0 0 0
版本
1.1.0
创建于
2025-07-22
更新于
2025-07-22
大小
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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址