Last modified: 2014-07-15 23:40:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67366, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65366 - Better Special:Random
Better Special:Random
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-15 19:32 UTC by Sam Reed (reedy)
Modified: 2014-07-15 23:40 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Special:Random caused some load (43.65 KB, image/png)
2014-07-15 23:40 UTC, Nemo
Details

Description Sam Reed (reedy) 2014-05-15 19:32:20 UTC
Special:Random isn't very random.

It'd be nice if we could use Elastic Search to do more randomness
Comment 1 Chad H. 2014-05-15 19:40:27 UTC
We've got SpecialRandomGetRandomTitle already. Should be easy.
Comment 2 Gerrit Notification Bot 2014-05-31 17:11:11 UTC
Change 133606 had a related patch set uploaded by Chad:
Power Special:Random from Elasticsearch

https://gerrit.wikimedia.org/r/133606
Comment 3 Gerrit Notification Bot 2014-06-04 00:47:51 UTC
Change 133606 merged by jenkins-bot:
Power Special:Random from Elasticsearch

https://gerrit.wikimedia.org/r/133606
Comment 4 Chad H. 2014-06-04 14:31:32 UTC
Special:Random is now powered by Cirrus on wikis that have it.

It uses a function score query[0] with random_score's seed using a munged int version of the random seed we used already. Looks random enough.

[0] http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#_random
Comment 5 Derk-Jan Hartman 2014-06-15 19:32:20 UTC
"Hi. I was using the Special:Random/File tool for a long time on rowiki, in order to fish for unfree images and candidates for Commons. Last days when I accessed the tool, it returned me only Commons files. Tried @ enwiki - same drill"

https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)
Comment 6 Sam Reed (reedy) 2014-06-15 19:58:31 UTC
(In reply to Derk-Jan Hartman from comment #5)
> "Hi. I was using the Special:Random/File tool for a long time on rowiki, in
> order to fish for unfree images and candidates for Commons. Last days when I
> accessed the tool, it returned me only Commons files. Tried @ enwiki - same
> drill"
> 
> https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)

Probably should be filed as a new bug and marked as a regression...
Comment 7 Nik Everett 2014-06-16 15:36:09 UTC
(In reply to Sam Reed (reedy) from comment #6)
> (In reply to Derk-Jan Hartman from comment #5)
> > "Hi. I was using the Special:Random/File tool for a long time on rowiki, in
> > order to fish for unfree images and candidates for Commons. Last days when I
> > accessed the tool, it returned me only Commons files. Tried @ enwiki - same
> > drill"
> > 
> > https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)
> 
> Probably should be filed as a new bug and marked as a regression...

Done Bug 66643.
Comment 8 Nemo 2014-07-15 23:40:55 UTC
Created attachment 15950 [details]
Special:Random caused some load

Note, reverted on Wikimedia wikis for now. https://gerrit.wikimedia.org/r/#/c/146615/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links