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
added into
LocalSettings.php, right?
Seems I am getting closer, thank you very much.
PM Poon
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
link:
*There are no pages in this namespace. *
I tried to modify the command a little to conform to the form of the
other
$wgxxxx, but I didn't work either.
PM Poon
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
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l