XTools/diq

This page is a translated version of the page XTools and the translation is 2% complete.
Manual on MediaWiki Tools
OOjs UI icon advanced-invert.svg
XTools
Release status: stable
XTools logo.svg
Implementation API , Database
Author(s) MusikAnimal, Matthewrbowker, Samwilson
Latest version 3.14.1 (2021-10-08)
PHP 7.2
License GPL-3.0+
Download
Release notes
Example https://xtools.wmflabs.org
Issues : Open tasks · Report a bug
Coolest Tool Award 2020 square logo.svg

XTools

2020 Coolest Tool
Award Winner

in the category
Eggbeater


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

User documentation

ArticleInfo gadget

help translate

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

The XTools ArticleInfo gadget can 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 XTools ArticleInfo gadget, as seen when viewing the English Wikipedia article on Jimmy Wales.

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:

mw.loader.load('https://www.mediawiki.org/w/index.php?title=XTools/ArticleInfo.js&action=raw&ctype=text/javascript');

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.

API documentation

See XTools/API

Developer documentation

See XTools/Development

Contact