Differences between revisions 98 and 99
Revision 98 as of 2009-03-05 07:04:22
Size: 25094
Editor: FranklinPiat
Comment:
Revision 99 as of 2009-03-16 03:36:04
Size: 25159
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
||<tablestyle="width: 100%; border: 0px hidden">~-Translation(s): [:fr/DebianWiki/EditorGuide:Français]-~||<style="text-align: right; border: 0px hidden"> (!) [:DebianWiki/ConventionsDiscussion:Discussion]|| ||<tablestyle="width: 100%; border: 0px hidden">~-Translation(s): [[fr/DebianWiki/EditorGuide|Français]]-~||<style="text-align: right; border: 0px hidden"> (!) [[DebianWiki/ConventionsDiscussion|Discussion]]||
Line 16: Line 16:
'''There's a [:DebianWiki/EditorQuickStart:QuickStart] for new editors.'''

For generic help on formatting under moinmoin wiki, read moinmoin's ["HelpContents"] pages (in the sidebar). ["SyntaxReference"] is handy. You can experiment in ["WikiSandBox"].

If you disagree with any statement below, comment it out, then start a new discussion thread in the [:DebianWiki/ConventionsDiscussion:discussion] page.

 [[TableOfContents(2)]]

[[
Anchor(account)]]
'''There's a [[DebianWiki/EditorQuickStart|QuickStart]] for new editors.'''

For generic help on formatting under moinmoin wiki, read moinmoin's [[HelpContents]] pages (in the sidebar). [[SyntaxReference]] is handy. You can experiment in [[WikiSandBox]].

If you disagree with any statement below, comment it out, then start a new discussion thread in the [[DebianWiki/ConventionsDiscussion|discussion]] page.

 <<TableOfContents(2)>>

<<
Anchor(account)>>
Line 27: Line 27:
 * Adjust the timezone in your ["UserPreferences"] page.  * Adjust the timezone in your [[UserPreferences]] page.
