> Do you think that HTML is a good backing store for pages?

No, because we can't losslessly translate from X markup language <-->
HTML without X being as powerful as HTML.  And that means that X
inherits all of the ugliness of MDN's HTML markup.

> If not, what should they be?

We should store the data in the same format as it's entered by users.
We shouldn't do any transformations on it.

It's the same thing with code.  We don't try to store preprocessed JS
files in hg and then un-pre-process them before we edit them.

> Should one particular form of markdown/wiki syntax "win"?

Yes.

> What do you do about tags a particular syntax doesn't support?

I don't buy the argument that MDN needs to support all existing HTML
tags.  But anyway, many flavors of markdown allow arbitrary embedded
HTML.  I'd be OK with that, if used sparingly.

> What about tables?  I find them so fun to edit in any markdown syntax
> </sarcasm>

Is your argument that no markdown language could possibly support
tables as well as HTML does?  Surely that's incorrect, as any markdown
language could import HTML tables wholesale.

On Fri, Aug 3, 2012 at 2:46 PM, Jeff Hammel <[email protected]> wrote:
> On 08/03/2012 11:38 AM, Benoit Jacob wrote:
>>
>>
>>
>> 2012/8/3 Jeff Hammel <[email protected] <mailto:[email protected]>>
>>
>>
>>     I would argue HTML is a good, or even great, backing format.  It's
>>     what mozilla does.  It is a real standard. There are a plethora of
>>     tools to deal with HTML documents. It is very malleable.  There is
>>     a clear DOM translation to its markup.
>>
>>
>> How is this compatible with the fact that earlier in this thread, it has
>> been said that the fact that the HTML source of MDN pages was hard to
>> translate to other markup languages, meaning that offering another markup
>> editing option would be hard?
>>
>> Source formats should be easy to translate to other formats. HTML is
>> mostly a final-form format, in this respect. HTML code generated by WYSIWYG
>> editors even more so.
>>
>> Benoit
>>
> mediawiki syntax does not cover all of HTML.  HTML is a superset of what
> mediawiki can represent, so that it can not be losslessly translated to
> mediawiki syntax. There are translators that do this, e.g.
> http://code.google.com/p/gwtwiki/wiki/HTML2Mediawiki , but since mediawiki
> does not support all of HTML, what to do for markup that can't be translated
> is a non-trivial question.
>
>>
>>
>>
>>             That said, we know that there are people that prefer
>>             MediaWiki and we'll
>>             see if we can find a way to let people use some kind of
>>             tool that lets them
>>             paste MediaWiki syntax in and get it automatically
>>             converted into HTML. But
>>             that's not going to happen right away, since there are
>>             still some more
>>             fundamental site features we need to work on.
>>
>>             I know this is frustrating to some people that prefer
>>             MediaWiki syntax,
>>             and we'll see what we can do. I just can't make any
>>             promises, and obviously
>>             anything we do manage to do won't be the same as a raw
>>             MediaWiki setup.
>>
>>         Even just minimal basic support for some mediawiki markup
>>         would make it
>>         more convenient for me to type documents in, than to have to
>>         type in HTML
>>         or use a WYSIWYG editor.
>>
>>             I'm surprised you hadn't heard of Kuma; we've been talking
>>             about it at
>>             length for over a year, including posts to this very
>>             mailing list asking
>>             for people to help us test it. This makes me feel sad
>>             since we worked so
>>             hard to get the word out. :)
>>
>>         Nah, I don't read mailing lists carefully enough and I don't
>>         contribute
>>         much to MDN, so this only speaks of my own ignorance.
>>
>>         Thanks for taking care of MDN!
>>         Benoit
>>
>>
>>
>>             Eric Shepherd
>>             Developer Documentation Lead
>>             Mozilla
>>             http://www.bitstampede.com/
>>             _______________________________________________
>>             dev-platform mailing list
>>             [email protected]
>>             <mailto:[email protected]>
>>
>>             https://lists.mozilla.org/listinfo/dev-platform
>>
>>         _______________________________________________
>>         dev-platform mailing list
>>         [email protected]
>>         <mailto:[email protected]>
>>
>>         https://lists.mozilla.org/listinfo/dev-platform
>>
>>
>>
>>     _______________________________________________
>>     dev-platform mailing list
>>     [email protected] <mailto:[email protected]>
>>     https://lists.mozilla.org/listinfo/dev-platform
>>
>>
>
>
> _______________________________________________
> dev-platform mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to