#pragma section-numbers off #acl All:admin,read,write,delete,revert ##language:en
This page tries to use each supported markup element at least once.
'''Index''' [[TableOfContents(2)]]Index
- Headers
- Font styles
- Smileys
- Hyperlinks
- Blockquote
- Bullet list
- Numbered list
- Decriptions + Definitions
- Code display
- Tables
- General table layout and HTML like options
- Cell width
- Spanning rows and columns
- Alignment
- Colors
- CSV Tables
- Rules
- Macros
Headers
Header 2
Header 3
Header 4
Header 5
Font styles
Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.
Normal text, emphasized, strong, underline, subscript, superscript, typewriter and typewriter.
Syntax Hilighting
1 2 | # python code print code.colorize("abc", 1 + 1) |
Smileys
Markup | Display | Filename | Markup | Display | Filename | Markup | Display | Filename | ||
(!) | idea.png | (./) | checkmark.png | /!\ | alert.png | |||||
:( | sad.png | :) | smile.png | :)) | smile3.png | |||||
:-( | sad.png | :-) | smile.png | :-)) | smile3.png | |||||
:-? | tongue.png | :D | biggrin.png | :\ | ohwell.png | |||||
:o | redface.png | ;) | smile4.png | ;-) | smile4.png | |||||
<!> | attention.png | <:( | frown.png | >:> | devil.png | |||||
B) | smile2.png | B-) | smile2.png | X-( | angry.png | |||||
{1} | prio1.png | {2} | prio2.png | {3} | prio3.png | |||||
{OK} | thumbs-up.png | {X} | icon-error.png | {da} | flag-da.png | |||||
{de} | flag-de.png | {en} | flag-en.png | {es} | flag-es.png | |||||
{fi} | flag-fi.png | {fr} | flag-fr.png | {it} | flag-it.png | |||||
{i} | icon-info.png | {ja} | flag-ja.png | {ko} | flag-ko.png | |||||
{nl} | flag-nl.png | {pt} | flag-pt.png | {sv} | flag-sv.png | |||||
{us} | flag-us.png | {zh} | flag-zh.png | |) | tired.png | |||||
|-) | tired.png |
Hyperlinks
Internal
* MoinMoin * MoinMoin/TextFormatting * MoinMoin/InstallDocs * ../InstallDocs * /SubPage * Self:InterWiki
[#anchorname Anchor Link]Anchor Link
External
* http://moin.sourceforge.net/ * [http://moin.sourceforge.net/] * [http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage] * [^http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage - in new window] * [http://moin.sourceforge.net/moinmoin.gif] * http://moin.sourceforge.net/moinmoin.gif * [http://moin.sourceforge.net/moinmoin.gif moinmoin.gif] * MeatBall:InterWiki * wiki:MeatBall/InterWiki * [wiki:MeatBall/InterWiki] * [wiki:MeatBall/InterWiki InterWiki page on MeatBall] * [file://servername/full/path/to/file/filename%20with%20spaces.txt Click here to read filename with spaces.txt] * jh@web.de
-
[^http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage - in new window]
-
Escaping WikiNames
Wiki''''''Name Wiki``NameWikiName WikiName
Blockquote
This is indented Even more
-
This is indented
-
Even more
Bullet list
* item 1 * item 2, with gap * item 3 * item 3.1
-
item 1
-
item 2, with gap
-
item 3
-
item 3.1
Numbered list
1. item 1 i. item 1 i. item 2
-
item 1
-
item 1
-
item 2
1. item 2 a. item 1 a. item 2
-
item 2
-
item 1
-
item 2
Decriptions + Definitions
Term:: Decription Label:: Definition
- Term
-
Decription
- Label
-
Definition
Code display
line 1 indented 4 characters
Tables
General table layout and HTML like options
||||||<tablewidth="80%">'''Heading'''|| ||cell 1||cell2||cell 3|| ||<rowspan=2> spanning rows||||<bgcolor='#E0E0FF'> spanning 2 columns|| ||<rowbgcolor="#FFFFE0">cell2||cell 3||
Heading | ||
cell 1 | cell2 | cell 3 |
spanning rows | spanning 2 columns | |
cell2 | cell 3 |
Cell width
|| narrow ||<:99%> wide ||
narrow | wide |
Spanning rows and columns
||<|2> 2 rows || row 1 || || row 2 || ||<-2> row 3 over 2 columns ||
2 rows | row 1 |
row 2 | |
row 3 over 2 columns |
Alignment
||<(> left ||<^|3> top ||<v|3> bottom || ||<:> centered || ||<)> right ||
left | top | bottom |
centered | ||
right |
Colors
||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||
red | green | blue |
CSV Tables
Col1 | Col3 | Col4 |
1 | 3 | 4 |
a | c | d |
Col1 | Col3 | Col4 |
1 | 3 | 4 |
a | c | d |
Rules
--- (not a rule) ---- ----- ------ ------- -------- --------- ---------- -------------------------------------------- (not thicker than 10)--- (not a rule)
(not thicker than 10)
Macros
[[Anchor(anchorname)]] '''[[PageCount]]''' pages [[RandomPage]]202 pages --> -->
| Please include this information in your bug reports!: Python Python 2.7.18: Linux erode.bofh.it 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 MoinMoin Release 1.2.4 [Revision 1.187] Sat Nov 23 05:33:04 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/local/share/moin/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
389 if handler: |
390 handler(pagename or |
391 wikiutil.getSysPage(self, config.page_front_page).page_name, self) |
392 else: |
393 self.http_headers() |
global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/local/share/moin/MoinMoin/wikiutil.pyc'>, wikiutil.getSysPage = <function getSysPage>, self = <MoinMoin.request.RequestCGI instance>, global config = <module 'MoinMoin.config' from '/usr/local/share/moin/MoinMoin/config.pyc'>, config.page_front_page = 'FrontPage', ).page_name undefined |
/usr/local/share/moin/MoinMoin/wikiaction.py in do_print(pagename='SyntaxReference', request=<MoinMoin.request.RequestCGI instance>) |
575 |
576 def do_print(pagename, request): |
577 do_show(pagename, request) |
578 |
579 |
global do_show = <function do_show>, pagename = 'SyntaxReference', request = <MoinMoin.request.RequestCGI instance> |
/usr/local/share/moin/MoinMoin/wikiaction.py in do_show(pagename='SyntaxReference', request=<MoinMoin.request.RequestCGI instance>) |
561 def do_show(pagename, request): |
562 if request.form.has_key('date'): |
563 Page(pagename, date=request.form['date'][0]).send_page(request, count_hit=1) |
564 else: |
565 Page(pagename).send_page(request, count_hit=1) |
global Page = <class MoinMoin.Page.Page>, pagename = 'SyntaxReference', date undefined, request = <MoinMoin.request.RequestCGI instance>, request.form = {'action': ['print'], 'date': ['1101045678']}, ).send_page undefined, count_hit undefined |
/usr/local/share/moin/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='<strong>Version as of 2004-11-21 14:01:18</strong><br>', **keywords={'count_hit': 1}) |
622 else: |
623 # parse the text and send the page content |
624 self.send_page_content(request, Parser, body) |
625 |
626 # 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{{{\n#pragma section-numbers off\n#acl All:admin,...ame)]]\n'''[[PageCount]]''' pages\n[[RandomPage]]\n\n" |
/usr/local/share/moin/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{{{\n#pragma section-numbers off\n#acl All:admin,...ame)]]\n'''[[PageCount]]''' pages\n[[RandomPage]]\n\n", needsupdate=0) |
673 (not formatter_name in config.caching_formats)): |
674 # parse the text and send the page content |
675 Parser(body, request).format(self.formatter) |
676 return |
677 |
Parser = <class MoinMoin.parser.wiki.Parser>, body = "\n{{{\n#pragma section-numbers off\n#acl All:admin,...ame)]]\n'''[[PageCount]]''' pages\n[[RandomPage]]\n\n", request = <MoinMoin.request.RequestCGI instance>, ).format undefined, self = <MoinMoin.Page.Page instance>, self.formatter = <MoinMoin.formatter.text_html.Formatter instance> |
/usr/local/share/moin/MoinMoin/parser/wiki.py in format(self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>) |
1031 line = line + " " # we don't have \n as whitespace any more |
1032 |
1033 formatted_line = self.scan(scan_re, line) # this also sets self.inhibit_p as side effect! |
1034 |
1035 #self.request.write("<!-- inhibit_p==%d -->\n" % self.inhibit_p) |
formatted_line = '<strong>202</strong> pages ', self = <MoinMoin.parser.wiki.Parser instance>, self.scan = <bound method Parser.scan of <MoinMoin.parser.wiki.Parser instance>>, scan_re = <_sre.SRE_Pattern object>, line = '[[RandomPage]] ' |
/usr/local/share/moin/MoinMoin/parser/wiki.py in scan(self=<MoinMoin.parser.wiki.Parser instance>, scan_re=<_sre.SRE_Pattern object>, line='[[RandomPage]] ') |
864 else: |
865 result.append(self.formatter.text(line[lastpos:match.start()])) |
866 result.append(self.replace(match)) |
867 |
868 # search for the next one |
result = [''], result.append = <built-in method append of list object>, self = <MoinMoin.parser.wiki.Parser instance>, self.replace = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance>>, match = <_sre.SRE_Match object> |
/usr/local/share/moin/MoinMoin/parser/wiki.py in replace(self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>) |
884 return self.highlight_text(hit) |
885 else: |
886 return getattr(self, '_' + type + '_repl')(hit) |
887 else: |
888 import pprint |
getattr undefined, self = <MoinMoin.parser.wiki.Parser instance>, type = 'macro', hit = '[[RandomPage]]' |
/usr/local/share/moin/MoinMoin/parser/wiki.py in _macro_repl(self=<MoinMoin.parser.wiki.Parser instance>, word='[[RandomPage]]') |
823 |
824 # call the macro |
825 return self.formatter.macro(self.macro, macro_name, args) |
826 |
827 |
self = <MoinMoin.parser.wiki.Parser instance>, self.formatter = <MoinMoin.formatter.text_html.Formatter instance>, self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance>>, self.macro = <MoinMoin.wikimacro.Macro instance>, macro_name = 'RandomPage', args = None |
/usr/local/share/moin/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 |
/usr/local/share/moin/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' |