On 7/11/07, Yaron Koren <[EMAIL PROTECTED]> wrote:

Okay, I tested it a little on my site and I think I've discovered the
issue: there's MediaWiki code (I believe in Parser::internalParse())
that checks "<td>" and "<tr>" tags, and disables them (i.e. changes
the brackets into lt's and gt's) if they're not contained within a
"<table>" tag. And it could well be that the same logic is going on
for the wiki markup tags. So possibly the only way to get your
specific idea working is to make some modifications to MediaWiki's
parser code.


Hey Yaron, thanks for the detective work. Sounds like you found the culprit.
Editing MediaWiki's parser code sounds -slightly- dangerous..
I guess we'll have to keep that option as a last resort thing.

Where's the best place where to report this problem? A MediaWiki mailing
list I imagine? Although, I suspect they'd reply it's a feature...


Plus, there's always the "table" format for ask queries; there might
be some reason why you didn't want to use that, but I don't know if
you said it.


There are two problems with the "table" format (I think)

1) you can't skip the name of the retrieved page. For example, if a userpage
holds firstName and familyName attributes, I'd like -those- to be printed
out as a link pointing to the user page.

2) it's probably possible to use CSS to change the appearance of all <ask>
returned tables, but keeping the <table> tag outside the <ask> query would
allow all sorts of customizations on a per table basis, and only -if-
necessary.

Am I right?

Manu
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to