[Libreoffice-commits] help.git: to-wiki/wikiconv2.py

Dennis Roczek dennisroczek at libreoffice.org
Tue Dec 1 14:47:14 PST 2015


 to-wiki/wikiconv2.py |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 343ae098d59e0ac1d5e6acbe3aeb33799d7b7ca7
Author: Dennis Roczek <dennisroczek at libreoffice.org>
Date:   Tue Dec 1 20:07:36 2015 +0100

    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 at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py
index 5f2da13..456810d 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',


More information about the Libreoffice-commits mailing list