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.
Search macros
| Macro |
Description |
Example |
| [[TitleSearch]] |
search the page titles |
FindPage |
| [[FullSearch]] |
search the page contents |
FindPage |
| [[GoTo]] |
directly go to the page you enter |
FindPage |
| [[PageList(regex)]] |
list of pages whose title matches the regex |
HelpIndex |
Navigation
| Macro |
Description |
Example |
| [[RecentChanges]] |
a list of recently edited pages |
RecentChanges |
| [[TitleIndex]] |
an index of all page titles |
TitleIndex |
| [[WordIndex]] |
an index of all words in page titles |
WordIndex |
| [[RandomPage]] |
a link to a random page |
HelpOnEditing |
| [[RandomPage(#)]] |
links to a number of random pages |
|
| [[TableOfContents]] |
display a local table of contents |
see below |
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 |
147 pages |
Others
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 | | 1.5.2 (#0, Dec 27 2000, 13:59:38) [GCC 2.95.2 20000220 (Debian GNU/Linux)] |
| MoinMoin Version | | Release 0.8 [Revision 1.108] |
| Number of pages | | 147 |
| Number of backup versions | | 1052 |
| Installed extension macros | | BR, Include, RandomPage, RecentChanges, TableOfContents |
| Installed extension actions | | LikePages, SpellCheck |
The table of contents for this page:
- Macros
- Search macros
- Navigation
- System information
- Others
- Example Display
EditText
of this page
(last modified 2001-01-07 21:17:13)
FindPage
by browsing, searching, or an index
Or try one of these actions:
LikePages,
SpellCheck
MoinMoin 1.108, Copyright © 2000-2001 by Jürgen Hermann
config = 0.000
total = 0.490
imports = 0.190
send_page = 0.290