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





--- Comment #5 from Niklas Laxström <[email protected]>  2009-07-19 
16:10:29 UTC ---
You can very well add the id with wrapWikiMsg too, (are you sure classes are
not enough? we've got jQuery soon). Don't over engineer, because I have nowhere
seen even a suggestion that we would change what Xml-functions would do. The
only proposal was to create a new HTML class by Simetrical, which sounds much
more sane.

What you are suggesting now, is not readable, even ignoring the unsusual
indendation. And oh, did you mention that you changed some class names too? And
if you really really want it, you can even combine wrapWikiMsg and
Xml-functions, something like this:

->wrapWikiMsg( Xml::element( 'div', array( 'class' => 'foo', 'id' => 'daa' ),
'$1' ), 'baz' );


-- 
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