Revision dashboard - The MDN project 编辑

The revision dashboard is a feature of the MDN Web Docs wiki which lets you look at recent revisions and additions to content on MDN, examine details of what was changed, and act upon those revisions in various ways. This article is a guide to using the revision dashboard.

First look

The revision dashboard has a busy interface with tons of handy features, so let's start with an overview of the interface's primary sections.

Annotated screenshot of main revision dashboard view

The most important things to note here are the revision list, which lets you browse through revisions matching your filter, and the revision diff, which shows the changes made in the revision you click on.

The revision list

The revision list in the middle of the revision dashboard window provides a list of changes that have been made recently. The list is ordered with the most-recently changed article first, progressing toward older and older revisions.

Immediately below the revision list is an indicator telling you how many total pages match your query and which of them you're currently viewing. If you haven't filtered anything out, you'll see the total number of pages of revisions that have ever been made to the MDN wiki.

Each row in the list corresponds to a single change to the wiki. A "change" consists of any one or more of the following:

  • A new page was created. These are indicated with a "new" tag under the revision timestamp.
  • A page was moved. This is indicated in the Comment column, with a shaded box that shows  "<old path> ➞ <new path>".
  • The text of a page was changed.
  • The page's tags were changed.
  • A page was deleted. Unimplemented

Each row has four columns: Revision, Title, Comment, and Author.

Revision column

The revision column gives you information about the change that was made. This column offers several bits of information:

Timestamp
The exact date and time when the revision was saved. This is a link that takes you to a revision detail page, which shows some metadata and the contents of the revision.
Locale
The article's locale is indicated by a tag in this column. This is displayed as the language shortcode, such as "en-US" for US English.
File change indicators
A new tag is displayed if this is a new article that didn't exist previously. A deleted tag appears if the revision represents that the page was deleted. It's possible for a revision to show both a new and a deleted tag, if a page was deleted after only one revision

Title column

Article title
The article's title, as it is set on the page, is displayed in this column. The title is also a link to the article in the wiki, so you can go look at it directly quickly and easily.
Article path
Under the article title, the path of the article is shown. This is the part of the article's URL that comes after http://developer.mozilla.org/<locale>/docs/.

Comment column

Revision comment
If the author of the change added a revision comment there was one added when the change was saved. This is displayed in smaller, italicized text.
Move information
If the revision represents a move of the page, the source and destination paths on the wiki are displayed.

Author column

The author column lists the username of the person that saved the revision. You can click the name to quickly view the profile page for that user.

For admins only: MDN users who have administrator privileges also see a Toggle IPs button in the Author column heading. Clicking this button displays the IP address of each author, enabling admins to ban abusive authors by IP address. If a user has been banned, an indication is shown under the username, but this is visible only to Admin users.

Filtering

MDN provides several helpful filtering options that you can use to reduce the amount of "stuff" you see in the revision list based on your needs. Once you've configured your filter, click the Filter button to apply it; after a few moments, the display will update with your filtered results. There are several filters available:

Locale
You may filter so that you only see changes in a specific locale. By default, you see changes across all locales, but this may not be useful to you. Indeed, if you're a member of a localization team, for example, the only locales you're likely to care about are your own and English. You can specify the locale to filter by in the URL when going to the revision dashboard by adding "locale=<localename>" to the query string. For example: /wiki/en-US/wiki/dashboards/revisions?locale=en-US filters to show only changes to English documents.
User
Interested in what a specific user has been up to? You can look at the revisions submitted by a single user by entering it in this field. You can specify a user in the URL when going to the revision dashboard by adding "user=<username>" to the query string. For example, you can see changes by the user Sheppy with /wiki/en-US/wiki/dashboards/revisions?user=Sheppy. This box will offer suggestions as you type, to help you find exactly the person you're looking for.
Topic
If you'd like to see changes only about a given topic area, you can specify a topic string. This will be matched against the URLs of articles that have been changed and show only those whose titles include this string. You can specify the parameter "topic=<topic>" in the URL's query string to filter on this, as well. For example, if you'd like to see only JavaScript-related changes: /wiki/en-US/wiki/dashboards/revisions?topic=JavaScript.
Start Date and End Date
You can specify that you want to see only revisions in a certain range of dates, or with a certain starting or ending date. The dashboard UI provides date selection widgets for these fields. You can specify these parameters in the URL's query string, but you must use your system locale's version of the date string. For example: /wiki/en-US/wiki/dashboards/revisions?start_date=09%2F01%2F2015 for revisions starting with September 2, 2015 in the en-US locale.
Preceding Period
Rather than typing or selecting start or end dates, you can specify that you want to see revisions from a selected period prior to the present time, such as the last hour, day, week, or 30 days.

It's also worth noting that you can use these filters together, either in the user interface or in the URL's query string, so you can do fairly intricate searches. For example, to find only changes made to English articles about JavaScript that were made by the user evilpie, you can use /wiki/en-US/wiki/dashboards/revisions?locale=en-US&user=evilpie&topic=JavaScript.

The revision diff

You can view a "diff" view that shows the difference between a given revision and the previous version of the page. To see the diff for a revision, click anywhere in the row that is not a link (that is, the timestamp, the article title, or the author's username). The row expands to show the revision diff and revision controls within the row.

Annotated screenshot of revision dashboard view

The revision controls allow the following operations on the article:

  • Revert: reverts the article to the revision preceding the one displayed.
  • View page: displays the current state of the page.
  • Edit page: opens the page in edit mode.
  • History: opens the History view of the page.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:77 次

字数:9621

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文