https://bugzilla.wikimedia.org/show_bug.cgi?id=29542

--- Comment #5 from Roan Kattouw <[email protected]> 2012-01-04 16:37:51 
UTC ---
(In reply to comment #4)
> Another approach might be for ResourceLoader to use Roan's suggested hack to
> preprocessing, and to send an HTML structure to the browser. Like:
> 
>    <span>
>      There 
>      <b>
>        <span class="mwplural" param="0">
>          <span class="mwform">is</span>
>          <span class="mwform">are</span>
>        </span>
>      <span class="mwparam" param="0"/>
>      lights
>      </b>
>      !
>    </span>
> 
> That way, it could be "native" jQuery all the way through. I'm suggesting
> <span> because I'm afraid of custom HTML tags (e.g. <mwfunc>) not working in
> IE, and namespaced HTML (e.g. <mw:func>) doesn't always work either.
Oooh, I like this idea. This also makes my original hack overriding the plural
pfunc more attractive than writing my own PPFrame expansion (because the output
target is HTML, not JSON). I'll re-discuss with Tim when I see him.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to