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

Van de Bugger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Van de Bugger <[email protected]> 2011-07-15 20:46:16 
UTC ---
Request:

{{ #ask: [[:+]] [[Modification date::+]]
| ?#
| ?Modification date#ISO=
| mainlabel =-
| format = ul
| limit = 10
| template = {{PAGENAME}}
}}

Template:

1="{{{1|}}}"; 2="{{{2|}}}"; 3="{{{3|}}}"; 4="{{{4|}}}"

Result on the page:

    * 1="'n Beetje Verliefd"; 2="2007-01-07T23:40:49"; 3=""; 4=""
    * 1="(animated)"; 2="2007-01-07T23:41:12"; 3=""; 4=""
    * 1="+O+U+R"; 2="2008-02-21T23:22:29"; 3=""; 4=""
    * … further results

Note the arguments passed to the template: 1 is "flat" is page name (not a
link), 2 is modification date.

If I click on "...Further results":

# 1="'n Beetje Verliefd"; 2="'n Beetje Verliefd"; 3="2007-01-07T23:40:49"; 4=""
# 1="(animated)"; 2="(animated)"; 3="2007-01-07T23:41:12"; 4=""
# 1="+O+U+R"; 2="+O+U+R"; 3="2008-02-21T23:22:29"; 4=""

Note different number of arguments. There is an extra first argument: it is a
link, and, what is more important, it is not expected by template.

Example: http://sandbox.semantic-mediawiki.org/wiki/Inline_query_with_template

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to