Improve wiki edit documentation

This commit is contained in:
wvengen 2015-03-20 15:50:49 +01:00
parent c59ee3a6a7
commit a6f02a24d4
3 changed files with 29 additions and 21 deletions

View File

@ -1345,20 +1345,24 @@ en:
help:
bold: bold
external_link_ex: External page
external_links: External links
external_links: External
heading: level %{level}
headings: Heading
italic: italic
image_links: Images
image_link_title: Image title
link_lists: More on lists
link_table: Table formatting
link_templates: Templates
link_variables: Foodsoft variables
list_item_1: First list item
list_item_2: Second list item
noformat: No wiki-formatting
noformat: No formatting
ordered_list: Numbered list
section_block: Block formatting
section_character: Character formatting
section_link: Link formatting
section_table: Table formatting
see_tables: see %{tables_link}
tables_link: Tables
section_more: More topics
text: text
title: Quick formatting help
unordered_list: Item list

View File

@ -1345,7 +1345,7 @@ nl:
italic: italic
list_item_1: Eerste in de lijst
list_item_2: Tweede in de lijst
noformat: Zonder wiki-opmaak
noformat: Zonder opmaak
ordered_list: Genummerde lijst
section_block: Paragrafen
section_character: Tekens

View File

@ -17,7 +17,7 @@
= link_to t('ui.or_cancel'), @page
.span4
%h3= t '.help.title'
%h3(style='margin-top: 0')= t '.help.title'
%table.table
%tbody
%tr
@ -45,24 +45,20 @@
%td= t '.help.headings'
%td
%pre
\== #{t '.help.heading', level: 1} ==
%pre
\=== #{t '.help.heading', level: 2} ===
%pre
\==== #{t '.help.heading', level: 3} ====
\== #{t '.help.heading', level: 1} == <br>
\=== #{t '.help.heading', level: 2} === <br>
\==== #{t '.help.heading', level: 3} ==== <br>
%tr
%td= t '.help.unordered_list'
%td
%pre
* #{t '.help.list_item_1'}
%pre
** #{t '.help.list_item_2'}
* #{t '.help.list_item_1'} <br>
* #{t '.help.list_item_2'}
%tr
%td= t '.help.ordered_list'
%td
%pre
\# #{t '.help.list_item_1'}
%pre
\# #{t '.help.list_item_1'} <br>
\# #{t '.help.list_item_2'}
%tr
%td(colspan=2)
@ -78,8 +74,16 @@
%pre
[http://example.net #{t '.help.external_link_ex'}]
%tr
%td(colspan=2)
%b= t '.help.section_table'
%td= t '.help.image_links'
%td
%pre
[[Image:http://example.net/image.jpg|#{t '.help.image_link_title'}]]
%tr
%td!= t '.help.see_tables', tables_link: link_to(t('.help.tables_link'), "http://www.mediawiki.org/wiki/Help:Tables", :target => '_blank')
%td(colspan=2)
%b= t '.help.section_more'
%tr
%td(colspan=2)
%ul
%li!= link_to t('.help.link_table'), '//www.mediawiki.org/wiki/Help:Tables', target: '_blank'
%li!= link_to t('.help.link_lists'), '//www.mediawiki.org/wiki/Help:Lists', target: '_blank'
%li!= link_to t('.help.link_templates'), '//www.mediawiki.org/wiki/Help:Templates', target: '_blank'