User:Nardog/MoveHistory
From Wikipedia, the free encyclopedia
Disentangling all the moves a page has gone through can be quite a hassle. So let this script do it for you. It adds the link "Move history" to the Tools section of the sidebar, which opens a dialog. For example, looking up the move history of Anne Hathaway (wife of Shakespeare) will show you something like this:
(10 months ago)
| Description | Lists the past moves a page has gone through |
|---|---|
| Updated | May 6, 2025 (10 months ago) |
| Browsers | Chrome, Firefox, etc. |
| Source |
Anne Hathaway (Shakespeare's wife) → Anne Hathaway (Shakespeare) → Anne Hathaway Shakespeare → Anne Hathaway (Shakespeare) → Anne Hathaway Shakespeare → Anne Hathaway (Shakespeare) → *H E Ŗ M EE? → Anne Hathaway (Shakespeare) → Anne Hathaway (Shakespeare's wife) → Anne Hathaway (wife of Shakespeare)
Installation
Add the following to your common.js or global.js:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/MoveHistory.js&action=raw&ctype=text/javascript');
Or you may enable the script installer in Preferences → Gadgets and click "Install" in the infobox on this page.
Limitations
- Moves within merged history appear like any other, resulting in the target of one move and the source of the next (or the current name) not lining up.
- A move will not be detected if:
- it was made before late June 2005;
- it was the first edit since the date specified in "Since";
- the user or edit summary in the history or move log has been hidden;
- there was a server latency between the revision and move log entries longer than one minute; or
- the namespace prefix has been changed since the move.