Re: [Wikitech-l] Weighted random article

2013-08-26 Thread C. Scott Ananian
On Sat, Aug 24, 2013 at 6:38 PM, Maarten Dammers maar...@mdammers.nlwrote: If you compare our current implementation to wheel of fortune [1]; all our articles are evenly spread around. Weighted would be putting bot articles closer to each other so you would hit them less often. You just need

Re: [Wikitech-l] Weighted random article

2013-08-24 Thread Maarten Dammers
Hi Lars, Op 23-8-2013 2:48, Lars Aronsson schreef: The current implementation of [[Special:Random]], however, gives equal weight to every existing article and this is perceived as a problem that needs to be fixed. We talked about this on Wikimania. If you compare our current implementation to

Re: [Wikitech-l] Weighted random article

2013-08-23 Thread C. Scott Ananian
This make a second draw approach would also let you tune how often you saw the bad articles. That is, if it's a bad article, then flip a coin to see if you should make a second draw. Repeat if the new article is bad, but never make more than N draws. Someone with time on their hands and a

Re: [Wikitech-l] Weighted random article

2013-08-23 Thread Lord_Farin
The probability of displaying a bad page would be: B q ((p B)^N - 1) / (p B - 1) + B (p B)^N (modulo errors), where B is the fraction of bad pages, p is the probability of repeating, q is the probability of displaying (so p+q = 1), and N is the allowed number of repetitions. -- LF On 23 August

Re: [Wikitech-l] Weighted random article

2013-08-23 Thread C. Scott Ananian
On Fri, Aug 23, 2013 at 9:24 AM, Lord_Farin lord_fa...@proofwiki.orgwrote: The probability of displaying a bad page would be: B q ((p B)^N - 1) / (p B - 1) + B (p B)^N (modulo errors), where B is the fraction of bad pages, p is the probability of repeating, q is the probability of

Re: [Wikitech-l] Weighted random article

2013-08-23 Thread BinĂ¡ris
2013/8/23 Lars Aronsson l...@aronsson.se A naive approach would be to ask for a random article that wasn't created by a bot, but this is not to the point. Users want bot generated articles to come up, only not so often. Unfortunately, there is no exact measure of the human or bot factor of

Re: [Wikitech-l] Weighted random article

2013-08-23 Thread Tyler Romeo
On Fri, Aug 23, 2013 at 1:38 PM, BinĂ¡ris wikipo...@gmail.com wrote: Unfortunately, there is no exact measure of the human or bot factor of the creator of an article, and I have long been sad because of this. Botness of an editor is only stored in recent changes table for a while, and cannot be

[Wikitech-l] Weighted random article

2013-08-22 Thread Lars Aronsson
The Swedish Wikipedia now has more than 1.5 million articles, compared to 600,000 in January 2013 and 500,000 in September 2012. This is due to the creation by a bot of many articles on animal and plant species. The Swedish Wikipedia community has discussed the matter thoroughly, and there is

Re: [Wikitech-l] Weighted random article

2013-08-22 Thread Tim Starling
On 23/08/13 10:48, Lars Aronsson wrote: But it is not obvious how a bug report or feature request should be written. A naive approach would be to ask for a random article that wasn't created by a bot, but this is not to the point. That was my solution when this issue came up on the English

Re: [Wikitech-l] Weighted random article

2013-08-22 Thread Lars Aronsson
On 08/23/2013 03:57 AM, Tim Starling wrote: An approximation would be to select, say, 100 articles from the database using page_random, then calculate a weight for each of those 100 articles using complex criteria, then do a weighted random selection from those 100 articles. Interesting. An

Re: [Wikitech-l] Weighted random article

2013-08-22 Thread Benjamin Lees
Just add all the non-bot articles to a category and use Special:RandomInCategory. ;-) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l