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. IoO9 . . . . 1 match
  93. JakeSutton . . . . 1 match
  94. JamesAylett . . . . 1 match
  95. JanneJalkanen . . . . 1 match
  96. JensAlfke . . . . 1 match
  97. JeremyGray . . . . 1 match
  98. JeremyZawodny . . . . 1 match
  99. JimHughes . . . . 1 match
  100. JoeGregorio . . . . 1 match
  101. JohnAbbe . . . . 1 match
  102. JohnClark . . . . 1 match
  103. JohnPanzer . . . . 1 match
  104. JonDavis . . . . 1 match
  105. JonathanSmith . . . . 1 match
  106. JustinErenkrantz . . . . 1 match
  107. KarlDubost . . . . 1 match
  108. KenMacLeod . . . . 1 match
  109. KimbroStaken . . . . 1 match
  110. LeighKlotz . . . . 1 match
  111. LindonParker . . . . 1 match
  112. LiveJournal . . . . 1 match
  113. LizLawley . . . . 1 match
  114. LocalLink1 . . . . 1 match
  115. MaciejCeglowski . . . . 1 match
  116. MarcusCampbell . . . . 1 match
  117. MarkCidade . . . . 1 match
  118. MarkFletcher . . . . 1 match
  119. MartinAtkins . . . . 1 match
  120. MattCroydon . . . . 1 match
  121. MegHourihan . . . . 1 match
  122. MichaelBernstein . . . . 1 match
  123. MichaelPate . . . . 1 match
  124. MichaelStillwell . . . . 1 match
  125. MikeDavies . . . . 1 match
  126. MortenFrederiksen . . . . 1 match
  127. NasseamElkarra . . . . 1 match
  128. NicholasAvenell . . . . 1 match
  129. NickChalko . . . . 1 match
  130. OpenPoll . . . . 1 match
  131. PaulJames . . . . 1 match
  132. PeteProdoehl . . . . 1 match
  133. PeterCripes . . . . 1 match
  134. PhilRingnalda . . . . 1 match
  135. RahulDave . . . . 1 match
  136. RandyCharlesMorin . . . . 1 match
  137. RefactorMe . . . . 1 match
  138. RefactorOk . . . . 1 match
  139. RickOlson . . . . 1 match
  140. RobertSayre . . . . 1 match
  141. RogerBenningfield . . . . 1 match
  142. RogersCadenhead . . . . 1 match
  143. RussellBeattie . . . . 1 match
  144. RyanTomayko . . . . 1 match
  145. ScottReynen . . . . 1 match
  146. SeairthJacobs . . . . 1 match
  147. SimonSteele . . . . 1 match
  148. SimonWillison . . . . 1 match
  149. SingingBanzo . . . . 1 match
  150. SjoerdVisscher . . . . 1 match
  151. Skware . . . . 1 match
  152. StephenFarrell . . . . 1 match
  153. ThomasBroyer . . . . 1 match
  154. TomJordan . . . . 1 match
  155. TomasJogin . . . . 1 match
  156. TruePath . . . . 1 match
  157. Unotal . . . . 1 match
  158. WinerNumber . . . . 1 match
  159. XavierBorderie . . . . 1 match
  160. ZhangYining . . . . 1 match
  161. http://www.eCom-Solution.de . . . . 1 match
  162. jayseae . . . . 1 match
  163. 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 --> -->
 
 
Cannot load macro RandomPage
Please include this information in your bug reports!:
Python Python 2.7.1: /usr/local/bin/python
Linux argon.sabren.com 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
MoinMoin Release 1.2.1 [Revision 1.184]
Tue Feb 14 13:46:21 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/rubys/web/intertwingly.net/moin-1.2.1/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>)
  491 
  492                 if config.allow_extended_names:
  493                     Page(query).send_page(self, count_hit=1)
  494                 else:
  495                     from MoinMoin.parser.wiki import Parser
Page = <class MoinMoin.Page.Page>, query = 'HelpOnMacros', ).send_page undefined, self = <MoinMoin.request.RequestCGI instance>, count_hit undefined

 /home/rubys/web/intertwingly.net/moin-1.2.1/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'count_hit': 1})
  609         else:
  610             # parse the text and send the page content
  611             self.send_page_content(request, Parser, body)
  612 
  613             # check for pending footnotes
self = <MoinMoin.Page.Page instance>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, Parser = <class MoinMoin.parser.wiki.Parser>, body = '\n[[TableOfContents]]\n\n== Macros ==\nMacros allow ... the {{{[[SystemInfo]]}}} macro:\n [[SystemInfo]]\n'

 /home/rubys/web/intertwingly.net/moin-1.2.1/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body='\n[[TableOfContents]]\n\n== Macros ==\nMacros allow ... the {{{[[SystemInfo]]}}} macro:\n [[SystemInfo]]\n', needsupdate=0)
  709 
  710         try:
  711             exec code
  712         except 'CacheNeedsUpdate': # if something goes wrong, try without caching
  713            self.send_page_content(request, Parser, body, needsupdate=1)
code = <code object <module> at 0x720f030, file "HelpOnMacros", line 2>

 /web/script/rubys/intertwingly.net/moin-1.2.1/wiki/cgi-bin/HelpOnMacros in ()

 /home/rubys/web/intertwingly.net/moin-1.2.1/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name='RandomPage', args=None)
  160     def macro(self, macro_obj, name, args):
  161         # call the macro
  162         return macro_obj.execute(name, args)    
  163 
  164     def processor(self, processor_name, lines):
macro_obj = <MoinMoin.wikimacro.Macro instance>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>, name = 'RandomPage', args = None

 /home/rubys/web/intertwingly.net/moin-1.2.1/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance>, macro_name='RandomPage', args=None)
  110             return self._m_lang(macro_name, args)
  111 
  112         raise ImportError("Cannot load macro %s" % macro_name)
  113 
  114     def _m_lang(self, lang_name, text):
ImportError undefined, macro_name = 'RandomPage'

: Cannot load macro RandomPage