On 31/05/05, Ext-Munish.Mittal(a)nokia.com <Ext-Munish.Mittal(a)nokia.com> wrote:
1. Add a line of the form array(
'text'=>'something', 'href'=>'something-url' ) in
LocalSettings.php
It is showing me <Something> in navigation tool instead of something I dont
know why?
when I click this link I get error -Link target missing.
[...]
How will I create new pages with what names and
how will they be linked in namespace.
The answers to your two questions are the same
1) you create a page called [[MediaWiki:Something]], which is what the
'text'=>'something' part of your edit refers to; it should contain the
text of the link
2) you create a page called [[MediaWiki:Something-url]], which is what
the 'href'=>'something-url' refers to; it should contain the target of
the link, which is either a page name or a URL
To make this as clear as possible, the names you choose in
LocalSettings.php don't actually matter - they are just references to
pages in the database. If you added the following to
LocalSettings.php:
array( 'text'=>'Munish', 'href'=>'Mittal' )
You would create a page on your wiki called "MediaWiki:Munish", and a
page called "MediaWiki:Mittal". If [[MediaWiki:Munish]] contained the
text "Silly example" and [[MediaWiki:Mittal]] contained
"http://example.com", a link would appear labelled "Silly example"
and
pointing to
http://example.com. "Munish" and "Mittal" would never
appear on the screen.
--
Rowan Collins BSc
[IMSoP]