On 12/24/08 4:42 AM, Platonides wrote: > My bad, the page_restrictions table is used instead. > You will need to edit the SQL at includes/specials/SpecialRandompage.php > to perform the JOIN :/
If your MySQL server is 4.1 or later you should be able to get away with something like this: $wgExtraRandompageSQL = '(select count(*) from page_restrictions where pr_page=page_id and pr_type="edit")'; -- brion _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
