Re: [Wikitech-l] The never-dying topic: category intersection (been there done that .. to the power of three)

2008-12-06 Thread Platonides
David Gerard wrote:
 2008/12/4 Tim Landscheidt:
 
 Add to that the maintenance costs because you would want to
 ensure that if someone who is not aware of the concept of
 atomic categories adds a [[Category:Manhattan]] to something
 he adds [[Category:New York]], [[Category:East Coast of the
 United States]], [[Category:United States]] and the other
 gigazillion umbrella categories as well so searches for a
 building in a country bordering a water body will still show
 results.
 
 
 Which is why we have zillions of obsessive nerdy humans writing the
 encyclopedia. Tags are fine, there's nothing wrong intrinsically with
 hundreds of tags where appropriate and useful. I suppose presentation
 in Monobook will be interesting ...
 
 - d.

If we're going to end up with hundreds of categories on each page, why
not make the software automatically add all parent categories?
It would fill the categorylinks table*, but it would as well by manually
adding them.
It would also require forcing the categories to be a graph and maybe
limiting the number of parent categories, as to reduce a bit how
expensive category position changes can be. But, if we leave that to
'manual actions', the same actions would be performed by bots, leading
to the same cost and partially less coherent structure.

*Add a expandedcategorylinks table?
Probably also add a 'don't inherit' flag on categary table which can be
appplied to high level categories such as 'All licenses' or 'Commons root'.


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Bring your language to Commons

2008-12-06 Thread Lars Aronsson

New user accounts on Wikimedia Commons automatically get a 
greeting from [[User:Wikimedia Commons Welcome]].  However, this 
greeting is in English and not all users speak English.  At the 
top of the message there is a list of links to translations in 
other languages, but I think there is a better way.

Since most new user accounts on Commons (about two thirds) are 
created by SUL, and arrive through a link that specifies the 
uselang= parameter, wouldn't it be very easy to set the user 
preference for user interface language from the uselang parameter 
when the account is created by SUL?

The greeting template (and other templates, such as deletion 
requests) could then access the user's interface language setting 
through a {{USELANG}} magic word, and present the corresponding 
translation.

This way, new Swedish speaking users (who typically arrive from 
the Swedish Wikipedia, one that doesn't allow local uploads) could 
be guided to the Swedish language village pump and find a 
community there.


-- 
  Lars Aronsson ([EMAIL PROTECTED])
  Aronsson Datateknik - http://aronsson.se

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Fwd: Bring your language to Commons

2008-12-06 Thread David Gerard
-- Forwarded message --
From: Nikola Smolenski [EMAIL PROTECTED]
Date: 2008/12/6
Subject: Re: [Wikitech-l] Bring your language to Commons
To: Wikimedia developers wikitech-l@lists.wikimedia.org


On Saturday 06 December 2008 17:49:04 Lars Aronsson wrote:
 New user accounts on Wikimedia Commons automatically get a
 greeting from [[User:Wikimedia Commons Welcome]].  However, this
 greeting is in English and not all users speak English.  At the
 top of the message there is a list of links to translations in
 other languages, but I think there is a better way.

 Since most new user accounts on Commons (about two thirds) are
 created by SUL, and arrive through a link that specifies the
 uselang= parameter, wouldn't it be very easy to set the user
 preference for user interface language from the uselang parameter
 when the account is created by SUL?

 The greeting template (and other templates, such as deletion
 requests) could then access the user's interface language setting
 through a {{USELANG}} magic word, and present the corresponding
 translation.

 This way, new Swedish speaking users (who typically arrive from
 the Swedish Wikipedia, one that doesn't allow local uploads) could
 be guided to the Swedish language village pump and find a
 community there.

This perhaps isn't directly related to your initial query, but I was thinking
along similar lines on how to make MediaWiki more internationalized.

MediaWiki is, of course, an excellently internationalized piece of software
already. It works excellently with a lot of languages - but what it lacks is
the ability to work with more languages at the same time. This is very
important on Commons or Meta.

The first step would be to make uselang sticky (or to create a new parameter,
for example 'forcelang'), as is the case now with 'variant'. Right now, when
someone comes to http://commons.wikimedia.org/?uselang=sr everything is
displayed in Serbian, properly, but when he/she clicks on Log in / create
account, the interface goes back to English and someone who doesn't know
English can't create the account. But if you go to f.e.
http://zh.wikipedia.org/w/index.php?title=%E9%A6%96%E9%A1%B5variant=zh-hk
you will see that variant parameter is inherited by the links on the page,
and whenever you go on the wiki you will remain in the same variant. If
uselang would work in the same way, that's one MAJOR improvement already.
Since a system for doing this with 'variant' already works, I hope this
wouldn't be too hard to do.

And then, what you say. But there exists one caveat - caching. More on this in
some future email :)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] The never-dying topic: category intersection

2008-12-06 Thread Aryeh Gregor
On Sat, Dec 6, 2008 at 4:49 PM,  [EMAIL PROTECTED] wrote:
 Okay, that's a green light if I ever saw one, awesome.  So let's
 create a a categorysearch myisam table, stick all
 the categories in it, set up hooks to maintain it, and implement the
 fulltext index solution.  We'll use a special page to show the
 results (?).  I'm working on an interface that primarily would depend
 on two links at the bottom of each article, find similar articles
 and find related categories - these
 bring up articles having the same categories, and a list of top
 categories belonging to those categories, respectively.

 Sound good?

Sounds vastly better than the absolutely nothing we presently have.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Bring your language to Commons

2008-12-06 Thread Eugene Zelenko
Hi!

How about demanding from foundation to allocate some part of latest
usability improvement grant/resources
(http://wikimediafoundation.org/wiki/Press_releases/Wikipedia_to_become_more_user-friendly_for_new_volunteer_writers)
to solve at some of Commons problems?

As for user language: see comments in similar request about user's
gender (https://bugzilla.wikimedia.org/show_bug.cgi?id=13040), which
also affect quality of MediaWiki localizations.

Eugene.

On Sat, Dec 6, 2008 at 8:49 AM, Lars Aronsson [EMAIL PROTECTED] wrote:

 New user accounts on Wikimedia Commons automatically get a
 greeting from [[User:Wikimedia Commons Welcome]].  However, this
 greeting is in English and not all users speak English.  At the
 top of the message there is a list of links to translations in
 other languages, but I think there is a better way.

 Since most new user accounts on Commons (about two thirds) are
 created by SUL, and arrive through a link that specifies the
 uselang= parameter, wouldn't it be very easy to set the user
 preference for user interface language from the uselang parameter
 when the account is created by SUL?

 The greeting template (and other templates, such as deletion
 requests) could then access the user's interface language setting
 through a {{USELANG}} magic word, and present the corresponding
 translation.

 This way, new Swedish speaking users (who typically arrive from
 the Swedish Wikipedia, one that doesn't allow local uploads) could
 be guided to the Swedish language village pump and find a
 community there.


 --
  Lars Aronsson ([EMAIL PROTECTED])
  Aronsson Datateknik - http://aronsson.se

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l