Wiki Cleanup

This describes plans for improving the Mercurial wiki.

1. Goal

The wiki aims to be a moderately coherent body of useful documentation to supplement the following resources:

As such, it makes sense to have things like the following:

Things that probably don't make sense for the wiki include:

2. Improvement plan

As of October 2010, much of the wiki suffers from:

This page describes a collection of janitorial tasks for incrementally improving this situation over time. Regular wiki users and editors should consider some of these tasks as they visit the wiki.

At some point, as the style and structure plans for the wiki become more firm, we may add all pages to CategoryAudit so that we can mark and sweep everything into the desired structure.

If you have questions or suggestions, please ask on IRC.

3. Tasks

3.1. Spam removal

Watch the RecentChanges page for the introduction of spam pages and other vandalism. Revert vandalized pages and delete newly-created spam pages and add offending users to BannedGroup (or ask an admin).

3.2. Mark pages that need style updates

We use include pages to mark pages that need particular types of improvement. Add the following to the top of pages that don't match the formatting guidelines:


to introduce a style warning and allow such pages to be indexed on CategoryAudit.

The following audit markers currently exist:

3.3. Update pages and page names to match wiki style

Consult RecentChanges and PageHits for popular pages to normalize.

See the wiki style guide for guidelines on page style and edit pages appropriately. Add appropriate markers to pages so they'll automatically appear in CategoryAudit.

Add redirects to renamed pages to avoid breaking existing links.

3.4. Relegate old design discussion

Pages for feature plans that are no longer relevant (either because they've been implemented or abandoned) should be marked as historic and removed from categories such as CategoryNewFeatures:


3.5. Remove discussion

Some pages have discussion questions that belong elsewhere. Either move these to a '/Talk' subpage or delete them.

3.6. Fix orphaned and abandoned pages

Visit OrphanedPages and AbandonedPages to find pages that need attention and add appropriate categories and links from other pages.

3.7. Mark pages needing merging

There are a number of pages that contain very similar content on the wiki. Also, there are pages (such as command stubs) that ought to be deleted, but contain information that would be appropriate elsewhere on the wiki.

Use the search tool to find related pages and add a marker like the following:


If you undertake the consolidating of page contents, remember to redirect the old pages to the new one.

There are a lot of topics on the wiki that are now covered in help, manpages, and the book. Add links to such content where appropriate. To link to built-in help topics (for instance the revsets topic), use a link like the following:


For the hg branch command, use a link like this:

[[Cmd:branch|hg branch]]

The InterWikiMap page has a list of link shortcuts for things like commands, topics, issues, and so on. You can use these instead of entering the full URL for a resource.

For pages whose contents are completely covered by these resources, see the section below on page deletion.

3.9. Page deletion

Mark pages that don't seem appropriate for the wiki (irrelevant stubs, random commentary, etc.) for deletion by include a marker like the above the title:


Use the 'Local Site Map' action to find pages that link to a page and remove those links.

Visit WantedPages and point broken links to appropriate pages or remove them as appropriate.

3.11. Expand stubs and create needed pages

Visit CategoryStub and WantedPages and expand wiki content.


WikiCleanup (last edited 2013-09-01 01:19:02 by KevinBot)