LastEdited

LastEdited adds details about the last edit to the current page. These details include the time (minutes/hours/days/months/years) ago the last edit was made, user who made the edit, edit summary given (if any), the current page size in bytes and a link to open a modal to review the changes. The modal includes a link to the actual diff page and a link to undo the edit.

The date and time are added by default and cannot be changed, while the other options can be configured.

Demo
A demo can be seen live at the header of this page, listing the last edited details of the page.

Installation
Add the following to your Special:MyPage/common.js for personal use, or MediaWiki:Common.js for site wide use:

Configuration
All configurations made to the script are to be stored in the  object, like so:

Messages
The script uses the following messages. Use the talkpage to provide missing translations. These messages can be compiled to a single object with the language code (use the name if you're not sure):

Updates

 * July 9th, 2015
 * Added monobook support.


 * April 4th, 2015
 * Date and time merged together to give an approximate time since the last edit using timeago.


 * April 3rd, 2015
 * Added i18n support.
 * Redid namespace support; added options to include/exclude namespaces and exclude pages.


 * April 2nd, 2015
 * Re-added previously removed editor's avatar.


 * December 30th, 2014
 * Added editor's avatar, per request.


 * December 1st, 2014
 * Namespace support.


 * November 15th, 2014
 * Features updated.


 * October 8th, 2014
 * Initial release.