summaryrefslogtreecommitdiff
path: root/to-wiki
diff options
context:
space:
mode:
authorDennis Roczek <dennisroczek@libreoffice.org>2015-12-01 20:07:36 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-12-01 22:46:52 +0000
commit343ae098d59e0ac1d5e6acbe3aeb33799d7b7ca7 (patch)
tree17875ccb781322d3d5f6853372b2d388a9271e05 /to-wiki
parentb5520a0314051d211a1e9e027b3cbd078947b969 (diff)
fix xhp to wiki conversation script to allow multiline code
Change-Id: I4772b1b9ab25c3c9ecf6f418817ee89ba0e8f671 Reviewed-on: https://gerrit.libreoffice.org/20337 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'to-wiki')
-rwxr-xr-xto-wiki/wikiconv2.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py
index 5f2da13d88..456810d38c 100755
--- a/to-wiki/wikiconv2.py
+++ b/to-wiki/wikiconv2.py
@@ -44,7 +44,7 @@ replace_paragraph_role = \
'head2': '== ', # used only in one file, probably in error?
'listitem': '',
'logocode': '<code>',
- 'note': '{{Note|',
+ 'note': '{{Note|1=',
'null': '', # special paragraph for Variable, CaseInline, etc.
'paragraph': '',
'related': '', # used only in one file, probably in error?
@@ -52,18 +52,18 @@ replace_paragraph_role = \
'sup' : '',
'tablecontent': '| | ',
'tablecontentcode': '| | <code>',
- 'tablecontentnote': '| |{{Note|',
- 'tablecontenttip': '| |{{Tip|',
- 'tablecontentwarning': '| |{{Warning|',
+ 'tablecontentnote': '| |{{Note|1=',
+ 'tablecontenttip': '| |{{Tip|1=',
+ 'tablecontentwarning': '| |{{Warning|1=',
'tablehead': '! scope="col" | ',
- 'tablenextnote': '\n{{Note|',
+ 'tablenextnote': '\n{{Note|1=',
'tablenextpara': '\n',
'tablenextparacode': '\n<code>',
- 'tablenexttip': '\n{{Tip|',
- 'tablenextwarning': '\n{{Warning|',
- 'tip': '{{Tip|',
+ 'tablenexttip': '\n{{Tip|1=',
+ 'tablenextwarning': '\n{{Warning|1=',
+ 'tip': '{{Tip|1=',
'variable': '',
- 'warning': '{{Warning|',
+ 'warning': '{{Warning|1=',
},
'end':{'bascode': '\n',
'code': '</code>\n\n',