|MediaWiki Handbook: Contents, Readers, Editors, Moderators, System admins +/-|
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) . . 184.108.40.206 (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.
- (+1,864) (generally a green number with a +, or a red number with a -) refers to the number of characters that have been added or removed.
- 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.
Top of Recent Changes page
The content of MediaWiki:Recentchangestext is what appears at the top of Special:Recentchanges. It can be edited when necessary. MediaWiki talk:Recentchangestext is for discussing what might go on it. See also below #Internationalisation.
Viewing new changes starting from a particular time
If you have loaded the recent changes at, for example, 14:57 Dec 9, 2019, it gives a link "Show new changes starting from 14:57 Dec 9, 2019", 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). Compare Historical revisionism.
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.
Web feeds (RSS and Atom) for the recent changes of a wiki are obtained by assigning to "feed" (one of the parameters to index.php available) the value "rss" or "atom", i.e., by adding "&feed=rss" or "&feed=atom" to the URL of the recent changes page. This gives the diffs of a number of edits (on Meta it recently gave 881 edits, covering 31 hours), each with a link to the current page. Depending on the browser there may be possibilities such as sorting by author. See also w:Wikipedia:Syndication.
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.
The header of the Recent changes page is the content of system message "recentchanges" in the message file of the site language. As of Feb 2007 for ca. 90 languages the message file contains a translation. If the site language is not one of them, the text in the fall-back language is used, possibly specified in the message file (e.g., in MessagesAb.php, $fallback='ru'). The default fallback language is English, giving the header "Recent changes".
A localized page title for use as target in internal, interwiki and external links, can be specified in the message file with array element $specialPageAliases ('Recentchanges'). This has been done for ca. 25 languages. Anyway Special:Recentchanges also works.
By default there is on every regular page a link to the Recent changes page, labelled with the content of system message "recentchanges" in the message file of the user-specified interface language. Like above, if it is undefined, the text in the fall-back language is used, possibly specified in the message file, and otherwise English.
There is a system message "recentchanges-url", specifying the target of the recent changes link, but in view of the above there is no need for deviating from the English content "Special:Recentchanges". If there is a localized page title for use as target in links (see above) this shows up, depending on the browser, in the status bar (see e.g. de:a). This is a disadvantage for users who are not familiar with the site language and have not set their preferred interface language. For those users generic names of link targets are helpful (see e.g. af:a).
The HTML-title (depending on the browser shown in a hover box) is defined in ta['n-recentchanges'] in the default system message "monobook.js". Again, localisation has disadvantages.
There are also the system message "recentchangestext" and several others related to recent changes.
Links to other help pages
- Help contents | search (all help pages)
- Meta | Wikinews | Wikipedia | Wikiquote | Wiktionary | commons: | mw: | b: | s:
- Go | Search | Stop words | URL | Namespace | Page name | Section
- Backlinks | Link | Piped link | Interwiki link | Redirect | Category | Image page
- Logging in and preferences
- Logging in | Preferences | User style
- Advanced editing | Editing FAQ | Edit toolbar | Export
- Editing shortcuts
- Tracking changes
- Recent changes (enhanced) | Related changes | Watching pages | Diff
- Page history | Edit summary | User contributions | Minor edit | Patrolled edit
- Style & formatting
- Wikitext examples | Reference card
- HTML in wikitext | HTML elements
- List | Table | Sorting
- Mathematical symbols on English Wikipedia
- Special input and output
- Inputbox | Special characters | Displaying a formula | Images and other uploaded files | EasyTimeline
- Advanced functioning
- Template | Advanced templates | Parser function | ParserFunctions | Parameter default | Variable | Magic word | System message | Substitution
- Array | Calculation
- Page management
- Starting a new page | Renaming (moving) a page | Maintenance | Merging and moving pages | Protecting pages
- Resolving disputes | Deleting a page
- Special pages
- Talk page | Testing | Sandbox
- Lists of resources
- Lists of Categories | Copyrights | Infobox
- Redirect | Reference Desk | Shortcuts | Stub types