Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:Bradv/Scripts/ExpandDiffs

From Wikipedia, the free encyclopedia
ExpandDiffs
Author(s)bradv🍁
StatusStable
First releasedSeptember 6, 2020; 4 years ago (2020-09-06)
BrowsersAll modern browsers
SkinsVector
SourceUser:Bradv/Scripts/ExpandDiffs.js

User:Bradv/Scripts/ExpandDiffs.js allows for diffs to be loaded inline on history, contributions, and recent changes pages.

Usage

[edit]

To use the script, add the following to your common or skin-specific Javascript file.

importScript('User:Bradv/Scripts/ExpandDiffs.js'); // Backlink: [[User:Bradv/Scripts/ExpandDiffs.js]]

Once installed, an arrow will be shown to the left of each entry that can be expanded. There is also a new menu item at the top of the page called "Expand diffs" which will automatically retrieve and expand the first 50 diffs on a page.