Pregunta

So I got stuck maintaining a MediaWiki while the person who set it up is away, and I know nothing about it, not even where its stored on the server (though I suspect in the wamp/www folder). I was asked to add a few pages to the whitelist so they could be viewed without logging in. I found the MediaWiki manual page on whitelist, but it doesn't say where to put that snippet of code. Which file(s) gets that treatment?

¿Fue útil?

Solución

You need to find out where your MediaWiki installation is and then add the pages that you want to the end of the LocalSettings.php file like this:

$wgWhitelistRead[] = "Page_name";
$wgWhitelistRead[] = "Another_page_name";
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top