Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
wiki1361: WikiHintAndTips (Version 3)

Wiki hints and tips#

This page provides various information to help authoring wiki content within the foundry.

Whats here:

  • Linking without launching another browser instance
  • When to use attachment over Documents section
  • Adding style to your wiki page
  • Escaping wikitext
  • making links to source
  • Deleting attachments
  • Deleting the history of a wikipage



Linking without launching another browser instance#

Linking to wiki pages should not require a new browser instance. Make sure not to use full URL and instead use the page name. It has been observed that the wiki sometimes takes a few minutes to make that link work... (don't ask why...) If the link does not work, wait a few minutes and refresh the page...

Linking to any other URL seems to open a new browser instance. A question has been sent to Collab regarding this behaviour and we hope to get a workaround soon...

When to use attachment over Documents section#

Attachment should only be used to attach content solely required to help the rendering of the wiki page. e.g. images

Files that can be accessed outside of the scope of the wiki page, such as articles, should be in the project Documents section.

Adding style to your wiki page#

The wiki supports some of CSS tags. This allows you to control where information appears; color, font size, etc...

The syntax is: <css-attribute-n> : <css-value-n> ;) text
where:
<css-attribute-n> is a CSS style sheet attribute. Quick list is available from here.
<css-value-1>;) is the value for the CSS attribute

e.g.

%%( color: red;)Text%% 

will output: Text

Escaping wikitext#

This wiki engine like to take c-function names like "ThreadDestroy()" and turn it into a link. While you can use triple curly braces to escape wiki test, the three open curlies force a newline, messing up your formatting. So:

To get                 use wikitext
-----------------------------------------------
DestroyThread()        ~DestroyThread()
__ker_exit()           ~__ker_exit() 
[parameter]            [[parameter]  or ~[parameter] 

making links to source#

It's a good idea to put a link to specific source files in our external source tree from any wikipage talking about specific software. Just:

  1. Use the "Source Code" link at the top for the current project page to get to the source tree for that project.
  2. Browse to the specific source file. You'll see the log entries.
  3. Browse to the latest revision.
  4. Copy the URL and paste it into a Wikilink on your Wikipage.

Easy. Except that:

The link you pasted will have parameters like:

http:// ...?root=coreos_pub&rev=1233&system=exsy1001&view=markup

The "&rev=1233" term will cause this link to always jump to that revision, even if it's been made obsolete by a newer one.

To always point to the latest rev of a file, delete the "&rev=nnnn" term from the URL.

Deleting attachments#

Normal Wiki page; the ones accessible from the "Wiki" link at the top of the page, have a "Show Details" button on the bottom right. Click the "Show Details" button. A tab control will appear; select the "Attachments" tab, select the attachments to delete, and click the "Remove" button on the bottom right.

Project home Wiki pages are a little trickier since they do not include the "Show Details" button. You have to find the page from the Wiki section. To do this, select "Wiki" link from the menu at the top, and then select the "Search Wiki Pages" link on the right. Enter "Home" in the "Search Text" field and hit the "Community Search" button on the bottom right. One of the results should be a page whose name is "Project Home Page", select the link to that page. The "Show Details" button should not be visible at the bottom. Follow the instructions above.

Deleting the history of a wiki page#

  1. Copy the source content of latest version of the page (presumably IP clean) somewhere.
  2. Delete the page using the delete button (at the bottom).
  3. Recreate the page using the same name (so links from other pages to the old page resolve to the new page).
  4. Paste the latest content back and save.
http://community.qnx.com/sf/go/wiki1361?version=3
community.qnx.com
crawl=CC-MAIN-2020-45
37905
application/http; msgtype=response
sha1:U2ENGU453CBZVUK26PZ3NNWPCWLYUE6U
<urn:uuid:74b53777-6f14-4bdf-83f3-5c4fc193d9ce>
2020-10-30T17:08:56Z
209.226.137.8
application/xhtml+xml
sha1:LIEEUIFADLEECQBDVTV2AARNNC52QMVK
<urn:uuid:7343fa8e-6ef9-4ff9-90d0-8589725024a1>
http://community.qnx.com/sf/go/wiki1361?version=3
response
<urn:uuid:7de9a33c-4e6a-4c9e-b99c-aae1fa657096>
isPartOf: CC-MAIN-2020-45
publisher: Common Crawl
description: Wide crawl of the web for October 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-44.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/