#pragma section-numbers 2 = Wiki Cleanup = This describes plans for improving the Mercurial wiki. <> == Goal == The wiki aims to be a moderately coherent body of useful documentation to supplement the following resources: * Mercurial's [[http://selenic.com/hg/help|built-in documentation]] and [[http://mercurial.selenic.com/wiki/ManPages|man pages]] * The [[MercurialBook|Mercurial book]] * Mercurial's [[MailingLists|mailing lists]] As such, it makes sense to have things like the following: * in-depth information and [[http://mercurial.selenic.com/wiki/CategoryHowTo|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 * advertising == 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]]. == Tasks == === 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). === 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: <> === Update pages and page names to match wiki style === Consult RecentChanges and PageHits for popular pages to normalize. See the [[WikiStyleGuide|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. === 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: {{{ <> }}} === Remove discussion === Some pages have discussion questions that belong elsewhere. Either move these to a '/Talk' subpage or delete them. === Fix orphaned and abandoned pages === Visit OrphanedPages and AbandonedPages to find pages that need attention and add appropriate [[CategoryCategory|categories]] and links from other pages. === 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. === 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 [[Topic:revsets|revsets]] topic), use a link like the following: {{{ [[Topic:revsets|revsets]] }}} For the [[Cmd:branch|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. === 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. === Fix broken links === Visit WantedPages and point broken links to appropriate pages or remove them as appropriate. === Expand stubs and create needed pages === Visit CategoryStub and WantedPages and expand wiki content. ---- CategoryWiki