User:Bradv/Scripts/ExpandDiffs
{{Infobox user script
|name=ExpandDiffs
|status=Stable
|released={{start date and age|2020|09|06}}
|updated=
|source=User:Bradv/Scripts/ExpandDiffs.js
|browsers=All modern browsers
|skins=Vector
|install-target=common.js
}}
User:Bradv/Scripts/ExpandDiffs.js allows for diffs to be loaded inline on history, contributions, and recent changes pages.
Usage
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.