XTools/zh

XTools is a suite of statistics tools for Wikimedia wikis, users, pages, and more.

User documentation

 * 编辑计数器 (link) – 用户贡献分析
 * 页面历史 (link) – 获取页面的各种历史统计数据
 *  Authorship  (link) – Authorship attribution, measured by character count, excluding spaces
 * 历史文字搜索 (link) – 搜索新增文本是在哪个历史版本中添加的
 *  Global Contributions  (link) – Get edits made by a user across all projects
 * 页面创建 (link) – 获取用户曾创建的页面
 * 热门编辑 (link) – 显示用户各名字空间下编辑最多的页面，以及用户在指定页面的编辑历史
 * 自动化编辑 (link) – 使用已知工具的做出的自动化编辑
 *  Category Edits  (link) – Analysis of contributions made to specific categories
 * 管理统计 (link) – 显示管理操作统计信息
 *  Steward Stats  (link) – Show statistics of steward actions
 *  Patroller Stats  (link) – Show statistics of patroller actions
 *  Admin Score  (link) – Score indicating a user's readiness for adminship
 *  Edit Summaries  (link) – Analysis of edit summary usage
 *  Simple Counter  (link) – A quick and simple edit counter

ArticleInfo gadget

 *  Source: XTools/ArticleInfo.js, adapted from meta:User:Hedonil/XTools 

An on-wiki gadget is available that will quickly show you statistics about a page in real-time. It works on all skins, wikis, and will be localized to the wiki's language. These statistics are shown just below the page header. Example:

The available statistics, from left to right:


 * Quality assessment icon, if possible. Only available in specific projects.
 * Number of revisions.
 * Date the page was created, linking to the initial revision.
 * Time since the last edit, linking to the diff.
 * Number of editors to the page.
 * Number of page watchers. If this is not shown, there are less than 30 watchers.
 * Number of pageviews in the past 30 days, linking to Pageviews Analysis.
 * Editor who created the page, and their edit count (linking to their contributions).
 * Link to view full page statistics in XTools.

Installation
On some wikis this tool may be available in your gadget preferences.

If it is not, you can install the gadget globally by browsing to meta:Special:MyPage/global.js and adding the following code to the end, on a new line:

Alternatively, you can install the script on a single wiki by browsing to Special:MyPage/common.js (on the desired wiki) and pasting in the same code above.