Line 37: Line 37:
 * Non-DDs can link to [http://bugs.debian.org/from:foo@bar.com].  * Non-DDs can link to [[http://bugs.debian.org/from:foo@bar.com]].
Line 48: Line 48:
[[Anchor(lost-password)]] <<Anchor(lost-password)>>
Line 50: Line 50:
If you lose your wiki.debian.org password, go to the page ["UserPreferences"], then follow the instructions there (type your email address, then click on "Mail me my account data").

[[Anchor(writing-style)]]
If you lose your wiki.debian.org password, go to the page [[UserPreferences]], then follow the instructions there (type your email address, then click on "Mail me my account data").

<<Anchor(writing-style)>>
Line 72: Line 72:
[[Anchor(links)]] <<Anchor(links)>>
Line 74: Line 74:
Don't overuse linking. If there are too many, the reader won't know which links are useful. You can move some of the links to a [#footer "See also"] section at the bottom of your page (but again, not too many).

Where links point to a page in another language, append "(in $language)", thus: [:fr/QuelqueChose:SomethingInFrench] (in French)

See also moinmoin's ["HelpOnLinking"]

[[
Anchor(internal-links)]]
Don't overuse linking. If there are too many, the reader won't know which links are useful. You can move some of the links to a [[#footer|"See also"]] section at the bottom of your page (but again, not too many).

Where links point to a page in another language, append "(in $language)", thus: [[fr/QuelqueChose|SomethingInFrench]] (in French)

See also moinmoin's [[HelpOnLinking]]

<<
Anchor(internal-links)>>
Line 90: Line 90:
To link within a page, you should define the target anchor using {{{[[Anchor(bar)]]}}} (see ["HelpOnMacros"]), then use {{{[#bar Bar Chapter]}}} or {{{[:Foo#bar:Bar Chapter]}}} (where ''Bar Chapter'' is the actual paragraph title).

[[Anchor(links-to-www)]]
To link within a page, you should define the target anchor using {{{[[Anchor(bar)]]}}} (see [[HelpOnMacros]]), then use {{{[#bar Bar Chapter]}}} or {{{[:Foo#bar:Bar Chapter]}}} (where ''Bar Chapter'' is the actual paragraph title).

<<Anchor(links-to-www)>>
Line 96: Line 96:
 * [http://www.debian.org/doc/] - Debian Official documentation repository.

(Avoid the notation {{{ [http://www.foo.com link label] }}}, which hides the target URL, unless the context makes it clear, as in "John Doe provides a script named [http://www.johndoe.org/test.sh test.sh].")
 * [[http://www.debian.org/doc/]] - Debian Official documentation repository.

(Avoid the notation {{{ [http://www.foo.com link label] }}}, which hides the target URL, unless the context makes it clear, as in "John Doe provides a script named [[http://www.johndoe.org/test.sh|test.sh]].")
Line 104: Line 104:
Use ["InterWiki"] format to link to Debian packages, bugs, RFCs and Wikipedia articles.


[[Anchor(links-from-www)]]
Use [[InterWiki]] format to link to Debian packages, bugs, RFCs and Wikipedia articles.


<<Anchor(links-from-www)>>
Line 112: Line 112:
[[Anchor(formatting)]] <<Anchor(formatting)>>
Line 115: Line 115:
[[Anchor(article-header)]] <<Anchor(article-header)>>
Line 124: Line 124:
[[Anchor(disambiguation)]] <<Anchor(disambiguation)>>
Line 127: Line 127:
||<tablestyle="width:65%;margin-left:35%;padding-left:30pt" style="border:1pt solid #b48;border-left:5pt solid #d4a">'''Disambiguation :''' This page is about ''Debian Conferences''.[[BR]] For ''Debian configuration management system'', see ["debconf"].|| ||<tablestyle="width:65%;margin-left:35%;padding-left:30pt" style="border:1pt solid #b48;border-left:5pt solid #d4a">'''Disambiguation :''' This page is about ''Debian Conferences''.<<BR>> For ''Debian configuration management system'', see [[debconf]].||
Line 133: Line 133:
[[Anchor(official)]] <<Anchor(official)>>
Line 138: Line 138:
||<tablestyle="width:100%;" style="width:32px;border-color:#ff9ec2" >inline:Portal/IDB/official-doc.png||<style="border-color:#ff9ec2;background-color:#ffe4f1" >http://www.debian.org/somewhere - Sample topic|| ||<tablestyle="width:100%;" style="width:32px;border-color:#ff9ec2" >{{attachment:Portal/IDB/official-doc.png}}||<style="border-color:#ff9ec2;background-color:#ffe4f1" >http://www.debian.org/somewhere - Sample topic||
Line 162: Line 162:
[[Anchor(footer)]] <<Anchor(footer)>>
Line 167: Line 167:
 * [#categories Categories] to mark connections with other pages
 * [#attachments-credits Credits] for attachements
 * [#tags Work Needed tags]
 * [[#categories|Categories]] to mark connections with other pages
 * [[#attachments-credits|Credits]] for attachements
 * [[#tags|Work Needed tags]]
Line 177: Line 177:
 * See the {{{[[Include()]]}}} macro in ["HelpOnMacros"]
A sample is available at ["InstallingDebianOn"] and ["InstallingDebianOn/PageFragments/Philosophy"]. Also note how the page is included inside a table (but don't use this hack to bypass moinmoin formatting limitations: see [#complex-formatting Complex Formatting]).


[[Anchor(complex-formatting)]]
 * See the {{{[[Include()]]}}} macro in [[HelpOnMacros]]
A sample is available at [[InstallingDebianOn]] and [[InstallingDebianOn/PageFragments/Philosophy]]. Also note how the page is included inside a table (but don't use this hack to bypass moinmoin formatting limitations: see [[#complex-formatting|Complex Formatting]]).


<<Anchor(complex-formatting)>>
Line 190: Line 190:
[[Anchor(images)]] <<Anchor(images)>>
Line 193: Line 193:
See also: moinmoin's ["HelpOnLinking"].

[[Anchor(attachments-credits)]]
See also: moinmoin's [[HelpOnLinking]].

<<Anchor(attachments-credits)>>
Line 204: Line 204:
[[Anchor(attachments-location)]] <<Anchor(attachments-location)>>
Line 211: Line 211:
[[Anchor(screenshots)]] <<Anchor(screenshots)>>
Line 213: Line 213:
If you want to include a [:ScreenShots:screenshot], you might want to store it on [http://screenshots.debian.net/], then use : If you want to include a [[ScreenShots|screenshot]], you might want to store it on [[http://screenshots.debian.net/]], then use :
Line 219: Line 219:
 [[ImageLink(http://screenshots.debian.net/thumbnail/amide,http://screenshots.debian.net/screenshot/amide,width=160,,alt=Screenshot)]]  [[http://screenshots.debian.net/screenshot/amide|{{http://screenshots.debian.net/thumbnail/amide|Screenshot|width=160}}]]
Line 222: Line 222:
||<tablestyle="float:right; width:100px; background:transparent; margin: 0 0 1em 1em;" style="padding:0.5em; border-style:none;"> [http://www.debian.org/logos/openlogo-nd-75.jpg] || ||<tablestyle="float:right; width:100px; background:transparent; margin: 0 0 1em 1em;" style="padding:0.5em; border-style:none;"> [[http://www.debian.org/logos/openlogo-nd-75.jpg]] ||
Line 229: Line 229:
[[Anchor(tags)]] <<Anchor(tags)>>
Line 231: Line 231:
[[Include(WikiTag)]]

Note: do not use the [http://moinmo.in/HelpOnProcessingInstructions #deprecated] processing instruction, as it prevents further editing of the page (e.g. to fix broken links). If you need to mark a page as needing to be improved/removed, use an appropriate ["WikiTag"] instead.
<<Include(WikiTag)>>

Note: do not use the [[http://moinmo.in/HelpOnProcessingInstructions|#deprecated]] processing instruction, as it prevents further editing of the page (e.g. to fix broken links). If you need to mark a page as needing to be improved/removed, use an appropriate [[WikiTag]] instead.
Line 236: Line 236:
instead of putting a warning tag at the top of the page, insert it in the page's [#footer footer].

[[Anchor(pages)]]
instead of putting a warning tag at the top of the page, insert it in the page's [[#footer|footer]].

<<Anchor(pages)>>
Line 241: Line 241:
[[Anchor(pages-name)]] <<Anchor(pages-name)>>
Line 247: Line 247:
 * Slashes function to create (directory-style) groups of related subpages. If your page clearly belongs to a collection, you might consider creating it as a subpage - see for example the Moinmoin documentation [:HelpOnEditing/SubPages:SubPages].
 * For translated pages, see [#translation Translation section].
 * Slashes function to create (directory-style) groups of related subpages. If your page clearly belongs to a collection, you might consider creating it as a subpage - see for example the Moinmoin documentation [[HelpOnEditing/SubPages|SubPages]].
 * For translated pages, see [[#translation|Translation section]].
Line 254: Line 254:
[[Anchor(create)]] <<Anchor(create)>>
Line 258: Line 258:
 * Does it comply with the wiki.debian.org [:DebianWiki/Content:Content guidelines]?  * Does it comply with the wiki.debian.org [[DebianWiki/Content|Content guidelines]]?
Line 261: Line 261:
 * Choose a name for a page - see [#pages-name URL/page naming conventions].  * Choose a name for a page - see [[#pages-name|URL/page naming conventions]].
Line 265: Line 265:
 * If your page relates to a subject already covered by some official Debian documentation, link to it at the top (see [#official Debian official material])  * If your page relates to a subject already covered by some official Debian documentation, link to it at the top (see [[#official|Debian official material]])
Line 272: Line 272:
See also: moinmoin's ["HelpOnPageCreation"].

[[Anchor(rename)]]
See also: moinmoin's [[HelpOnPageCreation]].

<<Anchor(rename)>>
Line 276: Line 276:
''Cool URIs don't change'' ([http://www.w3.org/Provider/Style/URI w3]). Still, sometime it's a good idea to rename a page when its name don't accurately describe the page content. ''Cool URIs don't change'' ([[http://www.w3.org/Provider/Style/URI|w3]]). Still, sometime it's a good idea to rename a page when its name don't accurately describe the page content.
Line 279: Line 279:
 * Use Google (or equivalent) to check whether the page is linked from outside this wiki. Search {{{link:wiki.debian.org/FooBar}}}. If it is referenced, think twice before renaming the page. If you rename the page, consider creating a [#redirect-page redirect] page and contacting the owner of the referring page to get the links updated.  * Use Google (or equivalent) to check whether the page is linked from outside this wiki. Search {{{link:wiki.debian.org/FooBar}}}. If it is referenced, think twice before renaming the page. If you rename the page, consider creating a [[#redirect-page|redirect]] page and contacting the owner of the referring page to get the links updated.
Line 282: Line 282:
 * Choose a name for a page. see [#pages-name URL/page naming conventions].  * Choose a name for a page. see [[#pages-name|URL/page naming conventions]].
Line 288: Line 288:
[[Anchor(delete)]] <<Anchor(delete)>>
Line 290: Line 290:
Read the [#rename Renaming a page] hints, since they apply here too. Read the [[#rename|Renaming a page]] hints, since they apply here too.
Line 296: Line 296:
Don't be rude: do not copy-paste the content of an existing page into a new one, and delete the old page - this loses page history. Instead see [#merge-and-split Merging and splitting pages]. Don't be rude: do not copy-paste the content of an existing page into a new one, and delete the old page - this loses page history. Instead see [[#merge-and-split|Merging and splitting pages]].
Line 300: Line 300:
[[Anchor(merge-and-split)]] <<Anchor(merge-and-split)>>
Line 314: Line 314:
[[Anchor(redirect-page)]] <<Anchor(redirect-page)>>
Line 333: Line 333:
See also: moinmoin's ["HelpOnProcessingInstructions"].

[[Anchor(categories)]]
See also: moinmoin's [[HelpOnProcessingInstructions]].

<<Anchor(categories)>>
Line 337: Line 337:
moinmoin wiki's help: [:HelpOnCategories:using categories].

The list of categories used on this wiki: ["CategoryCategory"].

[[Anchor(portal)]]
moinmoin wiki's help: [[HelpOnCategories|using categories]].

The list of categories used on this wiki: [[CategoryCategory]].

<<Anchor(portal)>>
Line 344: Line 344:
Portals are hub pages containing links to articles. They complement the relational structure offered by CategoryCategory, and the [:FindPage:integrated search engine]. Portals are hub pages containing links to articles. They complement the relational structure offered by CategoryCategory, and the [[FindPage|integrated search engine]].
Line 348: Line 348:
'''Do not use Edit(GUI)''' since it will break some wiki contents ([http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409482 GUI editing to text breaks contents], and some wiki link formats).

[[Anchor(portal-howto)]]
'''Do not use Edit(GUI)''' since it will break some wiki contents ([[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409482|GUI editing to text breaks contents]], and some wiki link formats).

<<Anchor(portal-howto)>>
Line 353: Line 353:
To make your article into a portal page, add the tag !CategoryPortal to its [#footer footer] and find an appropriate portal to attach it to. To make your article into a portal page, add the tag !CategoryPortal to its [[#footer|footer]] and find an appropriate portal to attach it to.
Line 357: Line 357:
[[Anchor(portal-idb)]] <<Anchor(portal-idb)>>
Line 360: Line 360:
Commonly-used icons and portal logos can be centralized to ["Portal/IDB"]. This is useful for translated portals and for making artwork consistent.

[[Anchor(translation)]]
Commonly-used icons and portal logos can be centralized to [[Portal/IDB]]. This is useful for translated portals and for making artwork consistent.

<<Anchor(translation)>>
Line 365: Line 365:
[[Anchor(link-to-translations)]]
The top of each page shows links to the same page in other languages - see [#article-header Headers], and DefaultTemplate as an example.

[[Anchor(translation-page-name)]]
<<Anchor(link-to-translations)>>
The top of each page shows links to the same page in other languages - see [[#article-header|Headers]], and DefaultTemplate as an example.

<<Anchor(translation-page-name)>>
Line 372: Line 372:
 * Translated pages use the naming scheme "[http://www.debian.org/international/l10n/po/ languagecode]" + "/" + "!EnglishName" - for example:
  * Base version: ["Hardware"]
  * French translation: ["fr/Hardware"]
 * Translated pages use the naming scheme "[[http://www.debian.org/international/l10n/po/|languagecode]]" + "/" + "!EnglishName" - for example:
  * Base version: [[Hardware]]
  * French translation: [[fr/Hardware]]
Line 380: Line 380:
[[Anchor(translation-synchronize)]] <<Anchor(translation-synchronize)>>
Line 391: Line 391:
[[Anchor(translators)]] <<Anchor(translators)>>
Line 395: Line 395:
[[Anchor(helping)]] <<Anchor(helping)>>
Line 403: Line 403:
 * [#translation Translate] pages.
 * Search for [:BackLink:backlinks] to ["HelpWanted"], ["FixMe"] and ["ToDo"].
 * ["ReFactor"] anything you can.
 * Cleanup (see ["ThreadMode"])
 * [[#translation|Translate]] pages.
 * Search for [[BackLink|backlinks]] to [[HelpWanted]], [[FixMe]] and [[ToDo]].
 * [[ReFactor]] anything you can.
 * Cleanup (see [[ThreadMode]])
Line 410: Line 410:
Debian also needs non-IT skills (legal; marketing; organizing events; fund-raising; public relations; and much more). See also [http://www.debian.org/intro/help].

[[Anchor(promote)]]
Debian also needs non-IT skills (legal; marketing; organizing events; fund-raising; public relations; and much more). See also [[http://www.debian.org/intro/help]].

<<Anchor(promote)>>
Line 415: Line 415:
The best and easiest ways to promote this wiki are to use it yourself and to make it useful to others by contributing useful material (bear in mind the [:../Content:content guidelines]). The best and easiest ways to promote this wiki are to use it yourself and to make it useful to others by contributing useful material (bear in mind the [[../Content|content guidelines]]).
Line 421: Line 421:
[[Anchor(faq)]] <<Anchor(faq)>>
Line 423: Line 423:
 Q) Can I get a list of all the pages on this wiki? :: A) Yes, see ["TitleIndex"]  Q) Can I get a list of all the pages on this wiki? :: A) Yes, see [[TitleIndex]]
Line 430: Line 430:
 Q) Is there a way to show just the orphan articles? :: A) No (["OrphanedPages"] is broken; links in the form {{{[:PageName:Link Label]}}} aren't counted). But being an orphan is only a problem if there are pages that should link to it and don't (so fix those), or if the page fails to show up in searches (so make sure it includes the appropriate keywords).

[[Anchor(pages-changes)]]
 Q) Is there a way to show just the orphan articles? :: A) No ([[OrphanedPages]] is broken; links in the form {{{[:PageName:Link Label]}}} aren't counted). But being an orphan is only a problem if there are pages that should link to it and don't (so fix those), or if the page fails to show up in searches (so make sure it includes the appropriate keywords).

<<Anchor(pages-changes)>>
Line 434: Line 434:
[[Anchor(track-changes)]] <<Anchor(track-changes)>>
Line 442: Line 442:
[[Anchor(technical)]] <<Anchor(technical)>>
Line 444: Line 444:
This Wiki is running [http://moinmo.in/ moinmoin] software, version 1.5 (wiki [:SystemInfo:configuration information]). It currently runs on [http://db.debian.org/machines.cgi?host=ries ries]. This Wiki is running [[http://moinmo.in/|moinmoin]] software, version 1.5 (wiki [[SystemInfo|configuration information]]). It currently runs on [[http://db.debian.org/machines.cgi?host=ries|ries]].

Translation(s): Français

(!) Discussion


This page provides instructions for people wanting to edit the content of wiki.debian.org.

There's a QuickStart for new editors.

For generic help on formatting under moinmoin wiki, read moinmoin's HelpContents pages (in the sidebar). ?SyntaxReference is handy. You can experiment in WikiSandBox.

If you disagree with any statement below, comment it out, then start a new discussion thread in the discussion page.

Your Account

  • Your wiki username should be in the format "FirstnameLastname" ("IrcNickname" or your Debian Developer login are fine too).

  • Adjust the timezone in your ?UserPreferences page.

Your WikiHomePage

You can use the HomepageTemplate when you create your homepage. Here are ideas for content, grabbed from various existing homepages.

  • Your full name.
  • Your main homepage outside this wiki.
  • Your email address.
  • Your location (city and country) useful for timezone considerations and more.

  • If you use IRC, your usual server, channel and nickname.
  • If you are a Debian Developer (DD), your login name (with a link to http://qa.debian.org/developer.php?login=foobar@debian.org).

  • Non-DDs can link to http://bugs.debian.org/from:foo@bar.com.

  • Your subjects of interest (not limited to Debian).
  • Your !ToDo/Done list.
  • (Some of) Your contributions to open source (bug reporting; writing/translating; developing/maintaining...)

Make sure you keep the CategoryHomepage tag at the bottom of your homepage (present by default in the HomepageTemplate).

Subscribe to pages

  • You could subscribe to the pages relevant to your subjects of interest.

Lost Password

If you lose your wiki.debian.org password, go to the page ?UserPreferences, then follow the instructions there (type your email address, then click on "Mail me my account data").

Writing Style / WikiEtiquette

There are at least five major styles of Wiki page

Elements of good style for each type are explained further on their individual pages.

Try to maintain balance when writing. This includes visual balance, but also an attempt to avoid bias. If you find that your comments are controversial, sign them, so that others will feel more free to disagree publicly.

  • Don't make EveryThing into a UselessWikiName. Knowing when to make a new page is one of the hardest parts of WikiStyle.

  • RefactorMercilessly There is no page in the WikiUniverse that is finished. All content can be refined. See RefactoringWikiPages for many useful thoughts.

  • If the wiki topic is fairly long, then it would be good style to give a quick overview of what has been discussed in the topic as a sort of concluding paragraph. If a concluding paragraph cannot be easily written then perhaps the scoping of the topic was not right, and it should either be separated into subtopics or merged with others into one larger topic. This is common when ThreadMode meanders off topic.

See also this GoodStyle page.

Links

Don't overuse linking. If there are too many, the reader won't know which links are useful. You can move some of the links to a "See also" section at the bottom of your page (but again, not too many).

Where links point to a page in another language, append "(in $language)", thus: ?SomethingInFrench (in French)

See also moinmoin's HelpOnLinking

Internal Links (within this wiki)

  1. ["FooPage"] is usually the preferred syntax.

  2. [:SomeParentPagewith/FooPage:FooPage] is frequently used to shorten subpages.

  3. [:EditorGuide:editor guide] can be used to help fit the link name into a sentence as normal lower-case words.

  4. Don't "rename" the link by using [:PageName:Another title] (if you have to do this, it implies the page is misnamed).

In all cases, make sure that the link label is meaningful to visitors, and that the link doesn't lead somewhere unexpected (preferably, the link label should be the same as the page title).

To link within a page, you should define the target anchor using [[Anchor(bar)]] (see HelpOnMacros), then use [#bar Bar Chapter] or [:Foo#bar:Bar Chapter] (where Bar Chapter is the actual paragraph title).

The preferred way to link to external resources is:

(Avoid the notation  [http://www.foo.com link label] , which hides the target URL, unless the context makes it clear, as in "John Doe provides a script named test.sh.")

  • Group external links in the last section of the page.
  • Call this section External links.

  • Any "project homepage" link can go in this section, or (if there are no other external links) a See also section.

Use InterWiki format to link to Debian packages, bugs, RFCs and Wikipedia articles.

If an (important) page is linked from outside Debian, it's a good idea to tag it with CategoryPermalink, so that nobody removes it inadvertently.

Formatting

Header sections

Material that naturally belongs in an (optional) "header" area at the top of the page includes:

  • Links to translated versions (make sure they really exist!):

    Translation(s): [:de/DebianWiki/EditorGuide:Deutsch] - [:fr/DebianWiki/EditorGuide:Français]

  • A Discussion link, for controversial material: (!) [:/Discussion:Discussion]

  • Compare DefaultTemplate

  • Don't use [[Include()]] macro for translations. Why? Because could overload this Wiki server if it's used on every page. Frontpage is the only exception.

Disambiguation banner

Sometimes, a page's name can be ambiguous. If this can't be avoided, you can insert something like this at the top of the page:

Disambiguation : This page is about Debian Conferences.
For Debian configuration management system, see debconf.

  • Sample:

    ||<tablestyle="width:65%;margin-left:35%;padding-left:30pt" style="border:1pt solid #b48;border-left:5pt solid #d4a">'''Disambiguation :''' This page is about ''Debian Conferences''.[[BR]] For ''Debian configuration management system'', see ["debconf"].||

Debian "official material" banner

Often, the content of a Debian wiki page is also covered by some piece of "official" Debian Documentation (or in some other "reference" location). The wiki page can still be useful for collaboration. It's a good idea to add a link to the reference location at the top of the page.

Sample link presentation to some official page, related to the current subject.

Portal/IDB/official-doc.png

http://www.debian.org/somewhere - Sample topic

  • Sample:

    ||<tablestyle="width:100%;" style="width:32px;border-color:#ff9ec2" >inline:Portal/IDB/official-doc.png||<style="border-color:#ff9ec2;background-color:#ffe4f1" >http://www.debian.org/somewhere - Sample topic||

    ToDo: The image should be moved to moinmoin's static-content folder. It would be nice to use CSS stylesheet and Class too.

Table of Contents sections

If a page gets long, you might want to add a Table of Contents. See the example at the top of this page!

  • Sample (note how the table is indented with one space):

     [[TableOfContents(2)]]

FAQ sections

A typical FAQ section could be formatted like this:

Q. How do I do XXXX?
A1) You can do XXXX by doing X.
A2) You can do XXXX by doing Y.

Sample (notice the space at the beginning of the lines):

 Q. How do I do XXXX? :: A1) You can do XXXX by doing X.
 :: A2) You can do XXXX by doing Y.

Material that naturally belongs in an (optional) "footer" area at the end of the page includes:

Page Fragments

Not only code can be be reused - page content can too! If you notice that a given paragraph has to be repeated on many pages, you can reuse ("include") a page fragment each time. (Do not abuse this to duplicate content everywhere!)

  • A page meant to be included in another should be named */!PageFragment/*
  • Add a comment ## at the top of the page so people understand why it's "incomplete" (a fragment!)

  • See the [[Include()]] macro in HelpOnMacros

A sample is available at InstallingDebianOn and InstallingDebianOn/PageFragments/Philosophy. Also note how the page is included inside a table (but don't use this hack to bypass moinmoin formatting limitations: see Complex Formatting).

Advanced Formatting/Complex Formatting

Avoid using "advanced" formatting (using tables, include, etc.)

  • It's difficult to understand and maintain for you and other wiki editors.
  • It's difficult to read the diff of complex formatting.

  • The GUI editor may break your layout.

Images, media and attachments

See also: moinmoin's HelpOnLinking.

Add credits and copyright information at the bottom of the page where you attach an image, typically:

## attachments:
##  openlogo-100.jpg  Copyright 1999 "Software in the Public Interest" from http://www.debian.org/logos/openlogo-100.jpg

Attachment location

It's often a good idea to attach the image to the parent page (in case the image is reused in other subpages).

For translated pages, attach the image to the English version (internationalized/localized images should be attached to the internationalized/localized pages).

Screenshots

If you want to include a screenshot, you might want to store it on http://screenshots.debian.net/, then use :

  • [[ImageLink(http://screenshots.debian.net/thumbnail/amide, http://screenshots.debian.net/screenshot/amide, width=160,, alt=Screenshot)]]
  • Note the package name appears twice in this block.

Example:

  • Screenshot

Image position

http://www.debian.org/logos/openlogo-nd-75.jpg

It is possible to shift the images to right of the page, thanks to some CSS:

||<tablestyle="float:right; width:100px; background:transparent; margin: 0 0 1em 1em;" style="padding:0.5em; border-style:none;"> [http://www.debian.org/logos/openlogo-nd-75.jpg] ||
  • Note: adjust width:100px to fit your need.

"Work needed" tags

Translation(s): English - español - Português (Brasil) - Українська


A tag is a WikiName that has special meaning to the community. It is used to group pages, by searching for the tag and seeing all the pages that have it. Under MoinMoin wiki, one should use Categories.

WikiTags related to ongoing work on the wiki can be found at DebianWiki/Administration#Current_tasks.

Note: do not use the #deprecated processing instruction, as it prevents further editing of the page (e.g. to fix broken links). If you need to mark a page as needing to be improved/removed, use an appropriate WikiTag instead.

These tags are meant for wiki editors, not for visitors, so don't make them too intrusive; instead of putting a warning tag at the top of the page, insert it in the page's footer.

Pages

URL/page naming conventions

  • Use only CamelCase formatting (as opposed to Underscore_Separated).

  • The first letter of the first word should be upper case.
  • Special characters should be avoided in page names.
  • Slashes function to create (directory-style) groups of related subpages. If your page clearly belongs to a collection, you might consider creating it as a subpage - see for example the Moinmoin documentation SubPages.

  • For translated pages, see Translation section.

  • Picking an appropriate name is important. It should clearly state what the page is about and should contain the word visitors will search for.
  • Avoid ambiguous names - don't use, for instance:
    • "About"... about what? About the Debian OS, community, wiki...?
    • "Release"... does it mean previous releases, the current stable release, the release life-cycle, future release status, release process, release team, etc...

Creating a page

Before you create a page, ask yourself some questions:

  • Is a new page really needed? Might it already exist under a different name? Could the content be added to an existing page?
  • Does it comply with the wiki.debian.org Content guidelines?

If you decide to proceed:

  • Choose a name for a page - see URL/page naming conventions.

  • Search for an appropriate portal page on the CategoryPortal page (you may find more than one; choose the best)

  • Create a link to your new page in this portal, then click on it.
  • Pick the appropriate template (DefaultTemplate is recommended)

  • If your page relates to a subject already covered by some official Debian documentation, link to it at the top (see Debian official material)

  • Once the page is complete, make links to it from relevant pages (one link is often enough).
  • More hints:
    • Re-read it two days later (does it still look good?)
    • Subscribe to that page.
    • This page isn't "yours", so don't be offended when other people "improve" it.

See also: moinmoin's HelpOnPageCreation.

Renaming a page

Cool URIs don't change (w3). Still, sometime it's a good idea to rename a page when its name don't accurately describe the page content.

Before you rename a page:

  • Use Google (or equivalent) to check whether the page is linked from outside this wiki. Search link:wiki.debian.org/FooBar. If it is referenced, think twice before renaming the page. If you rename the page, consider creating a redirect page and contacting the owner of the referring page to get the links updated.

  • Check if this page is linked from inside this wiki (open the page and click on the title to get the list of back links).

If you decide to actually rename the page:

  • Choose a name for a page. see URL/page naming conventions.

  • Make sure you update all the pages that used to point to the old name (type the previous page name into the search bar, then click "Text"!).
  • Also take care of translated versions of the page.

Note: If the page-rename seems to require a "redirect" page, that might mean that the page shouldn't be renamed!

Deleting a page

Read the Renaming a page hints, since they apply here too.

If you think a page should be removed, you can either:

  • Delete the page yourself (writing your rationale in the comment field).
  • or Tag the page with "CategoryProposedDeletion" so other editors can react (i.e. put the tag and explanation at the bottom of the page).

Don't be rude: do not copy-paste the content of an existing page into a new one, and delete the old page - this loses page history. Instead see Merging and splitting pages.

Again, if there are translated versions, deal with them too!

Merging and splitting pages

Reorganizing pages is a good idea. You are encouraged to:

  • Merge "duplicate" pages covering the same subject.
  • Merge similar page, if both are "too short".
  • Split long pages that cover more than one topic (but consider adding a [[TableOfContents]] instead.).

Try to preserve page history:

  • Use the Comment field to record the "before" and "after" page-names in splits or mergers.
  • Merge pages into one of the existing pages, not into a newly created page.

For translations: if you can't merge/split translated pages, add directions (comments) in the translated version so translators can keep up!

Redirect pages

On some occasions, you might want to create a "redirect" page (which automatically redirects the browser to the proper page).

Don't over-use this tool.

sample :

#redirect DestinationPage
go to ["DestinationPage"]

Note that #refresh isn't enabled on this wiki.

See also: moinmoin's HelpOnProcessingInstructions.

Categories

moinmoin wiki's help: using categories.

The list of categories used on this wiki: CategoryCategory.

Portals

Portals are hub pages containing links to articles. They complement the relational structure offered by CategoryCategory, and the integrated search engine.

Portal pages should be based on PortalTemplate.

Do not use Edit(GUI) since it will break some wiki contents (GUI editing to text breaks contents, and some wiki link formats).

Turning pages into portals

To make your article into a portal page, add the tag CategoryPortal to its footer and find an appropriate portal to attach it to.

Don't create portals full of dead links.

Image Data Base

Commonly-used icons and portal logos can be centralized to Portal/IDB. This is useful for translated portals and for making artwork consistent.

Translations

The top of each page shows links to the same page in other languages - see Headers, and DefaultTemplate as an example.

The principles:

  • Any topic given a wiki page may have many translations, but there is always one "base" page.
  • Since this master copy has to be in some language, we standardize on using the US English version.
  • Translated pages use the naming scheme "languagecode" + "/" + "EnglishName" - for example:

  • When you modify a translated page, update or notify the English version too.
  • Try to keep the layout the same in every language, since it simplifies synchronization (especially, editors who aren't fluent in your language will still have some chance of finding and updating the right element).
  • If the page doesn't exist in English, create that too. If you don't feel comfortable writing in English, just create a page with the usual headers and link to your translated page, making sure you tag your page with UpdateEnglish.

  • If the page doesn't exist in your language, start by copy/pasting it from the English version and updating the page header to match the page name, then see below.

Synchronizing translations

When you're updating a page to match one in another language (i.e. "synchronizing" the versions),

  • All versions of a page should keep the same layout (formatting, paragraph order, etc.).
  • Keep the revision status of the page clear:
    • (either) update the whole page at once, and then change the matching "revision" number in the header
    • (or) add a comment like ## TRANSLATION UPDATE STOPPED here where you stop.

  • If the translated page is newer than the English one:
    • (either) update the English version yourself if you can (don't worry about minor language errors - someone will correct them)
    • (or) append an "UpdateEnglish" tag at the bottom of the page, and add "+ IMPROVEMENTS" to the English revision comment.

Wiki translators

People involved in translating Debian Wiki pages should add the tag CategoryWikiTranslator on their homepage.

Helping with wiki.debian.org

Anybody can help to improve wiki.debian.org:

  • Improve the content of any page, where you can.
  • Add your remarks and questions at the bottom of the wiki pages you visit.
  • Spellcheck pages (many contributions are made by non-native English speakers).
  • Translate pages.

  • Search for backlinks to ?HelpWanted, FixMe and ToDo.

  • ReFactor anything you can.

  • Cleanup (see ThreadMode)

  • Pass on your knowledge on how to install or use Debian
  • If you don't work in IT, you can create a page to explain how you use computers in your day-to-day work. Explain your problems and needs.

Debian also needs non-IT skills (legal; marketing; organizing events; fund-raising; public relations; and much more). See also http://www.debian.org/intro/help.

Promoting wiki.debian.org

The best and easiest ways to promote this wiki are to use it yourself and to make it useful to others by contributing useful material (bear in mind the content guidelines).

When you are asked a question in a mailing list, forum, or irc channel,

  • the first and best option is to point inquiries towards the official Debian documentation (www.debian.org/* , man page, README, etc.), suggesting improvements to the author or maintainer if necessary;
  • the second best is to update the appropriate wiki page to make sure it answers the question, and point towards that.

Frequently Asked Questions

Q) Can I get a list of all the pages on this wiki?

A) Yes, see TitleIndex

Q) Wouldn't the wiki be more useful if it was better organized?
A) Possibly, but a structured wiki is largely a contradiction in terms. It's more important to give it good content.

Q) Is there a way to show just the orphan articles?

A) No (OrphanedPages is broken; links in the form [:PageName:Link Label] aren't counted). But being an orphan is only a problem if there are pages that should link to it and don't (so fix those), or if the page fails to show up in searches (so make sure it includes the appropriate keywords).

Q) How do I keep track of changes?
A) By using two features accessible via the sidebar menu:
  • the link to the RecentChanges page (limited to a week for visitors, 90 days for logged-in users);

  • the Subscribe option, which requests e-mail notification when the page is modified.

Technical Information

This Wiki is running moinmoin software, version 1.5 (wiki configuration information). It currently runs on ries.