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

Francesco Panico <[email protected]> changed:

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

--- Comment #4 from Francesco Panico <[email protected]> 2012-09-06 13:20:03 
UTC ---

Here there is a Array based workaround .
It is not very performant but it is a workaround.


Question: 
If you have an Application Category and you ask for the Application instance
with "Has owner" and "Has user" properties empty.

Answare:
Step 1: ask for all Application instances and save the list in "all" named
array
Step 2: ask for Application instances with valued  "Has owner" and "Has user"
properties, and save the list in "onlyfull" named array
Step 3: calculate a new array:  "all"  minus "onlyfull" 
Step 4: print the new array

Code:

{{#ask:[[Category:Application]]|format=array|name=all}}

{{#ask:[[Category:Application]][[Has owner::+]][[Has
user::+]]|format=array|name=onlyfull}}

{{#arraydiff:x |all |onlyfull }}

Application with no 'user' and 'owner': {{#arrayprint:x ||@ |@ |print=pretty }}

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

Reply via email to