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

       Web browser: ---
             Bug #: 39132
           Summary: #ask does not work inside #ifeq or #switch
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: j...@jans-seite.de
                CC: jeroen_ded...@yahoo.com, mar...@semantic-mediawiki.org
    Classification: Unclassified
   Mobile Platform: ---


(Is this the right place to report the bug or extension ParserFunctions?)

The parser function #ask does not work inside the parser functions #ifeq or
#switch (the other I did not test).

For example this code does not work (translatewiki.net, page User:Jan
Luca/Support/Gerrit):

{{#ifeq: {{{project}}} | 
{{#ask:[[User:Jan Luca/Use Gerrit/Test2]] [[Use Gerrit::true]]
[[ProjectString::{{{project}}}]]
 |?ProjectString
 |format=template
 |limit=1
 |link=none
 |headers=hide
 |template=User:Jan Luca/Support/Gerrit/Body
 |userparam=intro
}} |
123 | 
1 }}

It is always false.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to