motiro 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +15 -0
- data/README +2 -2
- data/README.en +1 -2
- data/README.pt-br +1 -2
- data/app/controllers/account_controller.rb +1 -1
- data/app/controllers/application.rb +13 -12
- data/app/controllers/javascript_controller.rb +1 -1
- data/app/controllers/report_controller.rb +1 -1
- data/app/controllers/wiki_controller.rb +3 -5
- data/app/core/cache_reporter.rb +1 -1
- data/app/core/cache_reporter_fetcher.rb +1 -1
- data/app/core/chief_editor.rb +1 -1
- data/app/core/reporter.rb +1 -1
- data/app/core/reporter_driver.rb +1 -1
- data/app/core/reporter_fetcher.rb +1 -1
- data/app/core/settings.rb +1 -1
- data/app/core/version.rb +1 -1
- data/app/core/wiki_reporter.rb +1 -1
- data/app/helpers/application_helper.rb +5 -1
- data/app/helpers/default_page_provider.rb +6 -2
- data/app/helpers/report_helper.rb +14 -1
- data/app/models/change.rb +1 -1
- data/app/models/chunk.rb +1 -1
- data/app/models/feed_observer.rb +1 -1
- data/app/models/headline.rb +1 -1
- data/app/models/page.rb +38 -4
- data/app/models/revision.rb +1 -1
- data/app/models/user.rb +1 -1
- data/app/models/wiki_reference.rb +21 -0
- data/app/models/wiki_sweeper.rb +17 -2
- data/app/ports/chdir_runner.rb +1 -1
- data/app/ports/runner.rb +1 -1
- data/app/reporters/darcs_connection.rb +1 -1
- data/app/reporters/darcs_reporter.rb +1 -1
- data/app/reporters/darcs_temp_repo.rb +1 -1
- data/app/reporters/events_reporter.rb +1 -1
- data/app/reporters/features_reporter.rb +1 -1
- data/app/reporters/subversion_reporter.rb +1 -1
- data/app/reporters/svn_connection.rb +1 -1
- data/app/reporters/svn_settings.rb +1 -1
- data/app/views/report/list.rhtml +6 -7
- data/app/views/report/older.rhtml +1 -2
- data/app/views/report/rss.rxml +1 -1
- data/app/views/report/show.rhtml +2 -2
- data/app/views/wiki/_edit_event.rhtml +2 -0
- data/app/views/wiki/_edit_feature.rhtml +2 -0
- data/app/views/wiki/_properties_edit.rhtml +3 -5
- data/app/views/wiki/_properties_show.rhtml +4 -5
- data/app/views/wiki/_show_event.rhtml +3 -0
- data/app/views/wiki/_show_feature.rhtml +2 -0
- data/app/views/wiki/show.rhtml +1 -1
- data/bin/motiro +3 -3
- data/config/routes.rb +1 -1
- data/db/migrate/024_add_feature_status.rb +11 -0
- data/db/migrate/025_add_page_references.rb +12 -0
- data/db/migrate/026_convert_link_syntax.rb +12 -0
- data/db/migrate/027_register_page_references.rb +12 -0
- data/db/motirodb.sqlite.initial +0 -0
- data/db/schema_version +1 -1
- data/db/translation/pt-BR.rb +7 -1
- data/lib/array_extensions.rb +1 -1
- data/lib/diff_chunk_builder.rb +1 -1
- data/lib/differ.rb +1 -1
- data/lib/string_extensions.rb +13 -6
- data/lib/stub_hash.rb +1 -1
- data/lib/tasks/packaging.rake +10 -12
- data/lib/tasks/testing.rake +1 -1
- data/lib/tick_daemon.rb +1 -1
- data/lib/{wiki_url_generator.rb → wiki_link_handler.rb} +13 -3
- data/lib/wiki_renderer.rb +63 -34
- data/public/images/done.png +0 -0
- data/public/images/not-done.png +0 -0
- data/public/stylesheets/motiro.css +8 -0
- data/script/ticker +1 -1
- data/test/acceptance/account_test.rb +1 -1
- data/test/acceptance/darcs_test.rb +1 -1
- data/test/acceptance/events_test.rb +1 -1
- data/test/acceptance/main_page_test.rb +1 -1
- data/test/acceptance/subversion_test.rb +1 -1
- data/test/acceptance/ts_all_suites.rb +1 -1
- data/test/acceptance/wiki_test.rb +3 -3
- data/test/contract/darcs_test.rb +1 -1
- data/test/contract/remote_darcs_test.rb +1 -1
- data/test/contract/svn_test.rb +1 -1
- data/test/fixtures/pages.yml +20 -1
- data/test/fixtures/revisions.yml +40 -1
- data/test/fixtures/wiki_references.yml +5 -0
- data/test/functional/report_controller_test.rb +1 -1
- data/test/functional/report_features_test.rb +8 -1
- data/test/functional/report_subversion_test.rb +1 -1
- data/test/functional/root_controller_test.rb +1 -1
- data/test/functional/wiki_controller_test.rb +67 -2
- data/test/lib/acceptance_test_case.rb +1 -1
- data/test/lib/darcs_excerpts.rb +1 -1
- data/test/lib/darcs_repo.rb +1 -1
- data/test/lib/hash_extensions.rb +22 -0
- data/test/lib/live_mode_test.rb +1 -1
- data/test/lib/netutils.rb +1 -1
- data/test/lib/platform_thread.rb +1 -1
- data/test/lib/selenium_extensions.rb +1 -1
- data/test/lib/stubio.rb +1 -1
- data/test/lib/webserver.rb +1 -1
- data/test/meta/darcs_repo_test.rb +1 -1
- data/test/meta/local_svn_test.rb +1 -1
- data/test/meta/platform_thread_test.rb +1 -1
- data/test/meta/stubio_test.rb +1 -1
- data/test/stubs/{url_generator.rb → wiki_link_handler.rb} +8 -4
- data/test/test_helper.rb +3 -1
- data/test/unit/array_extensions_test.rb +1 -1
- data/test/unit/cache_reporter_fetcher_test.rb +1 -1
- data/test/unit/cache_reporter_test.rb +1 -1
- data/test/unit/change_test.rb +1 -1
- data/test/unit/chdir_runner_test.rb +1 -1
- data/test/unit/chief_editor_test.rb +1 -1
- data/test/unit/darcs_connection_test.rb +1 -1
- data/test/unit/darcs_reporter_test.rb +4 -4
- data/test/unit/darcs_temp_repo_test.rb +1 -1
- data/test/unit/default_page_provider_test.rb +23 -13
- data/test/unit/diff_chunk_builder_test.rb +1 -1
- data/test/unit/page_test.rb +67 -4
- data/test/unit/reporter_driver_test.rb +1 -1
- data/test/unit/reporter_test.rb +1 -1
- data/test/unit/revision_test.rb +1 -1
- data/test/unit/runner_test.rb +1 -1
- data/test/unit/string_extensions_test.rb +15 -3
- data/test/unit/svn_connection_test.rb +1 -1
- data/test/unit/svn_reporter_interaction_test.rb +1 -1
- data/test/unit/svn_reporter_test.rb +1 -1
- data/test/unit/svn_settings_test.rb +1 -1
- data/test/unit/user_test.rb +1 -1
- data/test/unit/{wiki_url_generator_test.rb → wiki_link_handler_test.rb} +3 -3
- data/test/unit/wiki_renderer_test.rb +75 -20
- data/test/unit/wiki_reporter_test.rb +1 -1
- data/vendor/mediacloth-trunk/MIT-LICENSE +20 -0
- data/vendor/mediacloth-trunk/README +32 -0
- data/vendor/mediacloth-trunk/Rakefile +33 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiast.rb +122 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikihtmlgenerator.rb +252 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikilexer.rb +821 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikilinkhandler.rb +68 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiparams.rb +33 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiparser.rb +1218 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiparser.y +493 -0
- data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiwalker.rb +146 -0
- data/vendor/mediacloth-trunk/lib/mediacloth.rb +29 -0
- data/vendor/mediacloth-trunk/mediacloth.gemspec +24 -0
- data/vendor/mediacloth-trunk/mediacloth.kdevelop +117 -0
- data/vendor/mediacloth-trunk/setup.rb +1585 -0
- data/vendor/mediacloth-trunk/test/data/html1 +26 -0
- data/vendor/mediacloth-trunk/test/data/html10 +130 -0
- data/vendor/mediacloth-trunk/test/data/html11 +17 -0
- data/vendor/mediacloth-trunk/test/data/html12 +12 -0
- data/vendor/mediacloth-trunk/test/data/html13 +11 -0
- data/vendor/mediacloth-trunk/test/data/html2 +2 -0
- data/vendor/mediacloth-trunk/test/data/html3 +1 -0
- data/vendor/mediacloth-trunk/test/data/html4 +47 -0
- data/vendor/mediacloth-trunk/test/data/html5 +57 -0
- data/vendor/mediacloth-trunk/test/data/html6 +8 -0
- data/vendor/mediacloth-trunk/test/data/html7 +45 -0
- data/vendor/mediacloth-trunk/test/data/html8 +1 -0
- data/vendor/mediacloth-trunk/test/data/html9 +14 -0
- data/vendor/mediacloth-trunk/test/data/input1 +34 -0
- data/vendor/mediacloth-trunk/test/data/input10 +124 -0
- data/vendor/mediacloth-trunk/test/data/input11 +17 -0
- data/vendor/mediacloth-trunk/test/data/input12 +15 -0
- data/vendor/mediacloth-trunk/test/data/input13 +10 -0
- data/vendor/mediacloth-trunk/test/data/input2 +2 -0
- data/vendor/mediacloth-trunk/test/data/input3 +2 -0
- data/vendor/mediacloth-trunk/test/data/input4 +50 -0
- data/vendor/mediacloth-trunk/test/data/input5 +63 -0
- data/vendor/mediacloth-trunk/test/data/input6 +8 -0
- data/vendor/mediacloth-trunk/test/data/input7 +45 -0
- data/vendor/mediacloth-trunk/test/data/input8 +1 -0
- data/vendor/mediacloth-trunk/test/data/input9 +14 -0
- data/vendor/mediacloth-trunk/test/data/lex1 +26 -0
- data/vendor/mediacloth-trunk/test/data/lex10 +85 -0
- data/vendor/mediacloth-trunk/test/data/lex11 +17 -0
- data/vendor/mediacloth-trunk/test/data/lex12 +15 -0
- data/vendor/mediacloth-trunk/test/data/lex13 +3 -0
- data/vendor/mediacloth-trunk/test/data/lex2 +2 -0
- data/vendor/mediacloth-trunk/test/data/lex3 +1 -0
- data/vendor/mediacloth-trunk/test/data/lex4 +47 -0
- data/vendor/mediacloth-trunk/test/data/lex5 +57 -0
- data/vendor/mediacloth-trunk/test/data/lex6 +8 -0
- data/vendor/mediacloth-trunk/test/data/lex7 +45 -0
- data/vendor/mediacloth-trunk/test/data/lex8 +1 -0
- data/vendor/mediacloth-trunk/test/data/lex9 +14 -0
- data/vendor/mediacloth-trunk/test/data/result1 +48 -0
- data/vendor/mediacloth-trunk/test/dataproducers/html.rb +18 -0
- data/vendor/mediacloth-trunk/test/dataproducers/lex.rb +15 -0
- data/vendor/mediacloth-trunk/test/debugwalker.rb +68 -0
- data/vendor/mediacloth-trunk/test/htmlgenerator.rb +97 -0
- data/vendor/mediacloth-trunk/test/lexer.rb +542 -0
- data/vendor/mediacloth-trunk/test/linkhandler.rb +39 -0
- data/vendor/mediacloth-trunk/test/parser.rb +22 -0
- data/vendor/mediacloth-trunk/test/testhelper.rb +27 -0
- data/vendor/mediacloth.rb +3 -0
- data/vendor/motiro-installer.rb +1 -1
- data/vendor/plugins/cache_test-0.2/CHANGELOG +14 -0
- data/vendor/plugins/cache_test-0.2/MIT-LICENSE +20 -0
- data/vendor/plugins/cache_test-0.2/README +124 -0
- data/vendor/plugins/cache_test-0.2/init.rb +8 -0
- data/vendor/plugins/cache_test-0.2/lib/fragment_cache_test.rb +205 -0
- data/vendor/plugins/cache_test-0.2/lib/page_cache_test.rb +140 -0
- data/vendor/plugins/global_routing/init.rb +1 -1
- metadata +517 -455
@@ -0,0 +1,26 @@
|
|
1
|
+
<p>This is a simple text with <b>Bold text</b> and <i>Italic text</i> inside.
|
2
|
+
One paragraph can be written in several lines.
|
3
|
+
|
4
|
+
</p><p>Another paragraph starts after a blank line.
|
5
|
+
|
6
|
+
</p><p>
|
7
|
+
Another one.
|
8
|
+
|
9
|
+
</p><p>This is text with <a href="javascript:void(0)">Internal Link</a> and <a href="http://www.example.com">external link</a>.
|
10
|
+
|
11
|
+
</p><p>We can have headlines:
|
12
|
+
|
13
|
+
</p><h1><a name='Headline1'></a> Headline1 </h1><h2><a name='Headline2'></a> Headline2 </h2><h3><a name='Headline3'></a> Headline3 </h3><h4><a name='Headline4'></a> Headline4 </h4><h5><a name='Headline5'></a> Headline5 </h5><h6><a name='Headline6'></a> Headline6 </h6><h7><a name='Headline7'></a> Headline7 </h7><p>
|
14
|
+
|
15
|
+
</p><p>Headlines may have formatting:
|
16
|
+
|
17
|
+
</p><h1><a name='See_for_more_info'></a> See <a href="javascript:void(0)">Internal Link</a> for more info </h1><h2><a name='This_is_an_important_heading'></a> This is an <b>important</b> heading </h2><p>
|
18
|
+
|
19
|
+
</p><pre> This is a preformatted <b> </b> << <i> </i> text
|
20
|
+
yes
|
21
|
+
</pre><hr></hr><p>
|
22
|
+
This is a text after the line.
|
23
|
+
|
24
|
+
</p><ul><li>foo
|
25
|
+
</li><li> foo2
|
26
|
+
</li></ul>
|
@@ -0,0 +1,130 @@
|
|
1
|
+
<p>Some examples of tables.
|
2
|
+
|
3
|
+
</p><table></table>
|
4
|
+
<p>
|
5
|
+
|
6
|
+
</p><table><tr></tr>
|
7
|
+
</table>
|
8
|
+
<p>
|
9
|
+
|
10
|
+
</p><table><tr><td> a
|
11
|
+
</td><td> b
|
12
|
+
</td></tr>
|
13
|
+
</table>
|
14
|
+
<p>
|
15
|
+
|
16
|
+
</p><table><tr><td> a
|
17
|
+
</td><td> b
|
18
|
+
</td></tr>
|
19
|
+
<tr><td> 1
|
20
|
+
</td><td> 2
|
21
|
+
</td></tr>
|
22
|
+
</table>
|
23
|
+
<p>
|
24
|
+
|
25
|
+
</p><table><tr><td> a </td><td> b
|
26
|
+
</td></tr>
|
27
|
+
<tr><td> 1 </td><td> 2
|
28
|
+
</td></tr>
|
29
|
+
</table>
|
30
|
+
<p>
|
31
|
+
|
32
|
+
</p><table><tr><th> a
|
33
|
+
</th><th> b
|
34
|
+
</th></tr>
|
35
|
+
<tr><td> 1
|
36
|
+
</td><td> 2
|
37
|
+
</td></tr>
|
38
|
+
</table>
|
39
|
+
<p>
|
40
|
+
|
41
|
+
</p><table><tr><th> a </th><th> b
|
42
|
+
</th></tr>
|
43
|
+
<tr><td> 1 </td><td> 2
|
44
|
+
</td></tr>
|
45
|
+
</table>
|
46
|
+
<p>
|
47
|
+
|
48
|
+
</p><table><tr><td> a
|
49
|
+
</td></tr>
|
50
|
+
<tr><td> 1
|
51
|
+
</td><td> 2
|
52
|
+
</td></tr>
|
53
|
+
</table>
|
54
|
+
<p>
|
55
|
+
|
56
|
+
</p><table><tr><td> a
|
57
|
+
</td><td> b
|
58
|
+
</td></tr>
|
59
|
+
<tr><td> 1
|
60
|
+
</td></tr>
|
61
|
+
</table>
|
62
|
+
<p>
|
63
|
+
|
64
|
+
</p><table><tr><td> a
|
65
|
+
</td><td> b
|
66
|
+
</td></tr>
|
67
|
+
<tr><td></td><td> 2
|
68
|
+
</td></tr>
|
69
|
+
</table>
|
70
|
+
<p>
|
71
|
+
|
72
|
+
</p><table><tr><td> <a href="http://example.com">Example</a></td><td> <b>bold</b></td></tr>
|
73
|
+
<tr><td> <a href="javascript:void(0)">Example</a></td><td> <a href="javascript:void(0)">image:example.jpg(1, 2, 3)</a></td></tr>
|
74
|
+
</table>
|
75
|
+
<p>
|
76
|
+
|
77
|
+
</p><table><tr><td> <a href="http://example.com">Example</a></td><td> <b>bold
|
78
|
+
</b></td></tr>
|
79
|
+
<tr><td> <a href="javascript:void(0)">Example</a></td><td> <b>bold <i>italic
|
80
|
+
</i></b></td></tr>
|
81
|
+
</table>
|
82
|
+
<p>
|
83
|
+
|
84
|
+
</p><table><tr><td> a
|
85
|
+
</td><td> b
|
86
|
+
</td></tr>
|
87
|
+
<tr><td> A list in a cell:
|
88
|
+
<ul><li> one
|
89
|
+
</li><li> two
|
90
|
+
</li></ul></td></tr>
|
91
|
+
</table>
|
92
|
+
<p>
|
93
|
+
|
94
|
+
</p><table><tr><td> a
|
95
|
+
</td><td> b
|
96
|
+
</td></tr>
|
97
|
+
<tr><td> A table in a cell:
|
98
|
+
<table><tr><td> 1
|
99
|
+
</td><td> 2
|
100
|
+
</td></tr>
|
101
|
+
<tr><td> one
|
102
|
+
</td><td> two
|
103
|
+
</td></tr>
|
104
|
+
</table>
|
105
|
+
</td></tr>
|
106
|
+
</table>
|
107
|
+
<p>
|
108
|
+
|
109
|
+
</p><table border="1"><tr><th> a
|
110
|
+
</th><th> b
|
111
|
+
</th></tr>
|
112
|
+
<tr align="left"><td> 1
|
113
|
+
</td><td> 2
|
114
|
+
</td></tr>
|
115
|
+
</table>
|
116
|
+
<p>
|
117
|
+
|
118
|
+
</p><p>
|
119
|
+
Text before
|
120
|
+
</p><table><tr><td> a
|
121
|
+
</td><td> b
|
122
|
+
</td></tr>
|
123
|
+
</table>
|
124
|
+
<p>
|
125
|
+
|
126
|
+
</p><p>Text before with <i>italic
|
127
|
+
</i></p><table><tr><td> a
|
128
|
+
</td><td> b
|
129
|
+
</td></tr>
|
130
|
+
</table>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<h2><a name='Examples_of_XHTML_markup_and_escaping_of_XML_characters'></a>Examples of XHTML markup and escaping of XML characters</h2><p>
|
2
|
+
|
3
|
+
</p><p>Here is a <tt>code sample</tt>.
|
4
|
+
|
5
|
+
</p><p>Another <tt class="code">code sample</tt>.
|
6
|
+
|
7
|
+
</p><p>An example of a <tt>code sample</tt>.
|
8
|
+
|
9
|
+
</p><p>Some math:
|
10
|
+
|
11
|
+
</p><pre> 1 < 2 & 1 > 0
|
12
|
+
</pre><p>
|
13
|
+
And more text.
|
14
|
+
|
15
|
+
</p><ul><li> one
|
16
|
+
</li><li> two <span>a b
|
17
|
+
c d e f</span></li></ul>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<ul><li>1 <a href='#Headline1'> Headline1 </a></li>
|
2
|
+
<ul><li>1.1 <a href='#Sub_Headline_1a'> Sub Headline 1a </a></li>
|
3
|
+
<li>1.2 <a href='#Sub_Headline_1b'> Sub Headline 1b </a></li>
|
4
|
+
</ul><li>2 <a href='#Headline2'> Headline2 </a></li>
|
5
|
+
<ul><li>2.1 <a href='#Sub_Headline_2a'> Sub Headline 2a </a></li>
|
6
|
+
<ul><li>2.1.1 <a href='#Sub_Sub_Headline_2i'> Sub Sub Headline <i>2i</i> </a></li>
|
7
|
+
<li>2.1.2 <a href='#Sub_Sub_Headline_2ii'> Sub Sub Headline <b>2ii</b> </a></li>
|
8
|
+
</ul><li>2.2 <a href='#Sub_Headline_2b'> Sub Headline 2b </a></li>
|
9
|
+
</ul></ul><p>
|
10
|
+
|
11
|
+
</p><h1><a name='Headline1'></a> Headline1 </h1><h2><a name='Sub_Headline_1a'></a> Sub Headline 1a </h2><h2><a name='Sub_Headline_1b'></a> Sub Headline 1b </h2><h1><a name='Headline2'></a> Headline2 </h1><h2><a name='Sub_Headline_2a'></a> Sub Headline 2a </h2><h3><a name='Sub_Sub_Headline_2i'></a> Sub Sub Headline <i>2i</i> </h3><h3><a name='Sub_Sub_Headline_2ii'></a> Sub Sub Headline <b>2ii</b> </h3><h2><a name='Sub_Headline_2b'></a> Sub Headline 2b </h2>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>--Sat Jan 01 01:01:01 UTC 2000CreatorCreator Sat Jan 01 01:01:01 UTC 2000</p>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<p>Test mixing of bold and italic formatting:
|
2
|
+
|
3
|
+
</p><p><i>italic<b>bold</b>italic</i>
|
4
|
+
|
5
|
+
</p><p><b>bold<i>italic</i>bold</b>
|
6
|
+
|
7
|
+
</p><p><i><b>boldalic</b></i>
|
8
|
+
|
9
|
+
</p><p><i>italic<b>bold</b>italic</i><b>bold<i>italic</i>bold</b>
|
10
|
+
|
11
|
+
</p><p>
|
12
|
+
Test bold and italic wrapped around inline links:
|
13
|
+
|
14
|
+
</p><p><i><a href="http://example.com">http://example.com</a></i>
|
15
|
+
|
16
|
+
</p><p><b><a href="http://example.com">http://example.com</a></b>
|
17
|
+
|
18
|
+
</p><p><i><a href="http://example.com">http://example.com</a><b>
|
19
|
+
|
20
|
+
</b></i></p><p><b><a href="http://example.com">http://example.com</a>' is good</b>
|
21
|
+
|
22
|
+
</p><p><i><a href="http://example.com">http://example.com</a>' is good</i>
|
23
|
+
|
24
|
+
</p><p>
|
25
|
+
Test unclosed bold and italic formatting:
|
26
|
+
|
27
|
+
</p><p><i>Some italic and now </i>bold
|
28
|
+
</p><h2><a name='Heading'></a>Heading</h2><p>
|
29
|
+
Text
|
30
|
+
|
31
|
+
</p><p><i>Some italic and now <b>bold
|
32
|
+
</b></i></p><h2><a name='Heading'></a>Heading</h2><p>
|
33
|
+
Text
|
34
|
+
|
35
|
+
</p><p><i>Some italic and now <b>bold
|
36
|
+
|
37
|
+
</b></i></p><h2><a name='Heading'></a>Heading</h2><p>
|
38
|
+
Text
|
39
|
+
|
40
|
+
</p><p><i>Some italic and now <b>bold
|
41
|
+
</b></i></p><ul><li> one
|
42
|
+
</li><li> two
|
43
|
+
</li></ul><p>
|
44
|
+
|
45
|
+
</p><p><i>Some italic and now <b>bold
|
46
|
+
|
47
|
+
</b></i></p><p>Text</p>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<p>Unordered lists
|
2
|
+
|
3
|
+
</p><ul><li>A
|
4
|
+
<ul><li>A
|
5
|
+
<ul><li>a
|
6
|
+
</li><li>b
|
7
|
+
<ul><li>a
|
8
|
+
</li></ul></li></ul></li></ul></li><li>B
|
9
|
+
<ul><li>b
|
10
|
+
</li></ul></li></ul><ul><li>A
|
11
|
+
</li><li>B
|
12
|
+
</li><li></li></ul><p>
|
13
|
+
Ordered lists
|
14
|
+
|
15
|
+
</p><ol><li>a
|
16
|
+
<ol><li>a
|
17
|
+
<ol><li>a
|
18
|
+
<ol><li>a
|
19
|
+
</li></ol></li></ol></li></ol></li><li>a
|
20
|
+
<ol><li>aa
|
21
|
+
</li></ol></li></ol><ol><li>A
|
22
|
+
</li><li>B
|
23
|
+
</li><li></li></ol><p>
|
24
|
+
Mixed lists
|
25
|
+
|
26
|
+
</p><ul><li>a
|
27
|
+
<ol><li>1
|
28
|
+
</li><li>2
|
29
|
+
</li></ol></li><li>b
|
30
|
+
</li></ul><ol><li>a
|
31
|
+
<ul><li>1
|
32
|
+
</li><li>2
|
33
|
+
<ul><li>2
|
34
|
+
</li></ul></li></ul></li><li>b
|
35
|
+
</li></ol><p>
|
36
|
+
Dictionary lists
|
37
|
+
|
38
|
+
</p><dl><dt>d
|
39
|
+
</dt></dl><p>
|
40
|
+
|
41
|
+
</p><dl><dd>t
|
42
|
+
</dd></dl><p>
|
43
|
+
|
44
|
+
</p><dl><dt>d
|
45
|
+
</dt><dd>t
|
46
|
+
</dd></dl><p>
|
47
|
+
|
48
|
+
</p><dl><dt>d
|
49
|
+
</dt><dd>t
|
50
|
+
</dd><dd>t
|
51
|
+
</dd></dl><p>
|
52
|
+
|
53
|
+
</p><dl><dt>d
|
54
|
+
</dt><dd>t
|
55
|
+
</dd></dl><dl><dt>d
|
56
|
+
</dt><dd>t
|
57
|
+
</dd></dl><dl><dt>d </dt><dd>t <a href="javascript:void(0)">image:foo.jpg()</a></dd></dl>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<p><a href="http://sun.com">http://sun.com</a>
|
2
|
+
|
3
|
+
</p><p><a href="http://sun.com">http://sun.com</a>
|
4
|
+
|
5
|
+
</p><p><a href="mailto:joe@sun.com">mailto:joe@sun.com</a>
|
6
|
+
|
7
|
+
</p><p><a href="http://sun.com">stars</a>
|
8
|
+
|
9
|
+
</p><p><a href="http://sun.com">stars and moon</a>
|
10
|
+
|
11
|
+
</p><p><a href="http://sun.com">stars and <i>moon</i> and <b>trees</b> and birds</a>
|
12
|
+
|
13
|
+
</p><p><a href="http://sun.com"><tt>sun</tt> and <tt>moon</tt></a>
|
14
|
+
|
15
|
+
</p><p><a href="http://sun.com">sun > moon</a>
|
16
|
+
|
17
|
+
</p><p><a href="javascript:void(0)">sun</a>
|
18
|
+
|
19
|
+
</p><p><a href="javascript:void(0)">All about Sun</a>
|
20
|
+
|
21
|
+
</p><p><a href="javascript:void(0)">image:sun(All about Sun)</a>
|
22
|
+
|
23
|
+
</p><p><a href="javascript:void(0)">nofollow|All about Sun</a>
|
24
|
+
|
25
|
+
</p><p><a href="javascript:void(0)">nofollow|Sun > Moon</a>
|
26
|
+
|
27
|
+
</p><p><a href="javascript:void(0)">nofollow|<tt>sun</tt> and <tt>moon</tt></a>
|
28
|
+
|
29
|
+
</p><p><a href="javascript:void(0)">image:sun(nofollow, All about Sun)</a>
|
30
|
+
|
31
|
+
</p><p><a href="javascript:void(0)">image:sun(All about <a href="javascript:void(0)">Sun</a>)</a>
|
32
|
+
|
33
|
+
</p><p><a href="javascript:void(0)">image:sun(All about <a href="javascript:void(0)">More about</a>)</a>
|
34
|
+
|
35
|
+
</p><p><a href="javascript:void(0)">image:sun(one, two, three)</a>
|
36
|
+
|
37
|
+
</p><p><a href="javascript:void(0)">image:sun(one, <a href="javascript:void(0)">bbb|ccc</a>, <a href="javascript:void(0)">image:moon(aaa, bbb, ccc)</a>, two)</a>
|
38
|
+
|
39
|
+
</p><p>[]
|
40
|
+
|
41
|
+
</p><p>[ ]
|
42
|
+
|
43
|
+
</p><p>[[]]
|
44
|
+
|
45
|
+
</p><p><a href="javascript:void(0)"> </a></p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<h3><a name='foo'></a> foo </h3>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<p>Some examples of wiki escaping.
|
2
|
+
|
3
|
+
</p><p>A paragraph with some wiki characters: ''italic'' '''bold''' [[Link]]
|
4
|
+
|
5
|
+
</p><p>An escaped list:
|
6
|
+
|
7
|
+
* one
|
8
|
+
* two
|
9
|
+
* three
|
10
|
+
|
11
|
+
|
12
|
+
</p><p>Text escaped in a heading:
|
13
|
+
|
14
|
+
</p><h2><a name='Heading_with_''''></a>Heading with '''</h2>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
This is a simple text with '''Bold text''' and ''Italic text'' inside.
|
2
|
+
One paragraph can be written in several lines.
|
3
|
+
|
4
|
+
Another paragraph starts after a blank line.
|
5
|
+
|
6
|
+
|
7
|
+
Another one.
|
8
|
+
|
9
|
+
This is text with [[Internal Link]] and [http://www.example.com external link].
|
10
|
+
|
11
|
+
We can have headlines:
|
12
|
+
|
13
|
+
|
14
|
+
= Headline1 =
|
15
|
+
== Headline2 ==
|
16
|
+
=== Headline3 ===
|
17
|
+
==== Headline4 ====
|
18
|
+
===== Headline5 =====
|
19
|
+
====== Headline6 ======
|
20
|
+
======= Headline7 =======
|
21
|
+
|
22
|
+
Headlines may have formatting:
|
23
|
+
|
24
|
+
= See [[Internal Link]] for more info =
|
25
|
+
== This is an '''important''' heading ==
|
26
|
+
|
27
|
+
This is a preformatted ''' ''' << '' '' text
|
28
|
+
yes
|
29
|
+
|
30
|
+
----
|
31
|
+
This is a text after the line.
|
32
|
+
|
33
|
+
*foo
|
34
|
+
* foo2
|
@@ -0,0 +1,124 @@
|
|
1
|
+
Some examples of tables.
|
2
|
+
|
3
|
+
{|
|
4
|
+
|}
|
5
|
+
|
6
|
+
{|
|
7
|
+
|-
|
8
|
+
|}
|
9
|
+
|
10
|
+
{|
|
11
|
+
| a
|
12
|
+
| b
|
13
|
+
|}
|
14
|
+
|
15
|
+
{|
|
16
|
+
| a
|
17
|
+
| b
|
18
|
+
|-
|
19
|
+
| 1
|
20
|
+
| 2
|
21
|
+
|}
|
22
|
+
|
23
|
+
{|
|
24
|
+
| a || b
|
25
|
+
|-
|
26
|
+
| 1 || 2
|
27
|
+
|}
|
28
|
+
|
29
|
+
{|
|
30
|
+
! a
|
31
|
+
! b
|
32
|
+
|-
|
33
|
+
| 1
|
34
|
+
| 2
|
35
|
+
|}
|
36
|
+
|
37
|
+
{|
|
38
|
+
! a || b
|
39
|
+
|-
|
40
|
+
| 1 || 2
|
41
|
+
|}
|
42
|
+
|
43
|
+
{|
|
44
|
+
| a
|
45
|
+
|-
|
46
|
+
| 1
|
47
|
+
| 2
|
48
|
+
|}
|
49
|
+
|
50
|
+
{|
|
51
|
+
| a
|
52
|
+
| b
|
53
|
+
|-
|
54
|
+
| 1
|
55
|
+
|}
|
56
|
+
|
57
|
+
{|
|
58
|
+
| a
|
59
|
+
| b
|
60
|
+
|-
|
61
|
+
|
|
62
|
+
| 2
|
63
|
+
|}
|
64
|
+
|
65
|
+
{|
|
66
|
+
| [http://example.com Example]
|
67
|
+
| '''bold'''
|
68
|
+
|-
|
69
|
+
| [[example|Example]]
|
70
|
+
| [[image:example.jpg|1|2|3]]
|
71
|
+
|}
|
72
|
+
|
73
|
+
{|
|
74
|
+
| [http://example.com Example
|
75
|
+
| '''bold
|
76
|
+
|-
|
77
|
+
| [[example|Example
|
78
|
+
| '''bold ''italic
|
79
|
+
|}
|
80
|
+
|
81
|
+
{|
|
82
|
+
| a
|
83
|
+
| b
|
84
|
+
|-
|
85
|
+
| A list in a cell:
|
86
|
+
* one
|
87
|
+
* two
|
88
|
+
|}
|
89
|
+
|
90
|
+
{|
|
91
|
+
| a
|
92
|
+
| b
|
93
|
+
|-
|
94
|
+
| A table in a cell:
|
95
|
+
{|
|
96
|
+
| 1
|
97
|
+
| 2
|
98
|
+
|-
|
99
|
+
| one
|
100
|
+
| two
|
101
|
+
|}
|
102
|
+
|}
|
103
|
+
|
104
|
+
|
105
|
+
{| border="1"
|
106
|
+
! a
|
107
|
+
! b
|
108
|
+
|- align="left"
|
109
|
+
| 1
|
110
|
+
| 2
|
111
|
+
|}
|
112
|
+
|
113
|
+
|
114
|
+
Text before
|
115
|
+
{|
|
116
|
+
| a
|
117
|
+
| b
|
118
|
+
|}
|
119
|
+
|
120
|
+
Text before with ''italic
|
121
|
+
{|
|
122
|
+
| a
|
123
|
+
| b
|
124
|
+
|}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
==Examples of XHTML markup and escaping of XML characters==
|
2
|
+
|
3
|
+
Here is a <tt>code sample</tt>.
|
4
|
+
|
5
|
+
Another <tt class='code'>code sample</tt>.
|
6
|
+
|
7
|
+
An example of a <nowiki><tt>code sample</tt></nowiki>.
|
8
|
+
|
9
|
+
Some math:
|
10
|
+
|
11
|
+
1 < 2 & 1 > 0
|
12
|
+
|
13
|
+
And more text.
|
14
|
+
|
15
|
+
* one
|
16
|
+
* two <span>a b
|
17
|
+
c d e f</span>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
Test mixing of bold and italic formatting:
|
2
|
+
|
3
|
+
''italic'''bold'''italic''
|
4
|
+
|
5
|
+
'''bold''italic''bold'''
|
6
|
+
|
7
|
+
'''''boldalic'''''
|
8
|
+
|
9
|
+
''italic'''bold'''italic'''''bold''italic''bold'''
|
10
|
+
|
11
|
+
|
12
|
+
Test bold and italic wrapped around inline links:
|
13
|
+
|
14
|
+
''http://example.com''
|
15
|
+
|
16
|
+
'''http://example.com'''
|
17
|
+
|
18
|
+
''http://example.com'''
|
19
|
+
|
20
|
+
'''http://example.com' is good'''
|
21
|
+
|
22
|
+
''http://example.com' is good''
|
23
|
+
|
24
|
+
|
25
|
+
Test unclosed bold and italic formatting:
|
26
|
+
|
27
|
+
''Some italic and now ''bold
|
28
|
+
==Heading==
|
29
|
+
Text
|
30
|
+
|
31
|
+
|
32
|
+
''Some italic and now '''bold
|
33
|
+
==Heading==
|
34
|
+
Text
|
35
|
+
|
36
|
+
|
37
|
+
''Some italic and now '''bold
|
38
|
+
|
39
|
+
==Heading==
|
40
|
+
Text
|
41
|
+
|
42
|
+
|
43
|
+
''Some italic and now '''bold
|
44
|
+
* one
|
45
|
+
* two
|
46
|
+
|
47
|
+
|
48
|
+
''Some italic and now '''bold
|
49
|
+
|
50
|
+
Text
|