-
Macros
-
Search macros
-
Navigation
-
System information
-
Others
-
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.
For more information on the possible markup, see HelpOnEditing.
1.1. Search macros
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 |
|
[[RandomPage]] |
a link to a random page |
HelpOnInstalling/ApacheWithFastCgi |
|
[[RandomPage(#)]] |
links to a number of random pages |
Two random pages:
|
|
[[TableOfContents]] |
display a local table of contents |
See below |
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 |
1355 pages |
1.4. Others
|
Macro |
Description |
Example |
|
[[Icon(image)]] |
display system icons |
HelpOnNavigation |
|
[[UserPreferences]] |
display a user preferences dialog |
UserPreferences |
|
[[BR]] |
insert a line break |
1st line
2nd line |
|
[[Include(HelloWorld[,heading[,level]])]] |
include contents of another page |
|
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:
- Python Version
- 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)]
- MoinMoin Version
- Release 1.2.4 [Revision 1.187]
- 4Suite Version
- 0.11.1
- Number of pages
- 1355
- Number of system pages
- 326
- Number of backup versions
- 3143
- Accumulated page sizes
- 4508837
- Entries in edit log
- 3867 (386551 bytes)
- Event log
- 417088037 bytes
- Global extension macros
- AbandonedPages, AttachInfo, AttachList, BR, FootNote, Form, FullSearch, GetText, Include, Navigation, OrphanedPages, PageHits, PageSize, RandomPage, RandomQuote, RecentChanges, ShowSmileys, StatsChart, SystemAdmin, TableOfContents, TeudView, WantedPages
- Local extension macros
- NONE
- Global extension actions
- LikePages, LocalSiteMap, SpellCheck, links, rss_rc, titleindex
- Local extension actions
- NONE
- Installed processors
- CSV, Colorize