[Mediawiki-l] How to change "Main Page" displayed on home page? (Tim Ware)
khuffman at NGS.ORG
khuffman at NGS.ORG
Mon Nov 27 14:40:06 UTC 2006
In response to Tim's email: Re: How to change "Main Page" displayed on
home page? (Tim Ware)
I prefer to not change Monobook.js in case people want to use a different
skin. So, I go to [[MediaWiki:Sidebar]] to edit the left sidebar
navigation.
For example, make sure to have two pages for your Main Page link on the
left sidebar (first one is the URL, second is the display text):
mainpage|mainpage-text
Then make sure [[MediaWiki:Mainpage]] is the URL to the home page, e.g.,
Main Page AND [[MediaWiki:Mainpage-text]] is what you want to appear on
your Main Page -- e.g., Welcome to My Wiki!
Karen
mediawiki-l-request at Wikimedia.org
Sent by: mediawiki-l-bounces at Wikimedia.org
11/26/2006 03:10 PM
Please respond to
mediawiki-l at Wikimedia.org
To
mediawiki-l at Wikimedia.org
cc
Subject
MediaWiki-l Digest, Vol 38, Issue 41
Send MediaWiki-l mailing list submissions to
mediawiki-l at Wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
mediawiki-l-request at Wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner at Wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. no categories in keywords metatags (FxParlant)
2. Re: no categories in keywords metatags (FxParlant)
3. Re: lotus notes with mediawiki (aretai aretai)
4. User editing permissions (Tim Ware)
5. Re: User editing permissions (Swen Wacker)
6. Changing Target Webpage After Clicking the Logo
(wiki at avenarius.sk)
7. How to change "Main Page" displayed on home page? (Tim Ware)
8. Re: How to change "Main Page" displayed on home page? (Jan)
9. Re: How to change "Main Page" displayed on home page? (Tim Ware)
10. Re: How to change "Main Page" displayed on home page?
(Frederik Dohr)
11. Re: How to change "Main Page" displayed on home page?
(tim at greenscourt.com)
12. Re: How to change "Main Page" displayed on home page? (Tim Ware)
----------------------------------------------------------------------
Message: 1
Date: Sun, 26 Nov 2006 14:04:53 +0100
From: FxParlant <f-x.p at laposte.net>
Subject: [Mediawiki-l] no categories in keywords metatags
To: mediawiki-l at wikimedia.org
Message-ID: <ekc3da$j22$1 at sea.gmane.org>
Content-Type: text/plain; charset=UTF-8
Hi,
I've noticed that only the title of my pages appears in the keyword
metadat of my pages. Is there some place to enable the addkeywords
function with category links ?
I'm running :
# MediaWiki: 1.8.2
# PHP: 5.2.0 (cgi)
# MySQL: 4.0.27
# Extensions:
* Special pages:
o NewestPagesBlog
* Parser hooks:
o CharInsert,
o DynamicPageList2 (version 0.7.7),
o ParserFunctions by Tim Starling
o Semantic MediaWiki (version 0.5),
I've noticed that the same thing happens on meta.wikimedia.org (running
1.9 alpha): the title is displayed in the metatags keywords list.
Maybe an extension breaks this feature.
Thanks for any advice.
Fran?ois
------------------------------
Message: 2
Date: Sun, 26 Nov 2006 14:08:07 +0100
From: FxParlant <f-x.p at laposte.net>
Subject: Re: [Mediawiki-l] no categories in keywords metatags
To: mediawiki-l at wikimedia.org
Message-ID: <ekc3jd$j22$2 at sea.gmane.org>
Content-Type: text/plain; charset=UTF-8
On meta.wikimedia.org, it is thus only on category pages. Excuse for
misdirecting.
Fran?ois
------------------------------
Message: 3
Date: Sun, 26 Nov 2006 15:31:26 +0000
From: "aretai aretai" <aretaiuc at gmail.com>
Subject: Re: [Mediawiki-l] lotus notes with mediawiki
To: "MediaWiki announcements and site admin list"
<mediawiki-l at wikimedia.org>
Message-ID:
<5783abc70611260731o48991613m157f4577cefe53ad at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Thank you that really helped. Danke sehr;)
On 11/26/06, Gunter <News2006 at freenet.de> wrote:
>
> Add this to your localsettings.php, delete the protocols you do not
like.
>
> /**
> * The external URL protocols
> */
> $wgUrlProtocols = array(
> 'http://',
> 'https://',
> 'notes://',
> 'file://',
> 'ftp://',
> 'irc://',
> 'gopher://',
> 'telnet://', // Well if we're going to support the above.. -?var
> 'nntp://', // @bug 3808 RFC 1738
> 'worldwind://',
> 'mailto:',
> 'news:'
> );
>
>
> aretai aretai schrieb:
> > I'd also like to extend the basic MediaWiki "linking capabilities"
with
> > notes:// links - i.e. users should be able to link to databases from
> wiki
> > either by handtyping new link or using new button from toolbar.
> >
> >
> >
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
------------------------------
Message: 4
Date: Sun, 26 Nov 2006 08:04:46 -0800
From: Tim Ware <tim at hyperarts.com>
Subject: [Mediawiki-l] User editing permissions
To: "MediaWiki announcements and site admin list"
<mediawiki-l at Wikimedia.org>
Message-ID: <519561DD-CD84-4D13-A6B3-0D675C73EC9D at hyperarts.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Where can I set the editing permissions? I want only registered users
to be able to edit anything in the wiki. Thanks.
Tim
------------------------------
Message: 5
Date: Sun, 26 Nov 2006 18:14:54 +0100
From: Swen Wacker <swen.wacker at gmail.com>
Subject: Re: [Mediawiki-l] User editing permissions
To: MediaWiki announcements and site admin list
<mediawiki-l at Wikimedia.org>
Message-ID: <4569CB8E.2090901 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Tim Ware schrieb:
> Where can I set the editing permissions? I want only registered users
> to be able to edit anything in the wiki. Thanks.
>
Have a look at include/Defaultsetting.php
http://www.mediawiki.org/wiki/Defaultsettings.php, specially
$wgGroupPermissions
http://www.mediawiki.org/wiki/Manual:%24wgGroupPermissions. Copy it in
your localsetting.php
At the end you'll have something like this:
$wgGroupPermissions ['*'] ['edit'] = false;
$wgGroupPermissions ['user'] ['edit'] = true;
Swen
------------------------------
Message: 6
Date: Sun, 26 Nov 2006 19:17:36 +0100
From: wiki at avenarius.sk
Subject: [Mediawiki-l] Changing Target Webpage After Clicking the Logo
To: mediawiki-l at Wikimedia.org
Message-ID: <1878719214.20061126191736 at avenarius.sk>
Content-Type: text/plain; charset=us-ascii
Hello,
could please someone remind me how we can change the page
that gets displayed after visitors click the wiki logo
in the top-left corner of pages?
The default target is Main Page. We'd like to specify our overall
homepage instead.
We have just switched from Classic skin to MonoBook as our default.
I used to know how to achieve what I need to do now:
http://mail.wikipedia.org/pipermail/mediawiki-l/2006-August/014136.html
but I can't remember right now what I seemed to know back on 6 August
2006.
Searching via MediaWiki FAQ or Google brought no results.
Thank you very much for your help.
--
Yours,
Alex.
[processed by "The Bat!", Version 3.80.06]
(MediaWiki: 1.6.8 / PHP: 4.4.1 [cgi] / MySQL: 4.1.19-standard)
http://wiki.vdp.sk
------------------------------
Message: 7
Date: Sun, 26 Nov 2006 11:02:11 -0800
From: Tim Ware <tim at hyperarts.com>
Subject: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: "MediaWiki announcements and site admin list"
<mediawiki-l at Wikimedia.org>
Message-ID: <57149D76-2A66-48C8-825F-E4474E41496C at hyperarts.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
How can I change the "Main Page" text that's displayed at the top of
the home page? I don't want to change the URL, just the name that's
displayed. Thanks!
Tim
------------------------------
Message: 8
Date: Sun, 26 Nov 2006 20:30:43 +0100
From: Jan <2036 at gmx.de>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: MediaWiki announcements and site admin list
<mediawiki-l at Wikimedia.org>
Message-ID: <4569EB63.4020208 at gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Just change this page in your wiki:
MediaWiki:Mainpage
[[MediaWiki:Mainpage]]
Regards,
Jan
Tim Ware schrieb:
> How can I change the "Main Page" text that's displayed at the top of
> the home page? I don't want to change the URL, just the name that's
> displayed. Thanks!
>
> Tim
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
------------------------------
Message: 9
Date: Sun, 26 Nov 2006 11:42:31 -0800
From: Tim Ware <tim at hyperarts.com>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: "MediaWiki announcements and site admin list"
<mediawiki-l at Wikimedia.org>
Message-ID: <74174BE6-D681-496C-B27C-A872DCE43938 at hyperarts.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> Just change this page in your wiki:
> MediaWiki:Mainpage
> [[MediaWiki:Mainpage]]
>
If I go to:
MediaWiki:Mainpage
and click "edit", I just see
Main Page
If I change that text, then the system wants to look for a page with
the next text as the main page.
Please remember, I don't want to change the URL of the main page,
just the displayed text "Main Page".
Tim
------------------------------
Message: 10
Date: Sun, 26 Nov 2006 20:50:18 +0100
From: Frederik Dohr <fdg001 at gmx.net>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: MediaWiki announcements and site admin list
<mediawiki-l at Wikimedia.org>
Message-ID: <4569EFFA.2090002 at gmx.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
How about inserting a REDIRECT leading to the page with the desired title?
(Disclaimer: I'm a MediaWiki newbie myself, so this might be a stupid
suggestion... )
-- Frederik
----- Original Message -----
From: Tim Ware
Date: 2006-11-26 20:42
> > Just change this page in your wiki:
> > MediaWiki:Mainpage
> > [[MediaWiki:Mainpage]]
> >
>
> If I go to:
>
> MediaWiki:Mainpage
>
> and click "edit", I just see
>
> Main Page
>
> If I change that text, then the system wants to look for a page with
> the next text as the main page.
>
> Please remember, I don't want to change the URL of the main page,
> just the displayed text "Main Page".
>
> Tim
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
------------------------------
Message: 11
Date: Sun, 26 Nov 2006 12:51:30 -0700
From: tim at greenscourt.com
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: MediaWiki announcements and site admin list
<mediawiki-l at Wikimedia.org>
Message-ID:
<20061126125130.4c0ddfa86d7d5dae25bdeaecb240b680.b029aa7cb0.wbe at email.secureserver.net>
Content-Type: TEXT/plain; CHARSET=US-ASCII
Another option is to disable the display of the "Main Page" header on
the Main Page only. That should allow you to place any other heading on
the page that you like, without actually changing the name of the page.
To do this, edit the page MediaWiki:Monobook.js and add the following
text:
if (isMainPage && !isDiff)
{
document.write('<style type="text/css">/*<![CDATA[*/ #lastmod, #siteSub,
#contentSub, h1.firstHeading { display: none !important; }
/*]]>*/</style>'); }
Tim
> -------- Original Message --------
> Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
> page?
> From: Tim Ware <tim at hyperarts.com>
> Date: Sun, November 26, 2006 1:42 pm
> To: "MediaWiki announcements and site admin list"
> <mediawiki-l at Wikimedia.org>
>
> > Just change this page in your wiki:
> > MediaWiki:Mainpage
> > [[MediaWiki:Mainpage]]
> >
>
> If I go to:
>
> MediaWiki:Mainpage
>
> and click "edit", I just see
>
> Main Page
>
> If I change that text, then the system wants to look for a page with
> the next text as the main page.
>
> Please remember, I don't want to change the URL of the main page,
> just the displayed text "Main Page".
>
> Tim
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
------------------------------
Message: 12
Date: Sun, 26 Nov 2006 12:09:24 -0800
From: Tim Ware <tim at hyperarts.com>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: "MediaWiki announcements and site admin list"
<mediawiki-l at Wikimedia.org>
Message-ID: <D80FD234-8254-45AD-9985-D4B42A1942FB at hyperarts.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Thanks. This is probably the correct approach. But how do we escape
the curly brackets? After I edited Monobook.js to include this code
and the loaded the home page and did a "view source", it showed that
the script's document.write ends after the ending curly bracket on
the style.
Tim
> Another option is to disable the display of the "Main Page" header on
> the Main Page only. That should allow you to place any other
> heading on
> the page that you like, without actually changing the name of the
> page.
> To do this, edit the page MediaWiki:Monobook.js and add the following
> text:
>
>
> if (isMainPage && !isDiff)
> {
> document.write('<style type="text/css">/*<![CDATA[*/ #lastmod,
> #siteSub,
> #contentSub, h1.firstHeading { display: none !important; }
> /*]]>*/</style>'); }
------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 38, Issue 41
*******************************************
More information about the MediaWiki-l
mailing list