Hi Platonides, thanks for your kind assistance. As I am quite blur on php,
can you please elaborate what you mean by " edit the SQL at
includes/specials/ SpecialRandompage.php to perform the JOIN? I suppose the
$wgExtraRandompageSQL = 'page_restrictions <> ""'; must still be
Seems I am getting closer, thank you very much.
On Wed, Dec 24, 2008 at 8:42 PM, Platonides <Platonides(a)gmail.com> wrote:
Ekompute .info wrote:
Hi, thank you for kind response. I tried
$wgExtraRandompageSQL = 'page_restrictions <> ""';
in LocalSettings.php but I got this message when I click the Random Page
*There are no pages in this namespace. *
I tried to modify the command a little to conform to the form of the
$wgxxxx, but I didn't work either.
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 :/
MediaWiki-l mailing list