[Mediawiki-l] Disable User Talk namespace?
Paul Fierro
pablo at nothing.com
Fri Dec 24 02:01:43 UTC 2004
On 12/23/2004 3:00 PM, Ben Durbin <bdurbin at pixelcorps.com> wrote:
> Hi all,
>
> We're setting up a mediawiki installation and we'd like to disable the
> User Talk feature or remove the namespace. Is there a clean way to
> disable this via the config files?
You could probably prevent these pages from ever appearing via your
index.php (or equivalent) script. After $wgTitle is set, try something like
this:
if ($wgTitle->getNamespace() == NS_USER_TALK) {
echo "<p>Page not available</p>";
}
Paul
More information about the MediaWiki-l
mailing list