Playing with the dumps on zedler, I just found out that a lot of pages have a
page_random value of 0, which causes them to never show up as a "random page".
This seems to be the case mainly for image description pages (namespace 6).
This not only causes the the "random page" and "random image" features to behave
incorrectly, it also effects tools that rely on a random selection of pages.
Please have a look at what is causing this.
Below are some of the results I found when playing with this:
mysql> use commonswiki;
mysql> select count(*) from page where page_random = 0;
+----------+
55832 |
+----------+
mysql> select count(*) from page where page_random = 0 and page_namespace = 6;
+----------+
54409 |
+----------+
mysql> use enwiki;
mysql> select count(*) from page where page_random = 0;
+----------+
62879 |
+----------+
mysql> select count(*) from page where page_random = 0 and page_namespace = 6;
+----------+
56830 |
+----------+
(I appologize in advance for broken formating - MediaZill needs a preview button...)
Version: 1.6.x
Severity: normal