Menu

ForgeWiki

There is a newer version of this page. You can find it here.

wiki overview

The wiki is a collaborative document editor which is easily edited. By default any logged in user can edit your project wiki. But like most modern wiki's all edits are non-destructive -- we keep a copy of every version.

The wiki page itself has an edit button at the top right, and a discussion feature at the bottom of every page. The comment system is the same as all of the other tools in the new forge.

Like most wiki's there's a history page allows you to view the most recent edits to the wiki, and revert to any previous version.

Advanced users can modify permissions at Permissions can be modified at:
http://sourceforge.net/p/PROJECTNAME/admin/wiki/permissions

Wikis by default have a left navigation/tool sidebar and a right metadata panel which shows authorship, tags, and attachments. These can be optionally removed in the wiki's configuration options under "admin".

Markdown syntax

The wiki uses the markdown syntax (http://daringfireball.net/projects/markdown/syntax) with a few notable extensions.

  • WikiWords (words with internal capitalization) automatically create page links

  • any page can be linked with surrounding square brackets ie [mypage]

  • links to resources in other tools can be explicitly referenced by adding a tool identifier prefix to the link. So for instance [developerwiki:MyTechnicalPage] and [userwiki:MySimplePage] can refer to wiki pages in separate instances. Pages from the tickets or discussion tools can similarly be used

  • macros can be used to call functions in the wiki, currently we have two macros include and img:

    • The include macro looks like this: [[include ref=PAGENAME ATTRIBUTE=VALUE ATTRIBUTE2=VALUE etc]]
    • and it pulls in anoother wiki page into a div on the current page. The attribute fields are passed on to the div, so it can be given id, class, etc definitions for layout
      -img src=IMAGENAME surrounded by double square brackets [[ ]] -- this embeds an attached image, or image by url into the page
  • confluence-style "|" delimited tables are not supported.

Free-form HTML

The adobe wikis can also accept a restricted subset of HTML.

Attachments

Wiki pages can store attachments for files up to ~10M, including images.

REST API

All wiki pages are read/writable via the REST API, which has 3 main functions:

these keys can be generated for your account by going to the https://sourceforge.net/auth/prefs/ page. Usage is then:

wiki-post.py --url=WIKI_REST_PATH PAGENAME FILENAME


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.