[Mediawiki-l] Changing "messages" values

Martin C. Martin martin at martincmartin.com
Sun Jun 4 13:46:23 UTC 2006


Hi all,

I'm hoping to use MediaWiki to run my personal web site.  MediaWiki, out 
of the box, contains a lot of links to non-existent pages, e.g. at the 
bottom of every page are "about" and "disclaimers" links.  What's a 
clean way of getting rid of these?

I tried changing the "about" related lines in languages/Messages.php to 
empty strings, i.e.:

'about'                 => '',
'aboutsite'             => '',
'aboutpage'             => '',

but no luck.  I also tried putting the following in LocalSettings.php:

$wgAllMessagesEn['about']='';
$wgAllMessagesEn['aboutsite']='';
$wgAllMessagesEn['aboutpage']='';

$wgAllMessages['about']='';
$wgAllMessages['aboutsite']='';
$wgAllMessages['aboutpage']='';

But every page still has a working "About MyWiki" link at the bottom. 
How can I delete it?  Where is it getting those values from?  Is there 
something I can put in my LocalSettings.php that will eliminate those links?

Thanks,
Martin



More information about the MediaWiki-l mailing list