Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2962

Write automatic converter from XWiki Syntax 1.0 to XWiki Syntax 2.0

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.8 M1
    • 1.7 RC1
    • {Unused} Rendering 2.0
    • None
    • Unit

    Description

      To ease migration to XWiki Syntax 2.0 and thus to the new WYSIWYG.

      See http://dev.xwiki.org/xwiki/bin/view/Drafts/SyntaxMigrationGuide and http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax

      Things to convert

      • Bold syntax
      • Italic syntax
      • Link syntax
      • List syntax
        • 2.0 support a paragraph but 1.0 stop at first found new line
        • mixed syntaxes are not supported
      • Section syntax
        • 2.0 support a paragraph but 1.0 stop at first found new line
        • section consume all following new lines
      • Pre macro
        • spaces and new lines are not taken into account (the HTML way)
      • Radeox macros
        • code
          • never inline
          • executed before anything else, even velocity
          • support mixed parameters types (with or without the key)
        • attach
          • always inline
          • support mixed parameters types (with or without the key)
        • chart (depends on XWIKI-2883)
        • image
          • always inline
          • support mixed parameters types (with or without the key)
        • jira (depends on XWIKI-3078)
        • quote
        • rss (depends on XWIKI-2882)
        • style (depends on XWIKI-2967)
        • table
          • never inline
        • field
        • display
        • form
        • graphviz
        • laszlo
        • svg
      • Velocity macros
        • include
          • always inline
        • toc
          • never inline
        • info, warning, error (depends on XWIKI-2968)
          • always inline
      • enclose velocity code velocity macro
      • enclose html code html macro
      • single new line are generally not taken into account in 1.0
      • escape pure 2.0 syntax

      Things not convertible

      • 1.0 syntax generated by Velocity

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: