Op 29 okt 2010, om 10:13 heeft Magnus Manske het volgende geschreven:
> On Fri, Oct 29, 2010 at 8:32 AM, David Gerard <[email protected]>
> wrote:
>> On 29 October 2010 02:11, Neil Kandalgaonkar <[email protected]>
>> wrote:
>>
>>> The debate I see on Commons and elsewhere focuses on trying to fix
>>> Categories, but frankly IMO it would be better to migrate them to
>>> some
>>> other systems entirely.
>>
>>
>> :Let me precis several years' wishlisting on the topic:
>>
>> * Tagging would be vastly helpful.
>> * Tags would need to be able to be queried with possibly quite
>> complex
>> Boolean queries.
>> * Categories as tags would make a transition feasible from the
>> content side.
>
> Done:
> http://commons.wikimedia.org/w/index.php?title=File:Vernomia_altissima_(Compositae)_flower.JPG&withJS=MediaWiki:Tag.js
>
> Works with categories prefixed with "TAG:".
> Check "flower" and "pink", click on "subset". This leads to the
> toolserver, and there's only one result, but that could be
> "prettyfied" (dialog on Commons, previews, etc.)
> Click on the "+" to add a tag without reloading the page, and on the
> "x" after the tag to remove it, also without reloading. Everything's
> still a "normal" edit, so the usual revert options apply.
>
> Note that it's still experimental, and showing twice for me for some
> strange reason when I'm logged in, but so what...
>
> Cheers,
> Magnus
I've seen the tagging suggestion come by a lot of times and always
found it a great idea.
The importance is though, in my opinion, that it should not use the
category system (not even temporarily). I asumt it was done now as a
proof-of-concept.
I think an extension could be written for MediaWiki (if not existing
already I might be able to do it myself) that will add tags to
MediaWiki, similar to categories but with a few differences.
For one, tags would not be hierarchical and not stored under a name,
rather a number (an id if you will).
In there a syntax would be a syntax representing the tagname in
different langauges.
Example (dont pay attention to the exact syntax, it's just an idea)
# Tag:100
<tagname>
{{en:flower}}
{{nl:bloem}}
{{de:Blume}}
</tagname>
It would generally be saved as a page with wikitext and a history etc.
When saving the tagname translations could either be saved to
page_props or to a newly created tag_i18n table containing tag_id,
tag_lang and tag_name
When on a file page there'd be a sidebar gadget listing the current
tags. (WHERE tag_from=pageid, just like categories)
And instead of fetching the pagetitle from the page table entry it
would either fetch it from page_props or from tag_i18n with fallback
to English.
When adding tags autosuggest would be used like the Search-function
has. Searching through the different tagnames where tag_lang is 'en'
or where tag_lang is the user's language.
Just an idea, let me know what you think
--
Krinkle
_______________________________________________
Commons-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/commons-l