I think I can take care of it using an external sql query. Then just have it output the images in a html file. Not the best, but it will get the job done.
Thanks for the help!
-Adam
On Jun 27, 2008, at 11:18 AM, DanTMan wrote:
Again, misunderstanding what the user wants. That grabs a list of images which belong to a category. The user wants a list of images inside of pages which are inside of the category. You would have to do a query for all the pages inside of a category, and then do another query for all the images embedded in each of those pages.
For things this complex, it's actually usually better to redesign how you actually do things. Using something a bit more semantic or some other way of tagging the images themselves would be better than putting the image inside of pages inside of a category. It might be good for human organization, but it's bad for machines.
~Daniel Friesen(Dantman) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
Heilmannseder Tobias (LVT) wrote:
Hello
With this api-Call you can achive your aim: api.php? action = query &format =xml&list=categorymembers&cmnamespace=6&cmtitle=Category:MyCategory
The new api is very powerful...
-----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org ] Im Auftrag von Adam Meyer Gesendet: Donnerstag, 26. Juni 2008 20:01 An: MediaWiki announcements and site admin list Betreff: [Mediawiki-l] gallery of images from a category
I run a wiki that I use to mainly catalog art pieces. Someone was wondering if there was a way to show all the images used in pages of a given category.
If not... Anyone know the sql query the image uses to know what pages it is used in?
Thnaks.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l