This describes plans for improving the Mercurial wiki.
- Improvement plan
- Spam removal
- Mark pages that need style updates
- Update pages and page names to match wiki style
- Relegate old design discussion
- Remove discussion
- Fix orphaned and abandoned pages
- Mark pages needing merging
- Link to built-in help and book topics
- Page deletion
- Fix broken links
- Expand stubs and create needed pages
The wiki aims to be a moderately coherent body of useful documentation to supplement the following resources:
Mercurial's built-in documentation and man pages
The Mercurial book
Mercurial's mailing lists
As such, it makes sense to have things like the following:
in-depth information and How-tos that are beyond the scope of the book
- information about extensions and third-party tools
- links to other resources
- FAQs, tips, quick-starts, and other useful recipes
- best practices
- migration and conversion assistance
- documentation of internals
- development plans and other information for contributors
Things that probably don't make sense for the wiki include:
- duplication of book and help content
- discussion - use the mailing lists
- non-best practices
2. Improvement plan
As of October 2010, much of the wiki suffers from:
- inconsistent formatting and style
- poor linking and organization
- excessive duplication
- pages that duplicate help or book content
- lots of stub pages
- random commentary and non-canonical advice
- irrelevant pages courtesy of Moin distribution
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.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.
3.8. Link to built-in help and book topics
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:
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.
3.10. Fix broken 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.