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 On Wed, Dec 24, 2008 at 9:11 AM, Platonides <[email protected]> wrote: > Ekompute .info wrote: > > Hi, I am practically the sole writer of my wiki at > > Dummipedia<http://www.dummipedia.org/Main_Page>. > > As I have quite a few articles that are in various stages of completion, > I > > would like to hide these articles from viewers when they press the Random > > Articles Button in the left panel. To differentiate between completed > > articles and incomplete articles, I page-protect all complete articles > > against possible vandalism. How do I tweak my Random Articles Button so > that > > only protected articles will be displayed? > > > > Thank you for your kind assistance. > > > > PM Poon > > Add to your localsettings: > $wgExtraRandompageSQL = 'page_restrictions <> ""'; > > so pages without any protection won't be considered. > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
