User:Opencooper/lastEdit

__INDEX__ lastEdit.js mimics the banner at the foot of the mobile version of Wikipedia that lists the last edit made to the page. So it will tell you "Last edited 6 hours ago by Opencooper" for example. (this can be very useful for spotting vandalism and for seeing how active an article is) However since this is a userscript for the desktop I took some liberties in the implementation: the first part of the text links to a diff instead of the page history (since desktop actually has a history tab), the second part links to the user's contributions rather than their userpage, when you hover over the first link, the alt-text shows their edit summary, and the script also shows any tags that were added to the edit.

Installation
To install the script, add the following to your common.js page:

Feedback
Please let me know if you have any feature requests or bug reports (along with your OS/browser/browser version, and whether you also have the metadata gadget enabled). I have not tested this script on Internet Explorer so feedback on whether it even works there would be appreciated. (due to the features used, a minimum of IE9 is likely required, and if you are also using the metadata gadget, IE 11 might be needed) Only the Vector skin on the English Wikipedia is supported.

License
This script and any associated files are licensed under Creative Commons Zero.