UserPreferences

HelpOnMacros


  1. Macros
    1. Search macros
    2. Navigation
    3. System information
    4. Others
  2. Example Display

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 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:
  1. HelpOnMacros . . . . 6 matches
  2. HelpOnActions . . . . 3 matches
  3. PhilWolff . . . . 2 matches
  4. SeanPalmer . . . . 2 matches
  5. AaronSw . . . . 1 match
  6. AdamKalsey . . . . 1 match
  7. AdamKinney . . . . 1 match
  8. AdamRice . . . . 1 match
  9. AdriaanTijsseling . . . . 1 match
  10. AlekSlominski . . . . 1 match
  11. AndreasThomassen . . . . 1 match
  12. AndrewGrumet . . . . 1 match
  13. AnswerMe . . . . 1 match
  14. AntoneRoundy . . . . 1 match
  15. Arien . . . . 1 match
  16. AristotlePagaltzis . . . . 1 match
  17. ArveBersvendsen . . . . 1 match
  18. AsbjornUlsberg . . . . 1 match
  19. AtomConformantProcessors . . . . 1 match
  20. BenHyde . . . . 1 match
  21. BenTrott . . . . 1 match
  22. BillDehora . . . . 1 match
  23. BillKearney . . . . 1 match
  24. BillSeitz . . . . 1 match
  25. BjornBlomqvist . . . . 1 match
  26. BobWyman . . . . 1 match
  27. BradFitzpatrick . . . . 1 match
  28. BranMuffin . . . . 1 match
  29. BrianMcCallister . . . . 1 match
  30. BruceLoebrich . . . . 1 match
  31. BruceWang . . . . 1 match
  32. CategoryApi . . . . 1 match
  33. CategoryArchitecture . . . . 1 match
  34. CategoryCategory . . . . 1 match
  35. CategoryConformanceTests . . . . 1 match
  36. CategoryDelete . . . . 1 match
  37. CategoryElementSpec . . . . 1 match
  38. CategoryExtension . . . . 1 match
  39. CategoryFormat . . . . 1 match
  40. CategoryHomePage . . . . 1 match
  41. CategoryInterop . . . . 1 match
  42. CategoryMetadata . . . . 1 match
  43. CategoryModel . . . . 1 match
  44. CategoryNameDiscuss . . . . 1 match
  45. CategoryProfile . . . . 1 match
  46. CategoryProject . . . . 1 match
  47. CategoryProposals . . . . 1 match
  48. CategoryRest . . . . 1 match
  49. CategoryRss . . . . 1 match
  50. CategorySpecifications . . . . 1 match
  51. CategorySyntax . . . . 1 match
  52. CategoryTemplate . . . . 1 match
  53. CategoryTool . . . . 1 match
  54. CategoryWeblog . . . . 1 match
  55. CategoryWikiHelp . . . . 1 match
  56. CharlesMiller . . . . 1 match
  57. ChrisSells . . . . 1 match
  58. ChrisWilper . . . . 1 match
  59. ClosedPoll . . . . 1 match
  60. ConformanceTests . . . . 1 match
  61. DamionAlexander . . . . 1 match
  62. DanBri . . . . 1 match
  63. DanielBerlinger . . . . 1 match
  64. DannyAyers . . . . 1 match
  65. DareObasanjo . . . . 1 match
  66. DaveKopper . . . . 1 match
  67. DaveWarnock . . . . 1 match
  68. DaveWiner . . . . 1 match
  69. DavidPowell . . . . 1 match
  70. DeleteOk . . . . 1 match
  71. DetlevLengsfeld . . . . 1 match
  72. DeveloperDude . . . . 1 match
  73. DiegoDoval . . . . 1 match
  74. DimitrisPanagiotakis . . . . 1 match
  75. DirkHaun . . . . 1 match
  76. DoNotEdit . . . . 1 match
  77. DonPark . . . . 1 match
  78. DougRansom . . . . 1 match
  79. DylanMoreland . . . . 1 match
  80. EmmanuelDecarie . . . . 1 match
  81. Enamel . . . . 1 match
  82. EricMiller . . . . 1 match
  83. EspenErikstad . . . . 1 match
  84. FindPage . . . . 1 match
  85. FrancoisPlanque . . . . 1 match
  86. FrançoisGranger . . . . 1 match
  87. GeorgBauer . . . . 1 match
  88. GoogleLogin . . . . 1 match
  89. GuilleBe . . . . 1 match
  90. HenryStory . . . . 1 match
  91. HomePageTemplate . . . . 1 match
  92. JakeSutton . . . . 1 match
  93. JamesAylett . . . . 1 match
  94. JanneJalkanen . . . . 1 match
  95. JensAlfke . . . . 1 match
  96. JeremyGray . . . . 1 match
  97. JeremyZawodny . . . . 1 match
  98. JimHughes . . . . 1 match
  99. JoeGregorio . . . . 1 match
  100. JohnAbbe . . . . 1 match
  101. JohnClark . . . . 1 match
  102. JohnPanzer . . . . 1 match
  103. JonDavis . . . . 1 match
  104. JonathanSmith . . . . 1 match
  105. JustinErenkrantz . . . . 1 match
  106. KarlDubost . . . . 1 match
  107. KenMacLeod . . . . 1 match
  108. KimbroStaken . . . . 1 match
  109. LeighKlotz . . . . 1 match
  110. LindonParker . . . . 1 match
  111. LiveJournal . . . . 1 match
  112. LizLawley . . . . 1 match
  113. LocalLink1 . . . . 1 match
  114. MaciejCeglowski . . . . 1 match
  115. MarcusCampbell . . . . 1 match
  116. MarkCidade . . . . 1 match
  117. MarkFletcher . . . . 1 match
  118. MartinAtkins . . . . 1 match
  119. MattCroydon . . . . 1 match
  120. MegHourihan . . . . 1 match
  121. MichaelBernstein . . . . 1 match
  122. MichaelPate . . . . 1 match
  123. MichaelStillwell . . . . 1 match
  124. MikeDavies . . . . 1 match
  125. MortenFrederiksen . . . . 1 match
  126. NasseamElkarra . . . . 1 match
  127. NicholasAvenell . . . . 1 match
  128. NickChalko . . . . 1 match
  129. OpenPoll . . . . 1 match
  130. PaulJames . . . . 1 match
  131. PeteProdoehl . . . . 1 match
  132. PeterCripes . . . . 1 match
  133. PhilRingnalda . . . . 1 match
  134. RahulDave . . . . 1 match
  135. RandyCharlesMorin . . . . 1 match
  136. RefactorMe . . . . 1 match
  137. RefactorOk . . . . 1 match
  138. RickOlson . . . . 1 match
  139. RobertSayre . . . . 1 match
  140. RogerBenningfield . . . . 1 match
  141. RogersCadenhead . . . . 1 match
  142. RussellBeattie . . . . 1 match
  143. RyanTomayko . . . . 1 match
  144. ScottReynen . . . . 1 match
  145. SeairthJacobs . . . . 1 match
  146. SimonSteele . . . . 1 match
  147. SimonWillison . . . . 1 match
  148. SingingBanzo . . . . 1 match
  149. SjoerdVisscher . . . . 1 match
  150. Skware . . . . 1 match
  151. StephenFarrell . . . . 1 match
  152. ThomasBroyer . . . . 1 match
  153. TomJordan . . . . 1 match
  154. TomasJogin . . . . 1 match
  155. TruePath . . . . 1 match
  156. Unotal . . . . 1 match
  157. XavierBorderie . . . . 1 match
  158. ZhangYining . . . . 1 match
  159. http://www.eCom-Solution.de . . . . 1 match
  160. jayseae . . . . 1 match
  161. wootest . . . . 1 match
[[GoTo]] directly go to the page you enter See the FindPage
[[PageList(regex)]] list of pages whose title matches the regex See the HelpIndex

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 IdentityExtension
[[RandomPage(#)]] links to a number of random pages Two random pages:
[[TableOfContents]] display a local table of contents See below
[[Anchor(anchorname)]] macro to insert anchors into a page #here

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 1592 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

Others

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
[[Include(HelloWorld[,"heading"[,level]])]] include contents of another page
[[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 2008-05-16
[[DateTime(timestamp)]] display a timestamp1 according to user settings 2008-05-16 13:05:39
[[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 [EfnetPythonWiki]TeudProject See [EfnetPythonWiki]TeudViewer?module=MoinMoin.macro.TeudView

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: