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(a)Wikimedia.org
Sent by: mediawiki-l-bounces(a)Wikimedia.org
11/26/2006 03:10 PM
Please respond to
mediawiki-l(a)Wikimedia.org
To
mediawiki-l(a)Wikimedia.org
cc
Subject
MediaWiki-l Digest, Vol 38, Issue 41
Send MediaWiki-l mailing list submissions to
mediawiki-l(a)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(a)Wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner(a)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(a)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(a)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(a)laposte.net>
Subject: [Mediawiki-l] no categories in keywords metatags
To: mediawiki-l(a)wikimedia.org
Message-ID: <ekc3da$j22$1(a)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(a)laposte.net>
Subject: Re: [Mediawiki-l] no categories in keywords metatags
To: mediawiki-l(a)wikimedia.org
Message-ID: <ekc3jd$j22$2(a)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(a)gmail.com>
Subject: Re: [Mediawiki-l] lotus notes with mediawiki
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)wikimedia.org>
Message-ID:
<5783abc70611260731o48991613m157f4577cefe53ad(a)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(a)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(a)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(a)hyperarts.com>
Subject: [Mediawiki-l] User editing permissions
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)Wikimedia.org>
Message-ID: <519561DD-CD84-4D13-A6B3-0D675C73EC9D(a)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(a)gmail.com>
Subject: Re: [Mediawiki-l] User editing permissions
To: MediaWiki announcements and site admin list
<mediawiki-l(a)Wikimedia.org>
Message-ID: <4569CB8E.2090901(a)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(a)avenarius.sk
Subject: [Mediawiki-l] Changing Target Webpage After Clicking the Logo
To: mediawiki-l(a)Wikimedia.org
Message-ID: <1878719214.20061126191736(a)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(a)hyperarts.com>
Subject: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)Wikimedia.org>
Message-ID: <57149D76-2A66-48C8-825F-E4474E41496C(a)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(a)gmx.de>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: MediaWiki announcements and site admin list
<mediawiki-l(a)Wikimedia.org>
Message-ID: <4569EB63.4020208(a)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(a)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(a)hyperarts.com>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)Wikimedia.org>
Message-ID: <74174BE6-D681-496C-B27C-A872DCE43938(a)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(a)gmx.net>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: MediaWiki announcements and site admin list
<mediawiki-l(a)Wikimedia.org>
Message-ID: <4569EFFA.2090002(a)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(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
------------------------------
Message: 11
Date: Sun, 26 Nov 2006 12:51:30 -0700
From: tim(a)greenscourt.com
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: MediaWiki announcements and site admin list
<mediawiki-l(a)Wikimedia.org>
Message-ID:
<20061126125130.4c0ddfa86d7d5dae25bdeaecb240b680.b029aa7cb0.wbe(a)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(a)hyperarts.com>
> Date: Sun, November 26, 2006 1:42 pm
> To: "MediaWiki announcements and site admin list"
> <mediawiki-l(a)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(a)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(a)hyperarts.com>
Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
page?
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)Wikimedia.org>
Message-ID: <D80FD234-8254-45AD-9985-D4B42A1942FB(a)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(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 38, Issue 41
*******************************************
Hi,
I am trying to install MediaWiki 1.8.2 on FC4. As mentioned on the
installation page , I have also installed MySQL 5 on my system. I have also
created a db with the name wikidb. But the configuration script does not
detect drivers for MySQL but only PostgreSQL. How do I go ahead with the
installation ??
Regards,
Farhan.
>>> David Gerarddgerard(a)gmail.com> 26/11/2006 12:22 >>
> In my experience WYSIWYG wikitext editors make simple things simple
> and hard things impossible.
Completely agreed! But if we ease the entry point, people has less a
reason to initially reject the proposed environment.
During the last years I've moved from WordStar to WordPerfect to Word
to FrameMaker to/moving to LaTeX or any SGML/XML based solution. And
of course the WYSIWYG becomes just a piece of the whole puzzle. But
most of the people arriving to the team come from a Windows based
environment. A slightly more featured WYSIWYG environment should ease
the transition.
> Mediawiki text->XML is already in MediaWiki, isn't it? You'd need the
> right XSLT to turn that into OpenDocument or any other XML format.
> ("the right XSLT" is a phrase like "simple matter of programming")
Probably I've missed something here. All I know is the Export Pages
Special page. But it seems intended to move a wiki article from a
wiki installation to another, but no XML tag is added to the body of
the article. It moves to the XML file with the original Mediawiki
tagging.
Please, could you point me in the right direction? Thanks!
Best,
Ricardo
--
Ricardo Rodríguez
Your XEN ICT Team
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
Actually, the added code to WikiMedia:Monobook.js isn't getting
written at all. I was looking at the wrong stuff in the view-source
head. Viewing the source in the head of the homepage, I don't see
Monobook.js getting called.
Tim
I already had fixed that. Here's a link to my Monobook.js:
http://pynchonwiki.com/against-the-day/index.php?
title=MediaWiki:Monobook.js
and here's a link to the home page:
http://pynchonwiki.com/against-the-day/
If you view source, you'll see the problem, just before the close of
the head tag.
Thanks.
Tim
> It may be the way that the email split that line. Everything from
> document.write till the end should be on the same line (no line
> breaks).
>
> Tim
>
> 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>'); }
>
>
I already had fixed that. Here's a link to my Monobook.js:
http://pynchonwiki.com/against-the-day/index.php?
title=MediaWiki:Monobook.js
and here's a link to the home page:
http://pynchonwiki.com/against-the-day/
If you view source, you'll see the problem, just before the close of
the head tag.
Thanks.
Tim
> It may be the way that the email split that line. Everything from
> document.write till the end should be on the same line (no line
> breaks).
>
> Tim
>
> 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>'); }
>
>
It may be the way that the email split that line. Everything from
document.write till the end should be on the same line (no line
breaks).
Tim
> -------- Original Message --------
> Subject: Re: [Mediawiki-l] How to change "Main Page" displayed on home
> page?
> From: Tim Ware <tim(a)hyperarts.com>
> Date: Sun, November 26, 2006 2:09 pm
> To: "MediaWiki announcements and site admin list"
> <mediawiki-l(a)Wikimedia.org>
>
> 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(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
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>'); }
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(a)hyperarts.com>
> Date: Sun, November 26, 2006 1:42 pm
> To: "MediaWiki announcements and site admin list"
> <mediawiki-l(a)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(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 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