| /Include /MailTo |
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:
|
| [[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 |
| | Please include this information in your bug reports!: Python 2.6.2 (r262:71600, Aug 4 2010, 12:39:10) [GCC 4.2.1 20070719 [FreeBSD]] - /usr/local/bin/python FreeBSD ekinek.pair.com 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Wed Sep 28 09:50:42 EDT 2011 erik5@yodh.pair.com:/usr/obj/usr/src/sys/73PAIRb i386 MoinMoin Release 1.1 [Revision 1.178] |
A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/wikimacro.py in execute_external_macro(macro_name='RandomPage', function='execute', args=(<MoinMoin.wikimacro.Macro instance at 0x288aac4c>, None)) |
70 execute = pysupport.importName("MoinMoin.macro." + macro_name, function)
| 71 return execute(*args) |
72
73 # try plugin dir
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance at 0x288aac4c>, macro_name='RandomPage', args=None) |
110
| 111 return execute_external_macro(macro_name, "execute", (self, args)) |
112
113 def _macro_TitleSearch(self, args):
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/parser/wiki.py in _macro_repl(self=<MoinMoin.parser.wiki.Parser instance at 0x2889f8cc>, word='[[RandomPage]]') |
703 # call the macro
| 704 return self.macro.execute(macro_name, args) |
705
706
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/parser/wiki.py in replace(self=<MoinMoin.parser.wiki.Parser instance at 0x2889f8cc>, match=<_sre.SRE_Match object at 0x283b70a0>) |
814 else:
| 815 return getattr(self, '_' + type + '_repl')(hit) |
816 else:
817 import pprint
| /usr/local/lib/python2.6/re.py in subn(pattern=<_sre.SRE_Pattern object at 0x283f4000>, repl=<bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x2889f8cc>>, string='||{{{[[RandomPage]]}}} || a link to a random page || [[RandomPage]] || ', count=0) |
161 return a replacement string to be used."""
| 162 return _compile(pattern, 0).subn(repl, string, count) |
163
164 def split(pattern, string, maxsplit=0):
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/parser/wiki.py in format(self=<MoinMoin.parser.wiki.Parser instance at 0x2889f8cc>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x288a342c>) |
938 else:
| 939 line, count = re.subn(scan_re, self.replace, line) |
940 ##if not count: self._check_p()
941 self._check_p()
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance at 0x2888a56c>, request=<MoinMoin.request.Request instance at 0x2873676c>, msg='', **keywords={'count_hit': 1}) |
478 # parse the text and send the page content
| 479 Parser(body, request).format(self.formatter) |
480
481 # check for pending footnotes
| /usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/cgimain.py in run(properties={}) |
211 try:
| 212 cgitb.handler() |
213 except:
214 cgi.print_exception(*saved_exc)
