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: help:
bold: bold bold: bold
external_link_ex: External page external_link_ex: External page
external_links: External links external_links: External
heading: level %{level} heading: level %{level}
headings: Heading headings: Heading
italic: italic 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_1: First list item
list_item_2: Second list item list_item_2: Second list item
noformat: No wiki-formatting noformat: No formatting
ordered_list: Numbered list ordered_list: Numbered list
section_block: Block formatting section_block: Block formatting
section_character: Character formatting section_character: Character formatting
section_link: Link formatting section_link: Link formatting
section_table: Table formatting section_more: More topics
see_tables: see %{tables_link}
tables_link: Tables
text: text text: text
title: Quick formatting help title: Quick formatting help
unordered_list: Item list unordered_list: Item list

View file

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

View file

@ -17,7 +17,7 @@
= link_to t('ui.or_cancel'), @page = link_to t('ui.or_cancel'), @page
.span4 .span4
%h3= t '.help.title' %h3(style='margin-top: 0')= t '.help.title'
%table.table %table.table
%tbody %tbody
%tr %tr
@ -45,24 +45,20 @@
%td= t '.help.headings' %td= t '.help.headings'
%td %td
%pre %pre
\== #{t '.help.heading', level: 1} == \== #{t '.help.heading', level: 1} == <br>
%pre \=== #{t '.help.heading', level: 2} === <br>
\=== #{t '.help.heading', level: 2} === \==== #{t '.help.heading', level: 3} ==== <br>
%pre
\==== #{t '.help.heading', level: 3} ====
%tr %tr
%td= t '.help.unordered_list' %td= t '.help.unordered_list'
%td %td
%pre %pre
* #{t '.help.list_item_1'} * #{t '.help.list_item_1'} <br>
%pre * #{t '.help.list_item_2'}
** #{t '.help.list_item_2'}
%tr %tr
%td= t '.help.ordered_list' %td= t '.help.ordered_list'
%td %td
%pre %pre
\# #{t '.help.list_item_1'} \# #{t '.help.list_item_1'} <br>
%pre
\# #{t '.help.list_item_2'} \# #{t '.help.list_item_2'}
%tr %tr
%td(colspan=2) %td(colspan=2)
@ -78,8 +74,16 @@
%pre %pre
[http://example.net #{t '.help.external_link_ex'}] [http://example.net #{t '.help.external_link_ex'}]
%tr %tr
%td(colspan=2) %td= t '.help.image_links'
%b= t '.help.section_table' %td
%pre
[[Image:http://example.net/image.jpg|#{t '.help.image_link_title'}]]
%tr %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'