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.
2008/6/26 Adam Meyer meyer7@mindspring.com:
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.
Just put the images in the appropriate 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
I can't. The categories are how the users quickly find the pages on the pieces. Then they would show up twice. But im also hoping to make a gallery of all of them, and not just links to them.
-Adam
On Jun 26, 2008, at 3:15 PM, Dan Bolser wrote:
2008/6/26 Adam Meyer meyer7@mindspring.com:
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.
Just put the images in the appropriate 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
-- hello
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I can't. The categories are how the users quickly find the pages on the pieces. Then they would show up twice. But im also hoping to make a gallery of all of them, and not just links to them.
By default, categories of images show as a gallery.
V/r,
Ryan Lane
Misunderstanding of the issue: The user does not want to make categorized images show up as a gallery. The user wants the images, used in certain pages, of which are located in a category, to be listed. Image inclusion < Page < Page is in X Category
This sounds like something best handled by the DPL Extension. Basically it's a page list but in gallery format. The issue is it'll be a bit of a subquery, so you'll end up with a DPL query inside of another DPL query, that's going to blow up to a fairly hefty amount of database queries.
~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)
Lane, Ryan wrote:
I can't. The categories are how the users quickly find the pages on the pieces. Then they would show up twice. But im also hoping to make a gallery of all of them, and not just links to them.
By default, categories of images show as a gallery.
V/r,
Ryan Lane
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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
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
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
mediawiki-l@lists.wikimedia.org