Author: wiki_tomos
Description:
I would like to request a feature to generate lists based on two or more
categories.
That is, for example,
*{{List: Category:Albania AND Category:Business}} results in a list of pages in
the both category at the same time.
*{{List: Category:Albania OR Category:Belgium}} results in a list of pages in at
least either of Albania or Belgium.
*{{List: Category:Albania NOT Category:Bosnia}} results in a list of pages in A
but not in B.
This is helpful in order to index and re-organize Wikinews, where inter-article
linking is not as prevalent as Wikipedia or some others, but need to organize
article in multiple ways to cater to the readers' interests, as well as writers'.
This feature could produce a heavy load to the server if the following is allowed.
*{{List: NOT Category:Albania NOT Category:Bosnia}} which means a list of all
pages neither of A or B (potentially a huge list). So the feature should not
allow NOT at the beginning.
Another is to limit the number of categories dealt within one request. {{List:
Category:A OR Category:B OR Category:C OR Category:D OR .....}} I don't know
where the limit should be placed, but 4 would be reasonable.
A nice extension is to be able to define the order of calculations.
For example,
*{{List: Category:2004 AND (Category:Sports OR Category:Entertainment)}}
or
*{{List: Category:2004 AND {{List: Category:Sports OR Category:Entertainment}}}}
resulting in the list of pages in (1) either sports OR entertainment AND (2)
also in 2004.
Finally, I suppose it is useful even when it is not dynamically generated. So
when someone use {{List: Category:Politics and conflicts AND
Category:Unreviewed}} it could be replaced by the list at that moment, as
opposed to generate the list everytime the page is viewed by someone.
Version: unspecified
Severity: enhancement