Release status: stable
|Implementation||Special page, User interface|
|Description||Facilitates reviewing and approving new pages|
|Author(s)||Ryan Kaldari, Benny Situ|
|MediaWiki||1.22+ . PageTriage master should only be used with core's master; otherwise, use matching branches (e.g. PageTriage REL1_26 with core REL1_26, or matching WMF release branches).|
Translate the PageTriage extension if it is available at translatewiki.net
|Check usage and version matrix.|
|Open tasks · Report a bug|
PageTriage is an extension that aims to provide a feature-rich interface for triaging newly-created articles. It is intended to replace the new page patrol core function while adding additional functionality for reviewing, tagging, and improving new articles. It adds a Special:NewPagesFeed page, and a page curation toolbar to new pages for those with the 'patrol' permission. It was developed by the Wikimedia Foundation's Features Engineering team. For additional details see Page Curation.
An important note is that some of the configuration and code is specific to the English-language Wikipedia's workflows and as it's constructed now the extension is pretty much impossible to internationalize. (See bugzilla:48552.)
The extension can be retrieved directly from Git [?]:
- Browse code
- Some extensions have tags for stable releases.
- Browse tags
- Select the tag
- Click "snapshot"
- Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).
- Browse branches
- Select a branch name
- Click "Continue"
Extract the snapshot and place it in the extensions/PageTriage/ directory of your MediaWiki installation.
If you are familiar with git and have shell access to your server, you can also obtain the extension as follows:
cd extensions/ git clone
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Run the update script which will automatically create the necessary database tables that this extension needs.
- Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To actually see the extension working:
- Add a new stub page as an anonymous user.
- Visit Special:NewPagesFeed
the new page should appear, flagged as "No categories", "Orphan", etc. To see the page curation toolbar:
- Login as a user with the 'sysop' permission, or add a group with the "patrol" permission, and add some user to that group, and login as that user.
- Visit Special:NewPagesFeed
- Now you should see a "Review" button next to the new page.
- Click this and you should see the page curation toolbar on the new page.
The extension is based on the 'patrol' right. For more information about configuring patrolling, see Manual:Patrolling.
The following configuration variables can be set from your LocalSettings.php file:
- $wgPageTriagePagesPerRequest: Maximum number of articles for Special:NewPagesFeed to retrieve at once (default is 20)
- $wgPageTriageInfiniteScrolling: Whether or not to use infinite scrolling in the page list (default is true)
- $wgPageTriageMarkPatrolledLinkExpiry: How long (in seconds) after visiting Special:NewPagesFeed do we show the curation toolbar on articles? (default is 86400 (1 day))
- $wgPageTriageNoIndexUnreviewedNewArticles: Set this to true if new, unreviewed articles should be set to noindex. In other words, if they should not be indexed by search engines until they are reviewed. (default is false)
See PageTriage.php for the full list of config variables.
It is possible to configure much of PageTriage on-wiki via the pages MediaWiki:PageTriageExternalDeletionTagsOptions.js and MediaWiki:PageTriageExternalTagsOptions.js, although documentation for such configuration has not been written and the structure of the configuration for deletion tagging may change in the future (to better accommodate wikis besides English Wikipedia).
You can get a general idea of how the configuration works by looking at ext.pageTriage.defaultTagsOptions.js and ext.pageTriage.defaultDeletionTagsOptions.js in the PageTriage extension. See English Wikipedia's MediaWiki:PageTriageExternalDeletionTagsOptions.js and MediaWiki:PageTriageExternalTagsOptions.js for examples.
PageTriage adds 5 API endpoints which can be used:
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|