I have two question I can't solve by myself (I tried to search on google and mediawiki pages)
- How can I change the default page from Wikipedia? - How can I change the default menu's links?
Thanks in advance for your work.
On Mon, 14 Feb 2005 16:03:58 +0100, Alessandro Ronchi aronchi@soasi.com wrote:
I have two question I can't solve by myself (I tried to search on google and mediawiki pages)
- How can I change the default page from Wikipedia?
I'm not sure what you mean by this - is the string "Wikipedia" appearing somewhere in the interface? If so, find the appropriate message(s) using [[Special:Allmessages]], and edit it/them to use "{{SITENAME}}" instead (or customise them however you like).
If that's not what you mean, you'll have to describe your problem more fully.
- How can I change the default menu's links?
I'm guessing you're referring to the "sidebar" menu on every page here - in which case the answer is: * for MediaWiki 1.3.x, you can change *some* of the links through the MediaWiki namespace (see http://meta.wikimedia.org/wiki/Help:MediaWiki namespace), e.g. by editting [[MediaWiki:Currentevents]] and [[MediaWiki:Currentevents-url]], you can change the text and target, respectively, of the link normally called (in English) "Current Events". Use [[Special:Allmessages]] to find these.
* for MediaWiki 1.4.x (in beta), there is an array, something like $wgNavigationLinks I think, that you can copy from includes/DefaultSettings.php into your LocalSettings.php, where you can specify your own pairs of messages (as in [[MediaWiki:foo]], [[MediaWiki:Foo-url]]).
This should really be in the FAQ, but I'm too in need of a screen-break to type it up nicely this minute...
Il giorno mer, 16-02-2005 alle 19:59 +0000, Rowan Collins ha scritto:
- for MediaWiki 1.4.x (in beta), there is an array, something like
$wgNavigationLinks I think, that you can copy from includes/DefaultSettings.php into your LocalSettings.php, where you can specify your own pairs of messages (as in [[MediaWiki:foo]], [[MediaWiki:Foo-url]]).
I have a problem with translation. MediaWiki:help contains correctly "Aiuto", but the link directs to en.wikipedia.org/wiki/Aiuto
I have this array:
$wgNavigationLinks = array ( array( 'text'=>'mainpage', 'href'=>'mainpage' ), array( 'text'=>'portal', 'href'=>'portal-url' ), array( 'text'=>'currentevents', 'href'=>'currentevents-url' ), array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ), array( 'text'=>'randompage', 'href'=>'randompage-url' ), array( 'text'=>'help', 'href'=>'helppage' ), array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ), );
It's not stored on LanguageIt.php, so...
Where is that url stored?
"Alessandro" == Alessandro Ronchi alessandro.ronchi@gmail.com writes:
Il giorno mer, 16-02-2005 alle 19:59 +0000, Rowan Collins ha scritto:
- for MediaWiki 1.4.x (in beta), there is an array, something like
$wgNavigationLinks I think, that you can copy from includes/DefaultSettings.php into your LocalSettings.php, where you can specify your own pairs of messages (as in [[MediaWiki:foo]], [[MediaWiki:Foo-url]]).
I have a problem with translation. MediaWiki:help contains correctly "Aiuto", but the link directs to en.wikipedia.org/wiki/Aiuto
I have this array:
$wgNavigationLinks = array ( array( 'text'=>'mainpage', 'href'=>'mainpage' ), array( 'text'=>'portal', 'href'=>'portal-url' ), array( 'text'=>'currentevents', 'href'=>'currentevents-url' ), array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ), array( 'text'=>'randompage', 'href'=>'randompage-url' ), array( 'text'=>'help', 'href'=>'helppage' ), array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ), );
It's not stored on LanguageIt.php, so...
Where is that url stored?
in MediaWiki:helppage
On Wed, 16 Feb 2005 19:59:47 +0000, Rowan Collins wrote:
On Mon, 14 Feb 2005 16:03:58 +0100, Alessandro Ronchi wrote:
...
- How can I change the default menu's links?
I'm guessing you're referring to the "sidebar" menu on every page here
- in which case the answer is:
- for MediaWiki 1.3.x, you can change *some* of the links through the
MediaWiki namespace (see http://meta.wikimedia.org/wiki/Help:MediaWiki namespace), e.g. by editting [[MediaWiki:Currentevents]] and [[MediaWiki:Currentevents-url]], you can change the text and target, respectively, of the link normally called (in English) "Current Events". Use [[Special:Allmessages]] to find these.
- for MediaWiki 1.4.x (in beta), there is an array, something like
$wgNavigationLinks I think, that you can copy from includes/DefaultSettings.php into your LocalSettings.php, where you can specify your own pairs of messages (as in [[MediaWiki:foo]], [[MediaWiki:Foo-url]]).
This should really be in the FAQ, but I'm too in need of a screen-break to type it up nicely this minute... ...
Links: * http://meta.wikimedia.org/wiki/Customization:Quickbar * http://meta.wikimedia.org/wiki/MediaWiki_FAQ
-- Zigger
Il giorno mer, 16-02-2005 alle 19:59 +0000, Rowan Collins ha scritto:
I'm not sure what you mean by this - is the string "Wikipedia" appearing somewhere in the interface? If so, find the appropriate message(s) using [[Special:Allmessages]], and edit it/them to use "{{SITENAME}}" instead (or customise them however you like).
Yes, it's the problem. There's a lot of Wikipedia and FDL strings (that's not my default license, I use CC Attribution-Sharealike) How can I edit them?
On Thu, 17 Feb 2005 13:02:03 +0100, Alessandro Ronchi alessandro.ronchi@gmail.com wrote:
I'm not sure what you mean by this - is the string "Wikipedia" appearing somewhere in the interface? If so, find the appropriate message(s) using [[Special:Allmessages]], and edit it/them to use "{{SITENAME}}" instead (or customise them however you like).
Yes, it's the problem. There's a lot of Wikipedia and FDL strings (that's not my default license, I use CC Attribution-Sharealike) How can I edit them?
Like I say, go to [[Special:allmessages]] to find where the problems are, and follow the links to the appropriate "MediaWiki:" pages. You can just edit them like any other page on the wiki, but they're "protected" by default, so you have to be logged in with a "sysop" account first.
mediawiki-l@lists.wikimedia.org