The Recent Changes page in MediaWiki lets you see the most recent edits made to pages in your MediaWiki project. Using this page, users can monitor and review the work of other users, allowing mistakes to be corrected and vandalism to be eliminated. There is a link to the Recent Changes page at the top or in the sidebar of each page. You can also create a link to the page as [[Special:Recentchanges]].
Understanding Recent Changes
With the default preferences, the bulk of the page consists of fifty lines, one for each edit, looking like this:
- (diff) (hist) . . MediaWiki User's Guide: Editing mathematical formulae; 10:06 . . (+1,864) . . 22.214.171.124 (Talk) (Add examples)
- (diff) (hist) . . N MediaWiki User's Guide; 10:06 . . (+1,433) . . Brion VIBBER (Talk | contribs) (New page)
- (Move log); 10:05 . . Maveric149 (Talk| contribs) (moved Endnotes to Footnotes)
- (diff) (hist) . . Help:What links here; 10:04 . . (+98) . . IMandIR (Talk | contribs) (Added examples)
This indicates four edits: the first by a user who is not logged in, to MediaWiki User's Guide: Editing mathematical formulae; the second by Brion VIBBER to MediaWiki User's Guide; and the third by Maveric149 to Endnotes; the fourth by IMandIR to Help:What links here.
From left to right:
- "diff" links to the diff-page for this edit; it is not available for new pages, or for page moves
- The "hist" link corresponds to the Page history link on the edited page: it shows not just this edit but also older and newer ones. For page moves, the hist link leads to the history of the new page title
- A bold m indicates that the user marked the edit "minor". Only logged in users can mark edits minor, to avoid abuse.
- A bold N indicates that the page is "new", i.e., previously did not exist. It is possible for a change to possess both the "minor" and "new" indicators; this is typically used for new redirects.
- A bold b indicates that the edit is made by a bot (an account with bot flag), or that the edit is hidden by an administrator.
- A bold ! indicates that the page is unpatrolled. For more information see the Help topic Patrolled Edit.
- The next link is a link to the current version of the page in question.
- 10:06 refers to the time in UTC. You can change the time to your time zone using your preferences - see how to set preferences.
- For logged in users, the next link is a link to their user homepage (as usual with internal links, the view page if the page exists, the edit page if it does not, the two being styled differently). For users who are not logged in, the link is to their User Contributions.
- Finally, there is a link to the user's talk page (the same remarks regarding existence apply).
- For page moves, a link is given to both the old and new title.
Edits older than $wgRCMaxAge are not listed in Recent changes. This can be especially restrictive in listing Recent changes of one namespace (possible since MediaWiki 1.5), in the case that edits in this namespace are not very frequent.
- Hide minor edits in recent changes - this hides all edits that have been marked as minor by logged in users;
- Days to show in recent changes - You may select the number of days to be shown by default on the Recent Changes page.
- Number of recent changes - You may select the number of changes which will be shown by default. Once on that page, links are provided for other options. In the case of Enhanced Recent Changes this number of changes includes those that are initially hidden.
Viewing new changes starting from a particular time
If you have loaded the recent changes at, for example, 19:47 Jan 31, 2023, it gives a link "Show new changes starting from 19:47 Jan 31, 2023", giving you the changes you have not seen yet. In order to use this link later, after you have used the browser window for other things, or if you switch off the computer in between, you can instruct your browser to bookmark it (with Internet Explorer: right-click on the link and choose "add to favorites"). Alternatively, you can save the page with recent changes.
To get the new changes without one of these preparations, use:
(format yyyymmddhhmmss, UTC time).
You can copy this URL to the address bar and change date and time. The "Number of titles in recent changes" set as preference is applicable. This feature can not be used in conjunction with "hide logged in users" (see below) unless the URL is modified manually.
Hiding logged in users from recent changes
Special:Recentchanges/hideliu is a version of recent changes that only shows changes by users who have not logged in. This can be useful for those watching out for vandalism. Features such as viewing changes starting from a particular time can be used with the hideliu feature, but only by manually altering the URL to add &hideliu=1 to it. For example, clicking the time (as described in the section above) may take you to the url
You would need to change this to read
in order to view the recent changes without logged in users starting from this time.
Edit records that are changed or lost
After a page has been renamed (moved), earlier edits, including the original creation of the page, are shown in Recent Changes etc. under the new name.
After a page has been deleted, earlier edits, including the original creation of the page, are not shown in Recent Changes etc.
In this Recent Changes differs from a real log of editing events (the latter in the sense that something that has happened can not be changed afterwards).
However, some edit lines are in Recent Changes (as long as it lasts) but no longer in edit histories, watchlists, Related Changes or User Contributions: when moving a page over a redirect, the creation of that redirect is only in Recent Changes (and only if that was recent enough, of course). In particular this applies in the case of re-renaming a page back to its original name, and subsequent renamings back and forth.
Bots can be shown in recent changes by adding &hidebots=0 to the url. It is possible for sysops to mark some edits as bot edits, thereby preventing them displaying in the default recent changes. See Help:Reverting for more information on this.
Difference with page history
In page history, every line represents one edit to the given page and the version resulting from it.
- "last" is similar to "diff" explained above
- "cur" gives the difference between this version and the current one, which is the cumulation of all later edits, including those which are not in this revision history because they were made after loading this page
The "cur" and "last" features are similar to those in Enhanced Recent Changes, except for "cur" in the first line: it is not linked in the revision history, while in the Enhanced Recent Changes it gives the differences corresponding to the last edit.
This page is derived from the MediaWiki help page on Recent change