Skip to content

Some things in the export are broken #14

@spctrlth

Description

@spctrlth

Hey,

We've got an etherpad instance running with plug-ins markdown v0.0.10, mediawiki v0.0.7 and headings2 v0.0.9

When we want to export to mediawiki, we notice the things aren't exported correctly.

I made a testpad to see what in the exports didn't work properly. The document had

  • All six headings (see https://github.com/ether/ep_headings2 )
  • Plain text
  • A link
  • Bold, italic, striked through, underlined and bold AND italic text
  • A codeblock
  • Bullet points (unordered list) two indents deep
  • Ordered list two indents deep
  • A list with combination of ordered and unordered (one indent deep)
  • regular indentation (one indent and two indents deep)
  • superscript
  • subscript
  • colours (black, red, reen, blue, yellow, orange)

My conclusions:

  • Headers don't work properly, they all just have a star in front of them.
  • code just has a star in front of it.
    • should use the tags <code>source code</code>
    • Otherwise a space in front of the text instead of a star could also be done, so that it is shown as a preformatted textblock
    • A preformatted textblock can also be done with <nowiki>textblock, inluding newlines</nowiki> (notice the space before the <nowiki> tag)
  • regular indentation is shown as bulletpoints, only one deep
    • Should be :indent, ::double indent...
  • superscript and subscript don't work
    • should be <sup>superscript</sup> and <sub>subscript</sub>
  • Coloured text also doesn't work
    • Example for red text: <span style="color: red;">Red coloured text</span>

See also https://www.mediawiki.org/wiki/Help:Formatting

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions