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

Sal Quintanilla <salqu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |salqu...@gmail.com

--- Comment #16 from Sal Quintanilla <salqu...@gmail.com> 2012-09-22 02:49:56 
UTC ---
I have some intro templates that take arguments, so they end up looking like
<pre>
|intro={{displayQueryTableHeader |titleHeader=Ballparks |dataHeader=State
|sort=off }}
</pre>
in my inline query.

I've had to limit tables lately and saw the problem, which is what brought me
here.  introtemplate / outrotemplate work great, but it looks I'll need
discrete intro templates for every table variation I use.  I tried the obvious
in SMW_QP_List.php, namely
<pre>
-          $result .= "{{" . $this->mIntroTemplate . "}}";
+          $result .= $this->mIntroTemplate;
</pre>
and that almost works, except that my table headers in further results look
like
<pre>
Project UNIQ4c0b9a8d5d40c6a0-nowiki-00000002-QINU DateUNIQ4c0b9a8d5d40c6a0-
nowiki-00000003-QINU     BallparkUNIQ4c0b9a8d5d40c6a0-nowiki-00000004-QINU
</pre>
instead of
<pre>
Project  Date  Ballpark
</pre>
I'll keep looking for ways around this, but if it's obvious to someone here
please let us know.

Thanks.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to