[Commons-l] Categories and galleries combined

bawolff bawolff+wn at gmail.com
Tue Jun 12 01:10:18 UTC 2007


somebody wrote:
>Some bullets and points comparing categories and galleries:

>  - Categories are easier to add to an image, as you merely add the
>  [[Category:foo]] while adding other info anyway

Currently categories are sorted by doing [[category:foo|sortkey]].
What if when you added the sort key, it would auto-appear as the
caption in the magic category galleries. for example:

putting [[category:cat|My cat Mr. Twinkles]] on the image of mr
teinkles, the images on that category would have:
________
|                |
| pict of     |
|  cat         |
|________|
|My cat Mr|
| Twinkles|
------------

instead of no caption at all.

Also wouldn't it make more sense to have some sort of parserFunction
like {{#UnusedImageFromCat: category:foo}} that displays the non-used
images so then the gallery could be made to fit around the non-used
images with appropriate headings edited in, rather then it
automatically just thrown at the bottom with a one size fits all for
how it is displayed?

-bawolff



More information about the Commons-l mailing list