https://bugzilla.wikimedia.org/show_bug.cgi?id=28075
Summary: Expansion of #ask's default= parameter should be
deferred
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
#ask is unnecessarily expanding default=, it should be deferring expansion like
#if and other parser functions do.
This means that for templates using something like:
{{#ask: ...some query... | default= {{#ask: ...some fallback query... }} }}
The second #ask is always executed, running unnecessary extra sql queries and
affecting performance in cases where the first #ask does in fact have contents.
--
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