[[Navigation(No Index page found)]]
Contents
- 1 Macros
- 1.1 Search macros
- 1.2 Navigation
- 1.3 System information
- 1.4 Others
- 2 Example Display
1 Macros #
Macros allow the insertion of system features into normal wiki pages; the only thing that makes those pages special is that they contain macros. If you edit pages like
RecentChanges or
SystemInfo, you'll see what that means.
1.1 Search macros #
| Macro | Description | Example |
| [[TitleSearch]] | search the page titles | See the FindPage |
| [[FullSearch]] | search the page contents | See the FindPage |
| [[FullSearch()]] | search for the current title in all pages (like clicking on the page title) | See the CategoryCategory page |
| [[FullSearch('text')]] | search for "text" in all pages | Search for FullSearch:
|
| [[GoTo]] | directly go to the page you enter | See the FindPage |
| [[PageList(regex)]] | list of pages whose title matches the regex | See the HelpIndex |
1.2 Navigation #
| Macro | Description | Example |
| [[RecentChanges]] | a list of recently edited pages | See RecentChanges |
| [[TitleIndex]] | an index of all page titles | See TitleIndex |
| [[WordIndex]] | an index of all words in page titles | See WordIndex |
| [[WantedPages]] | list links to non-existent pages | See WantedPages |
| [[OrphanedPages]] | list pages no other page links to | See OrphanedPages |
| [[AbandonedPages]] | list pages that were not edited for the longest time | See AbandonedPages |
| [[RandomPage]] | a link to a random page | 키리냐가 |
| [[RandomPage(#)]] | links to a number of random pages | Two random pages: |
| [[TableOfContents([maxdepth])]] | display a local table of contents, possibly limited to a maximal depth | See above |
| [[Anchor(anchorname)]] | macro to insert anchors into a page | |
| [[Navigation(children)]] | macro to list all of a pages' children | See start of this page |
| [[Navigation(siblings)]] | quick navigation to siblings of a page ("siblings" is the default and thus optional) | See /MailTo |
| [[Navigation(slideshow)]] | creates a link to toggle between slide show and wiki mode, and a link to start the slide show | See HelpOnSlideShows |
| [[Navigation(slides)]] | displays first/prev/next/last links | See HelpOnSlideShows |
1.3 System information #
| Macro | Description | Example |
| [[InterWiki]] | a list of all known InterWiki names | InterWiki |
| [[SystemInfo]] | info on the wiki, the python interpreter and the host system | SystemInfo |
| [[PageCount]] | current page count | 2074 pages |
| [[PageSize]] | list the sizes of all pages | See PageSize |
| [[StatsChart(type)]] | shows statistical charts (currently defined types: hitcounts, pagesize, useragents) | See EventStats and subpages |
| [[SystemAdmin]] | Web interface to wiki administration (not completed yet as of version 1.0) | See SystemInfo |
| Macro | Description | Example |
| [[Icon(image)]] | display system icons | See HelpOnNavigation |
| [[UserPreferences]] | display a user preferences dialog | See UserPreferences |
| [[BR]] | insert a line break | 1st line
2nd line |
| [[RandomQuote(pagename)]] | Select a random quote from the given page, or from FortuneCookies if ommitted | [[RandomQuote(No match!)]] |
| [[Include(HelloWorld[,"heading"[,level]])]] | include contents of another page | for details see /Include |
| [[FootNote(text)]] | Add a footnote (the text cannot contain any wiki markup), or explicitely display collected footnotes when no args are given | See HelpOnPageCreation for an example |
| [[Date(timestamp)]] | display a timestamp according to system settings | 2012-05-23 |
| [[DateTime(timestamp)]] | display a timestamp according to user settings | 2012/05/23 19:46:47 GMT |
| [[GetText(text)]] | loads I18N texts (mainly intended for use on Help pages) | "EditText" is translated to "EditText" |
| [[TeudView]] | useful for intranet developer wikis, a means to view pydoc documentation, formatted via a XSLT stylesheet, for details see TeudProject | See TeudViewer?module=MoinMoin.macro.TeudView |
| [[MailTo(email)]] | protect your email address from spam bots | for details see /MailTo |
2 Example Display #
We don't show examples for all macros here, because that would make this page quite long. Here is is the replacement text for the
[[SystemInfo]] macro:
| PHP Version | 5.4.3 (FreeBSD jongyeob.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64) |
| MoniWiki Version | Release 1.2.0-CVS [Revision: 1.629 ] |
| HTTP Server Version | Apache/2.2.22 |
| Number of Pages | 2074 |