So,
I've looked, but can't find a (automated) recursive solution with
setTransparentTagHook and friends.
Is there one? Ie. need to be able to similarly hook into transparent-hook
tags within the content of the first transparent-hooked tag.
PS: recursiveTagParse does not look like it's transparent hook aware, and
anyway escapes html < style. mTransparentTagHooks are called from inside
parse() but calling parse from inside the hook doesn't look like the thing
to do. FYI: It's clear in the source only the outer hook is being applied.
Thanks.
_________________________________
Daniel Friesen-4 wrote:
Btw, you might want to try a transparent tag hook.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]
On 11-03-08 04:21 AM, Mick P. wrote:
Hello,
I've been trying to arrange a more structured presentation for
documenting
binary file/data structure bit by bit.
What I have in mind is to make sections appear like html fieldsets, eg.
<fieldset><legend>[newline]==section A==[newline]</legend>[nested
wikitext
here, possibly more fieldsets]</fieldset> ... so what you get is a clean
encapsulation model for structure.
I tried a lot of stuff. And eventually have reached the point where
tonight
I implemented the fieldset/legend tags as
http://www.mediawiki.org/wiki/Manual_talk:Tag_extensions.
This gave me more control / made possible the repair of the malformed<p>
tags introduced by MediaWiki (
http://en.swordofmoonlight.org/wiki/MDL_(file_format) )
...
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
View this message in context:
http://old.nabble.com/Tag-Extensions-%2B-nested-section-wikitext-%3D-missin…
Sent from the Wikipedia Developers mailing list archive at
Nabble.com.