WikiPics is a system for searching and navigationg images in Wikimedia Commons in the user's native language. A prototype is available at http://toolserver.org/~daniel/wikipics/ currently covering 8 languages (en, de, fr, it, nl, pl, es, pt).
WikiPics is on ongoing research and development project run by Wikimedia Deutschland e.V.
Here's a rough outline of the main use case:
- the user selects a language and enters a search term or phrase
- WikiPics finds the possible meanings (topics) for that phrase and lists them. For each meaning, there's a title and a definition given in the user's language (taken from the corresponding wikipedia article), and a few images for the topic are also shown.
- The user picks one of the topics
- WikiPics then shows a detailed view for this topic, with many more pictures, and links to related topics (broader, narrower, similar). Images are ranked according to usage on wiki pages and quality markers (valued image, etc).
- The user chooses images or navigates to the detail views of the related topics.
What WikiPics is not
- WikiPics is not a full text search engine. In fact, it does not analyse image description pages at all.
- WikiPics does not trasclate. Instead, it looks up the abstract "topic" a given phrase refers to, and then finds images for this topic.
- WikiPics does not use query expansion. Again, Wikipics looks up the abstract "topic" a given phrase refers to, and then finds images for this topic.
- Filter by license property (only im,ages that don't require share-alike)
- Filter by media type (only svg, only video, etc)
- Multi-Phrase searches (intersection)
- Seep search (include subcategories)
- light box (basket), download as ZIP.
Wikipics needs the following information in order to function:
- all meanings (topics) for a given term/phrase (ranked by likely hood, i.e. frequency)
- for a given topic:
- wikipiedia articles/categories in each language (if they exist), as well as the corresponding galleries/categories on commons
- definitions in each language (if the corresponding article exists)
- images for a given topic. That is, the images used on the articles/galleries or included in a category that belongs to the given topic.
- popularity rank (sum of in-degree of all wikipedia articles)
- for each image:
- quality assessment tags, feature tags
- problem tags
- license tags
- popularity rank (number of wiki-pages using it, whether it's in the corresponding commons category, whether it has quality markers, etc)
- build a thesaurus from XML dumps and/or the wiki databases.
- build a lucene index for finding topics for terms in each language
- attach the desired attributes (rank, related topics, etc) to the topics represented in lucene
- build a lucene index for finding images for topics (using the thesaurus together with the wiki database, especially globalimagelinks)
- attach the desired attributes (rank, tags) to the files
- Thesaurus Creation (Wiki Mining)
- Already covered by the WikiWord project . Could however be rewritten/modified with a focus on the information needed for WikiPics.
- Index generation
- Should be streight forward using information from the WikiWord thesaurus and the wiki database.
- Search frontend (Special Page)
- A simple frontend (as a MediaWiki extension) for this wouldn't be too hard, but a nice Ajaxy UI would be need some more work.
- Integration into the Wikimedia infrastructure for Lucene index generation, activation of the corresponding MediaWiki extension.