Jan Steinman wrote:
I don't understand why this is happening, because it was my impression that the template parameter substitution happens before the extension is invoked. Other templates with parameters on this site are working fine, although no other one contains extension tags with a positional parameter between them. I would have contacted the extension author (or started going through the code) fist except for this impression.
Any clues?
Parameters don't work with tag extensions (<tags>). Call as {{#tag: sql2wiki | database=EcoReality | SELECT * FROM mw_user WHERE user_id = {{{1}}} }}
http://www.mediawiki.org/wiki/Manual:Tag_extensions#Extensions_and_Templates