[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-08-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

--- Comment #4 from Matthew Flaschen mflasc...@wikimedia.org ---
The problem with treating it as native HTML section element is that it
doesn't really use HTML-like syntax.

As noted at
https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion#Step_1:_Mark_off_sections,
the syntax uses what looks like self-closing tags, with the real content in
between:

section begin=chapter1 /this is a chaptersection end=chapter1 /

This is not how an HTML5 section tag
(http://html5doctor.com/the-section-element/), or really any HTML tag, works.

See also my comment (based on a real example) and link at bug 52252.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-08-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

--- Comment #5 from Matthew Flaschen mflasc...@wikimedia.org ---
It could still probably be mapped to a real section tag, similar to how other
wikitext syntax is (e.g. == Heading == is more or less mapped to
h2Heading/h2).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-08-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

--- Comment #6 from Gabriel Wicke gwi...@wikimedia.org ---
(In reply to comment #5)
 It could still probably be mapped to a real section tag, similar to how other
 wikitext syntax is (e.g. == Heading == is more or less mapped to
 h2Heading/h2).

It should not be hard to perform this mapping in Parsoid while converting from
wikitext to HTML. We will also need to map custom extension attributes to valid
HTML attributes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-08-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

Gabriel Wicke gwi...@wikimedia.org changed:

   What|Removed |Added

 Depends on||51562

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-08-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

Gabriel Wicke gwi...@wikimedia.org changed:

   What|Removed |Added

 CC||mflasc...@wikimedia.org

--- Comment #3 from Gabriel Wicke gwi...@wikimedia.org ---
*** Bug 52252 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-07-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

  Component|JS/General  |General

--- Comment #2 from Andre Klapper aklap...@wikimedia.org ---
[Parsoid component reorg by merging JS/General and General. See bug 50685 for
more information. Filter bugmail on this comment. parsoidreorg20130704]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-05-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

Gabriel Wicke gwi...@wikimedia.org changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=30597

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 47936] Implement section natively in Parsoid, possibly as plain HTML5 content

2013-05-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=47936

Gabriel Wicke gwi...@wikimedia.org changed:

   What|Removed |Added

Summary|section is not recognized |Implement section
   |as an extension on  |natively in Parsoid,
   |mediawiki   |possibly as plain HTML5
   ||content

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l