GhostInTheMachine • Talk • All • Help • Misc • Modules • Other • Layout • Photos • Projects • Scripts • Tidying • TidyingSD • TODO • UBX • WIP • 2024-08-11 12:47:16 |
Purpose
editThis script displays information about the last edit to the page.
The following details are shown just below the page title:
- ⇒ Last edited by
- the username of the editor — linked to their user page
- (talk | contribs) — standard links to the user's talk page and contributions
- how long ago the page was edited — such as "46 minutes ago"
- (diff) — a link to the diff for the edit
- the edit summary
Prerequisites
editNone.
Installing
editAdd the following line to your common.js file.
{{subst:Lusc|User:GhostInTheMachine/LastEditor.js}}
Notes
editThis script was shamelessly stolen from User:Eizen/LastEditor
I then made a few changes:
- the information was split over two lines, so I reduced the output a bit and it now displays on one line
- I added a couple of spaces at the start of the line, so that it aligns with the output from the xtools gadget
XTools: dynamically show statistics about a page's history under the page heading