29 Dec 2019, 22:36

Sorting out the sorting of images of my art

https://webapps.stackexchange.com/questions/137501/reverse-sort-of-pages-in-mediawiki-category-listing

In MediaWiki, I want a gallery of images from a certain category, sorted by most recent first. (I am hoping to use MediaWiki core instead of relying on extensions.)

I tagged images with Category:Art so can now display a “gallery” of the images with the category listing.

I still want to sort the images in this category by most recent first.

Per this answer I tried using the date as sort key for the images in my category, but the images are still in order by oldest first.

One solution would be to reverse the sort order of the category listing.

I see $wgCategoryCollation, but even with Numeric sorting, it cannot sort things in reverse.

Another option would be to filter by category the Gallery of New Files but there is apparently no built-in way to do that.

Is there a built-in way to show a filtered set of images, most recent first?