Page MenuHomePhabricator

Make it possible to generate galleries from categories
Closed, ResolvedPublic

Description

Author: andreas.joelsson

Description:
I'm looking for an extension to mediawiki that extends the gallery with an attribute taking specific category images on update. This to simply retag the image to move it to another tag.

Today the example of gallery is:

<gallery widths=60px heights=60px>
File:Example.jpg
File:Example.jpg
</gallery>

The extension takes a category tag in the gallery that looks for all images with that category. f.e:

<galleryExt widths=60px heights=60px category="sunflowers" />

will list all images that is tagged with category sunflowers.


Version: unspecified
Severity: enhancement

Details

Reference
bz50046

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:54 AM
bzimport set Reference to bz50046.
bzimport added a subscriber: Unknown Object (MLST).

You might also want to ask on https://www.mediawiki.org/wiki/Project:Support_desk if something similar already exists.

Wouldn't it be feasible to just add a new 'category' argument to the existing Gallery feature?

andreas.joelsson wrote:

Ofcourse, I just did an example, a solution like
<gallery widths=60px heights=60px category="sunflowers" />

would be neat as well.

In T52046#1136615, @Tgr wrote:

Yes, it seems to work as intended! I think we can close this task.

Tgr claimed this task.
Ricordisamoa renamed this task from Gallery Extension to Make it possible to generate galleries from categories.Mar 21 2015, 2:57 AM
Ricordisamoa set Security to None.
Ricordisamoa awarded a token.