BetterWikiDocs

Differences between revisions 47 and 50 (spanning 3 versions)
Revision 47 as of 2006-02-22 10:57:01
Size: 7762
Editor: mailgate
Comment: couple of trivial changes
Revision 50 as of 2006-02-22 12:39:12
Size: 7236
Editor: 219-89-129-211
Comment: tweaks
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * '''Launchpad Entry''': [https://launchpad.net/distros/ubuntu/+spec/better-wiki-docs]
 * '''Created''': [[Date(2005-10-06T21:07:03Z)]] by JaneWeideman
 * '''Contributors''': MatthewEast, HenrikOmma, CoreyBurger
 * '''
Packages affected''': None (website)
 * '''Launchpad entry:''' [https://launchpad.net/distros/ubuntu/+spec/better-wiki-docs]
 * '''Created:''' [[Date(2005-10-06T21:07:03Z)]] by JaneWeideman
 * '''Contributors:''' MatthewEast, HenrikOmma, CoreyBurger, MatthewPaulThomas
Line 10: Line 9:
The documentation on the wiki suffers from a number of problems which are broadly caused by the fact that the current wiki serves many purposes at the same time. This spec aims to move the documentation to a separate wiki. Ubuntu's online help and support documentation suffers from being on the same Ubuntu wiki used for several other purposes. This can be fixed by moving it to a separate wiki, with policies tailored to the writing of useful and reliable help.
Line 14: Line 13:
We merged the UDU wiki into the main Ubuntu wiki in August and the Edubuntu wiki followed in October (see ["wiki/MergerPlan"]. This followed a general policy of not fragmenting wiki's if at all possible. There are some benefits to having all content gathered in one place, but, in the case of documentation, some drawbacks have become apparent. [:FrontPage:The main Ubuntu wiki] incorporated the UbuntuDownUnder wiki in August 2005, and the Edubuntu wiki in October 2005 (see ["wiki/MergerPlan"]), so as to avoid fragmentation and duplication. But for help and support pages, being on this wiki causes several problems.
Line 16: Line 15:
The following problems arise with regard to the documentation currently on the wiki:  * '''Help is not in one place.''' Currently [:UserDocumentation:the help on the Ubuntu wiki] (`wiki.ubuntu.com`), and [http://help.ubuntu.com/ the help shipped with Ubuntu] (also available at `help.ubuntu.com`), are two separate sets of documents. So those people who instinctively look to the Internet to answer their problems and end up on `wiki.ubuntu.com` are unlikely to guess that there is also help available at `help.ubuntu.com`, and vice versa. (Even if they were aware, it is bad to make them hop from site to site when that can be avoided.) Conversely, contributors to the wiki may unwittingly duplicate work that has already been done for the "official" help documents, and vice versa.
Line 18: Line 17:
 * '''Documentation is not in one place''' - Currently there are [http://www.ubuntu.com/support/documentation two major documentation resources]. The first is the [http://help.ubuntu.com documentation released with the distribution], developed by the Documentation Team. The second is [:UserDocumentation:community contributed documentation] on the Ubuntu wiki. The fact that these two high-quality and comprehensive resources are in different places leads to two major problems:
  1. ''Fragmentation'' - the profile of documentation in general is diluted, as well as causing the user some confusion about where to look for documentation.
  1. ''Unreasonable distinction between Official and Non-Official docs'' - Currently there is a distinction between "Official" docs (help.ubuntu.com) and "Unofficial" docs (wiki.ubuntu.com). Such a distinction is illusory and misleading: the reality is that there are some extremely reliable documents, and documents with a lesser degree of reliablility. There is no line between the two, it's a question of degree, but even if there were, the correct line wouldn't be between Wiki docs and Help docs - there are some extremely valuable and reliable documents on the wiki.
  1. ''Lack of searchability'' - it is not possible for a user to do a single search through both sets of documentation.
 * '''And about that "official" thing...''' Much of the "unofficial" help written on the wiki is contributed by volunteers just as knowledgable as those writing the the official docs on `help.ubuntu.com`. The wiki has a lot of reliable help, along with some less reliable, so `help.ubuntu.com` is sacrificing a lot of comprehensiveness in return for not much extra trustworthiness.
Line 23: Line 19:
 * '''Muddled searches''' - The Ubuntu wiki contains pages concerning development (300 developer specification pages), personal pages, general brainstorming, and just about everything and anything related to Ubuntu. There are [:SystemInfo:5631 pages] on the wiki, approximately [:CategoryDocumentation:600 pages] of which are Documentation. This causes extreme problems for users searching for solutions to their problems because a single search will turn up immense numbers of irrelevant information. For example, a single search for "Bluetooth", turns up [:https://wiki.ubuntu.com/?action=fullsearch&context=180&value=Bluetooth&fullsearch=Text:374 results].  * '''Lack of visibility.''' As the Ubuntu wiki's FrontPage shows vividly, help documents are sharing the same wiki as documents about development, marketing, bureaucracy, artwork, individual contributors, and general brainstorming -- all this on a page apparently named after [http://office.microsoft.com/frontpage/ a Microsoft application]. It is unnecessarily difficult to find help.
Line 25: Line 21:
The above points mean that the wiki is currently not a good resource for documentation.  * '''Lack of searchability.''' Because some help documents are shipped with Ubuntu and others are found only on the wiki, they cannot be searched all at once. And because the wiki contains [:SystemInfo:5631 pages], only [:CategoryDocumentation:600] or so of which are help, even searching just the wiki produces many irrelevant results. For example, searching for "Bluetooth" returns [https://wiki.ubuntu.com/?action=fullsearch&context=180&value=Bluetooth&fullsearch=Text 374 results].
Line 29: Line 25:
This spec aims at: All help documents currently on the `wiki.ubuntu.com` should be moved to a single site, `help.ubuntu.com`. This will make the help easier to advertise, easier to find, easier to search and browse, and easier to contribute to.
Line 31: Line 27:
 * Locating both the community documentation on a single website (at help.ubuntu.com) and thus improving the profile of documentation within the Ubuntu community, with the following benefits:
  1. Documentation can be better advertised as existing on one website
  1. Users can find the documentation more easily
  1. More community members are attracted to contribute
 * Ensuring that the single documentation resource contains ONLY documentation and is therefore thoroughly usable and searchable for the user.
A trusted wiki team should have the ability to rename and delete pages, and to edit certain core pages (such as the front page, and the main page for an Ubuntu release.) People not in the wiki team can still edit other pages, and create new pages of their own.
Line 37: Line 29:
For the sake of clarity, the plan involves moving '''all''' documentation to one place, leaving the Ubuntu wiki as a developer and community discussion resource. Redirects should be set up for existing URLs on `wiki.ubuntu.com` to the new URLs on `help.ubuntu.com`.
Line 43: Line 35:
=== Setup New Wiki === === Set up the new wiki ===
Line 45: Line 37:
Setup a Moin wiki for use as help.ubuntu.com. The server used for the help website (http://help.ubuntu.com) is not powerful enough to handle particularly well all the requests which it receives, and this will become much more problematic once the wiki documentation is hosted at that address too. For this reason, we almost certainly need a Moin wiki on the Canonical/Ubuntu server farm. Set up a Moin wiki for use as `help.ubuntu.com`. The server currently at that address is not powerful enough to handle particularly well all the requests which it receives, and this will become much worse once the wiki documentation is hosted at that address too. For this reason, we almost certainly need a Moin wiki on the Canonical/Ubuntu server farm.
Line 48: Line 40:
  * Access controls - normal users will not be able to delete/move pages. A wiki editor group will have control over certain core pages, such as the index and distro documentation. See wiki:MoinMaster/HelpOnAccessControlLists   * access controls, with normal users not being able to delete/move pages (''see'' wiki:MoinMaster/HelpOnAccessControlLists)
Line 50: Line 42:
  * Customised theme and possibly additional Macros/parsers (wiki:MoinMaster/HelpOnParsers) for adding html documentation   * customised theme, and possibly additional Macros/parsers (wiki:MoinMaster/HelpOnParsers) for adding html documentation.

Summary

Ubuntu's online help and support documentation suffers from being on the same Ubuntu wiki used for several other purposes. This can be fixed by moving it to a separate wiki, with policies tailored to the writing of useful and reliable help.

Rationale

[:FrontPage:The main Ubuntu wiki] incorporated the UbuntuDownUnder wiki in August 2005, and the Edubuntu wiki in October 2005 (see ["wiki/MergerPlan"]), so as to avoid fragmentation and duplication. But for help and support pages, being on this wiki causes several problems.

  • Help is not in one place. Currently [:UserDocumentation:the help on the Ubuntu wiki] (wiki.ubuntu.com), and [http://help.ubuntu.com/ the help shipped with Ubuntu] (also available at help.ubuntu.com), are two separate sets of documents. So those people who instinctively look to the Internet to answer their problems and end up on wiki.ubuntu.com are unlikely to guess that there is also help available at help.ubuntu.com, and vice versa. (Even if they were aware, it is bad to make them hop from site to site when that can be avoided.) Conversely, contributors to the wiki may unwittingly duplicate work that has already been done for the "official" help documents, and vice versa.

  • And about that "official" thing... Much of the "unofficial" help written on the wiki is contributed by volunteers just as knowledgable as those writing the the official docs on help.ubuntu.com. The wiki has a lot of reliable help, along with some less reliable, so help.ubuntu.com is sacrificing a lot of comprehensiveness in return for not much extra trustworthiness.

  • Lack of visibility. As the Ubuntu wiki's FrontPage shows vividly, help documents are sharing the same wiki as documents about development, marketing, bureaucracy, artwork, individual contributors, and general brainstorming -- all this on a page apparently named after [http://office.microsoft.com/frontpage/ a Microsoft application]. It is unnecessarily difficult to find help.

  • Lack of searchability. Because some help documents are shipped with Ubuntu and others are found only on the wiki, they cannot be searched all at once. And because the wiki contains [:SystemInfo:5631 pages], only [:CategoryDocumentation:600] or so of which are help, even searching just the wiki produces many irrelevant results. For example, searching for "Bluetooth" returns [https://wiki.ubuntu.com/?action=fullsearch&context=180&value=Bluetooth&fullsearch=Text 374 results].

Design

All help documents currently on the wiki.ubuntu.com should be moved to a single site, help.ubuntu.com. This will make the help easier to advertise, easier to find, easier to search and browse, and easier to contribute to.

A trusted wiki team should have the ability to rename and delete pages, and to edit certain core pages (such as the front page, and the main page for an Ubuntu release.) People not in the wiki team can still edit other pages, and create new pages of their own.

Redirects should be set up for existing URLs on wiki.ubuntu.com to the new URLs on help.ubuntu.com.

Implementation

There are three steps. A desirable preliminary step would be to implement the WikiLicensing spec.

Set up the new wiki

Set up a Moin wiki for use as help.ubuntu.com. The server currently at that address is not powerful enough to handle particularly well all the requests which it receives, and this will become much worse once the wiki documentation is hosted at that address too. For this reason, we almost certainly need a Moin wiki on the Canonical/Ubuntu server farm.

Configure this server to include the following features:

This is all really easy.

Migration of pages

This involves two stages:

  1. Moving the pages
    • We'd probably need a script which does something like this (this would probably require some developer time):
      • Searches for pages which contain the phrase "CategoryDocumentation. Specifically, the script should search data/pages/PageName/revisions/latestrevision for that string, for all values of "PageName".

      • For each page as identified above, copies the relevant folder to the new wiki.
  2. Replace old pages with redirect solution. It is imperative to keep the old urls for important pages valid. There are two reasonable options. The script would also need to implement this for all the pages which have been moved.

Script Algorithm

  1. Get list of all pages in the wiki
  2. For each page: grep for the string 'CategoryDocumentation'

  3. IF Doc then copy the whole page directory to the new location
  4. IF Flag liveRun = 1 THEN edit the page to redirect to info page

The script can be based on existing moin maintenance sprips, such as the globaledit.py script

Get page names:

  •    1 if __name__ == '__main__':
       2 
       3   from MoinMoin import PageEditor, wikiutil
       4   from MoinMoin.request import RequestCLI
       5   import re
       6 
       7   request = RequestCLI(url=url)
       8   # Get all existing pages in the wiki
       9   pagelist = request.rootpage.getPageList(user='')
    

Get page content and find 'CategoryDocumentation':

  •    1   for pagename in pagelist:
       2     request = RequestCLI(url=url, pagename=pagename.encode('utf-8'))
       3     p = PageEditor.PageEditor(request, pagename, do_editor_backup=0)
       4     origtext = p.get_raw_body()
       5     if re.search("CategoryDocumentation",origtext):
    

Copy the complete page:

  •    1       CALL SOME SHELL COMMANDS HERE
    

Update page to redirect:

  •    1       if liveRun and changedtext and changedtext != origtext:
       2         print "Writing %s ..." % repr(pagename)
       3         p._write_file(changedtext)
    

(does this increment the page version or just over-write it?)

Hosting of html documentation on the new wiki

Integration of the distro documentation (currently hosted as html on [http://help.ubuntu.com/ help.ubuntu.com] with the Moin wiki. The distro docs are written in docbook xml and built as html. The best way of inserting them directly into the Moin wiki is via the html parser, testing is underway on the [http://help.ubuntu.com/wiki/FaqGuide help.ubuntu.com test wiki].


CategorySpec

BetterWikiDocs (last edited 2008-08-06 16:38:32 by localhost)