[Mediawiki-l] CSS and Common.js
Getzke, John
jgetzke at ptc.com
Tue May 29 18:44:00 UTC 2007
Hello,
Does anyone know how to add the navFrame Feature listed here:
http://en.wikipedia.org/wiki/WP:NAVFRAME
It claims that you need the commmon.js file but I cannont find it
anywhere. Are we supposed to create one from scratch? If so where do
we put it and what is the correct way to link it up?
Also, I have received requests for css support. Some of my co-workers
would like to be able to use css classes like the wikitable mentioned
here: http://en.wikipedia.org/wiki/Help:Table. We are currently using a
custom version of the monoskin layout. Where can I go to add these new
css classes?
Thanks,
John Getzke
-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of
mediawiki-l-request at lists.wikimedia.org
Sent: Tuesday, May 29, 2007 1:33 PM
To: mediawiki-l at lists.wikimedia.org
Subject: MediaWiki-l Digest, Vol 44, Issue 82
Send MediaWiki-l mailing list submissions to
mediawiki-l at lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
mediawiki-l-request at lists.wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner at lists.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. Re: Removing Features (Ivan Lanin)
2. Re: Any leads on a basic wiki setup-and-configure instruction
manual? (Arthur Guy)
3. how to control edit of certain pages (Amitrajit Chatterjee)
4. Re: how to control edit of certain pages (Simon Dorfman)
5. Re: Markdown (Ian Smith)
6. Re: Removing Features (G. Carter)
7. duplicating an installation (Hiram Clawson)
8. Re: RSS and DynamicPageList Clash (mk10 at cec.wustl.edu)
9. Re: duplicating an installation (Ian Smith)
10. Re: Removing Features (Gary Kirk)
11. Re: efficiently adding javascript / css to page header
(Brion Vibber)
12. hiding and sharing articles/namespaces to the public
(revansx at cox.net)
----------------------------------------------------------------------
Message: 1
Date: Tue, 29 May 2007 22:36:20 +0700
From: "Ivan Lanin" <ivanlanin at gmail.com>
Subject: Re: [Mediawiki-l] Removing Features
To: "MediaWiki announcements and site admin list"
<mediawiki-l at lists.wikimedia.org>
Message-ID:
<486a1b950705290836u5cd72cc1q439850452a207fbf at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 5/29/07, G. Carter <gcarter2000 at gmail.com> wrote:
> Can someone tell me how I can remove the 'Donations' link and the
'Edit'
> functionality on the Main Page?
* Configure the sidebar to remove the 'Donations' link or any other link
that you don't want. See:
http://www.mediawiki.org/wiki/Manual:Navigation_bar
* You can "protect" a page to stop unauthorized visitors to edit the
page. See: http://meta.wikimedia.org/wiki/Help:Administration#Protection
Ivan Lanin
------------------------------
Message: 2
Date: Tue, 29 May 2007 16:44:02 +0100
From: "Arthur Guy" <Arthur at assys.net>
Subject: Re: [Mediawiki-l] Any leads on a basic wiki
setup-and-configure instruction manual?
To: "MediaWiki announcements and site admin list"
<mediawiki-l at lists.wikimedia.org>
Message-ID: <AC0F2AA79B08DB4CBB45EBADE0ED0A64039D5A at zeus.assys.net>
Content-Type: text/plain; charset="us-ascii"
I thought you had set it up already, why do you need more instructions?
Generally people ask specific questions such as how do I change the logo
or how do it protect a specific page and they will get an answer or a
link to an answer, I think your problem is you are asking a very vague
question.
By now you must have realised there isn't a complete set of instruction
to your standards, rather specific articles on how to accomplish a
specific task, perhaps you can try re-asking you question in this form?
Arthur Guy
arthur at assys.net
-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Monahon,
Peter B.
Sent: 29 May 2007 15:41
To: mediawiki-l at lists.wikimedia.org
Subject: Re: [Mediawiki-l] Any leads on a basic wiki setup-and-configure
instruction manual?
> Arthur wrote: ... So you have Apache, PHP, MySQL and MediaWiki
> working; what are you having problems with?
Peter Blaise responds: I'm having problems finding any leads on a basic
wiki setup-and-configure instruction manual.
Message scanned for viruses by Sophos PureMessage
------------------------------
Message: 3
Date: Tue, 29 May 2007 09:30:08 -0700
From: Amitrajit Chatterjee <amitrajit.chatterjee at csueastbay.edu>
Subject: [Mediawiki-l] how to control edit of certain pages
To: MediaWiki announcements and site admin list
<mediawiki-l at lists.wikimedia.org>
Message-ID:
<5E9F084BF4F64042BCB43957FFD12317617094 at ADHAYEXC00V1.ad.csueastbay.edu>
Content-Type: text/plain; charset=us-ascii
Hi,
I was wondering if it is possible to restrict edit of certain pages to a
certain group of people while allowing edit of all the other pages to
whoever signs up. The "Protect" tab seems to be only for administrators.
Thanks,
Amit
------------------------------
Message: 4
Date: Tue, 29 May 2007 11:35:32 -0500
From: Simon Dorfman <emaillists at simondorfman.com>
Subject: Re: [Mediawiki-l] how to control edit of certain pages
To: MediaWiki announcements and site admin list
<mediawiki-l at lists.wikimedia.org>
Message-ID: <C281C084.30527%emaillists at simondorfman.com>
Content-Type: text/plain; charset="US-ASCII"
Hi Amit,
This page should have details on how to do that:
http://www.mediawiki.org/wiki/Manual:Preventing_access
Simon
On 5/29/07 11:30 AM, "Amitrajit Chatterjee"
<amitrajit.chatterjee at csueastbay.edu> wrote:
> Hi,
> I was wondering if it is possible to restrict edit of certain pages to
> a certain group of people while allowing edit of all the other pages
> to whoever signs up. The "Protect" tab seems to be only for
administrators.
>
> Thanks,
> Amit
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
Message: 5
Date: Tue, 29 May 2007 10:07:29 -0700 (PDT)
From: Ian Smith <johantheghost at yahoo.com>
Subject: Re: [Mediawiki-l] Markdown
To: MediaWiki-l at lists.wikimedia.org
Message-ID: <225271.51242.qm at web53204.mail.re2.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
Hi Jim,
On 5/27/07 12:42 PM, "Jim Wilson" <wilson.jim.r at gmail.com> wrote:
>
> Without going into too much detail, the current implementation of
> ExtendedSyntaxParser, while operating fine by itself, is not amicable
> to running along side certain other kinds of extensions. It's
> something that I've wanted to revisit, but haven't had time to do so
> just
yet.
Since I wrote TabbedData, I'm wondering what the incompatibility is? Is
there something I can change in TabbedData to make this work?
BTW, the UsenetSyntax page makes no mention of requiring
ExtendedSyntaxParser, and I can't find it on mw.org... where do I get
it?
Ian
------------------------------
Message: 6
Date: Tue, 29 May 2007 11:11:16 -0600
From: "G. Carter" <gcarter2000 at gmail.com>
Subject: Re: [Mediawiki-l] Removing Features
To: "MediaWiki announcements and site admin list"
<mediawiki-l at lists.wikimedia.org>
Message-ID:
<962aa9230705291011q4ec16696j3aa04b879f459ae9 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Looks like I need to edit 'MediaWiki:Sidebar' to remove 'sitesupport'.
However, this is protected. How do I access?
Thanks
On 5/29/07, Ivan Lanin <ivanlanin at gmail.com> wrote:
>
> On 5/29/07, G. Carter <gcarter2000 at gmail.com> wrote:
>
> > Can someone tell me how I can remove the 'Donations' link and the
'Edit'
> > functionality on the Main Page?
>
> * Configure the sidebar to remove the 'Donations' link or any other
> link that you don't want. See:
> http://www.mediawiki.org/wiki/Manual:Navigation_bar
> * You can "protect" a page to stop unauthorized visitors to edit the
> page. See:
> http://meta.wikimedia.org/wiki/Help:Administration#Protection
>
> Ivan Lanin
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
------------------------------
Message: 7
Date: Tue, 29 May 2007 10:13:53 -0700
From: Hiram Clawson <hiram at soe.ucsc.edu>
Subject: [Mediawiki-l] duplicating an installation
To: MediaWiki announcements and site admin list
<mediawiki-l at lists.wikimedia.org>
Message-ID: <465C5F51.70407 at soe.ucsc.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Good Morning MediaWiki Fans:
I know I can export to xml and import that xml to make a copy of the
contents of a media wiki. How about copying all the user data too, in
order to make a fully functional duplicate of a media wiki installation
?
Can I simply copy the database tables: _user, _user_groups,
_user_newtalk to replicate the user business too ? Or are there other
tables involved with the user accounts ?
Thanks for your assistance,
--Hiram
------------------------------
Message: 8
Date: Tue, 29 May 2007 12:19:43 -0500 (CDT)
From: mk10 at cec.wustl.edu
Subject: Re: [Mediawiki-l] RSS and DynamicPageList Clash
To: mediawiki-l at lists.wikimedia.org
Message-ID:
<1992.128.252.167.214.1180459183.squirrel at hilton.cec.wustl.edu>
Content-Type: text/plain;charset=iso-8859-1
the URL for the wiki is http://datafedwiki.wustl.edu and the pages that
have the problems are Consoles, 2006-09-22:Wiki Use Discussion,
2007-02-24: Atmospheric Aerosols - Tools, Methods, and 2006-03-07:
netCDF, CF, ncML, GML, WCS.
The error is not in rss_fetch, it is actually in rss_parse still on line
404.
Thanks,
Mark
------------------------------
Message: 9
Date: Tue, 29 May 2007 10:35:01 -0700 (PDT)
From: Ian Smith <johantheghost at yahoo.com>
Subject: Re: [Mediawiki-l] duplicating an installation
To: MediaWiki announcements and site admin list
<mediawiki-l at lists.wikimedia.org>
Message-ID: <435130.61380.qm at web53204.mail.re2.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
--- Hiram Clawson <hiram at soe.ucsc.edu> wrote:
> Good Morning MediaWiki Fans:
>
> I know I can export to xml and import that xml to make a copy of the
> contents of a media wiki. How about copying all the user data too, in
> order to make a fully functional duplicate of a media wiki
> installation ?
This should help:
http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
Ian
------------------------------
Message: 10
Date: Tue, 29 May 2007 19:09:55 +0100
From: "Gary Kirk" <gary.kirk at gmail.com>
Subject: Re: [Mediawiki-l] Removing Features
To: "MediaWiki announcements and site admin list"
<mediawiki-l at lists.wikimedia.org>
Message-ID:
<8731ce350705291109m61bbc9e1se4e957392be6dc62 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Log in with a sysop account such as the one you created during
installation.
On 29/05/07, G. Carter <gcarter2000 at gmail.com> wrote:
> Looks like I need to edit 'MediaWiki:Sidebar' to remove 'sitesupport'.
> However, this is protected. How do I access?
>
> Thanks
>
>
> On 5/29/07, Ivan Lanin <ivanlanin at gmail.com> wrote:
> >
> > On 5/29/07, G. Carter <gcarter2000 at gmail.com> wrote:
> >
> > > Can someone tell me how I can remove the 'Donations' link and the
'Edit'
> > > functionality on the Main Page?
> >
> > * Configure the sidebar to remove the 'Donations' link or any other
> > link that you don't want. See:
> > http://www.mediawiki.org/wiki/Manual:Navigation_bar
> > * You can "protect" a page to stop unauthorized visitors to edit the
> > page. See:
> > http://meta.wikimedia.org/wiki/Help:Administration#Protection
> >
> > Ivan Lanin
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
Gary Kirk
------------------------------
Message: 11
Date: Tue, 29 May 2007 14:32:38 -0400
From: Brion Vibber <brion at wikimedia.org>
Subject: Re: [Mediawiki-l] efficiently adding javascript / css to page
header
To: MediaWiki announcements and site admin list
<mediawiki-l at lists.wikimedia.org>
Message-ID: <465C71C6.4010304 at wikimedia.org>
Content-Type: text/plain; charset=ISO-8859-1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ittay Dror wrote:
> I see two addHeadItems:
>
> includes/OutputPage.php: function addHeadItem( $name, $value )
{
> includes/ParserOutput.php: function addHeadItem( $section, $tag =
> false ) {
>
>
> which one should i use?
The one on the output of the parser object that was passed to your hook.
This will record it in the parser cache record for later output.
I'm not sure this is the most stable api ever, though, it feels a little
weird to me. :) But here's an example in the SyntaxHighlight_GeSHi
extension:
$parser->mOutput->addHeadItem(
"<style type=\"text/css\">/*<![CDATA[*/\n" .
".source-$lang {line-height: normal;}\n" .
".source-$lang li {line-height: normal;}\n" .
$geshi->get_stylesheet( false ) .
"/*]]>*/</style>\n$sitecss",
"source-$lang" );
The first parameter is the actual HTML fragment you want to output.
The second is optional, and is a section keyword which should be unique
to your extension -- if you try to add two head sections with the same
key, only the last one will be output.
This avoids duplicate output when your hook is used more than once in
the same page. You should be sure that they really will be equivalent in
this case; if you output something different on each call, maybe you do
want to output it multiple times.
- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXHHGwRnhpk1wk44RArQ+AJ9qCAeZEn4ag3i8bbyoPx12myOKnwCglxUY
jIZYjJ0nTIUhTxrHcLZ3o+Q=
=VQgh
-----END PGP SIGNATURE-----
------------------------------
Message: 12
Date: Tue, 29 May 2007 14:33:06 -0400
From: <revansx at cox.net>
Subject: [Mediawiki-l] hiding and sharing articles/namespaces to the
public
To: Forum - MediaWiki-l <mediawiki-l at lists.wikimedia.org>
Message-ID: <26058728.1180463586927.JavaMail.root at eastrmwml11>
Content-Type: text/plain; charset=utf-8
Dear mediawiki admin experts,
I have a configuration goal for my installation of mediawiki that might
technically only be a web-server related modification, but I am
convinced that the solution (if it is even possible) will requires the
advanced insights of this group of experts. Here's the situation: I have
set-up a mediawiki (1.6.10) on a dedicated company server (Red Hat,
Apache 2.0.52) which uniformly (www and intranet) limits browser
accessibility to users who have a company username and password which
they are required to provide to the browser in order to view the wiki
articles. wiki user-accounts for authoring are handled by the LDAP
module. This part all works great. --- The problem is --- that I am now
being asked if it is possible to make certain pages "publicly"
accessible and not protected behind a secure browser authentication
against the company's domain (after we've gone to such excellent lengths
to protect all of the content!!!) I am being asked if specific articles
and/or all of the articles in certain namespace can be made to be an
exception to our global restrictions on who can "see" the articles. A
specific example is the "Main Page" and any of the User's pages. So,
does anyone know how to configure a mediawiki such that "some" pages
require secure browser authentication even just to see them? If so, the
ideal solution would behave such that new pages are created inaccessible
from the public by default. --- sincerest thanks all. - Rich (revansx)
------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 44, Issue 82
*******************************************
More information about the MediaWiki-l
mailing list