Last modified: 2010-05-15 16:03:40 UTC
Using Special:Random always delivers the same page. E.g the main page or if excluded in localsettings.php like this: "$wgExtraRandompageSQL = 'page_title != "Hauptseite"';" it delivers always the same page (here: ZLB). I made a database backup and tried it on a clean (no extensions) local installation with mw1.14 but even here the same problem. So it seems to be a problem with my database. Where do i have to search. Thanx
The randompage feature works using random numbers stored in the page_rand column of the page table. Have a look at the values for the pages on your wiki.
the page_random value in the page table is either 0 or 1
The type of page_random was double(20,0). I changed ist to double and then reorganised that column in the way described on http://katlas.math.toronto.edu/wiki/Fixing_%22Random_Page%22 Now the Special:Random instruction is running correctly.