Is there a way to restrict feeds to a certain namespace or
category (eg, MAIN, PROJECT, etc.)? Our wiki have a couple
of links at the Main Page to the feeds provided by
Special:RecentChanges but I would like to restrict them
to articles only (and similarly to other pages like the
Community Portal, and so on).
Thank you
Javier
Welcome to mediawiki-l. This mailing list exists for discussion and questions
about the MediaWiki software[0]. Important MediaWiki-related announcements
(such as new versions) are also posted to this list.
Other resources.
If you only wish to receive announcements, you should subscribe to
mediawiki-announce[1] instead.
MediaWiki development discussion, and all Wikimedia technical questions, should
be directed to the wikitech-l[2] mailing list.
Several other MediaWiki-related lists exist:
- mediawiki-api[5] for API discussions,
- mediawiki-enterprise[6] for discussion of MediaWiki in the enterprise,
- mediawiki-cvs[7] for notification of commits to the Subversion repository,
- mediawiki-i18n[8] for discussion of MediaWiki internationalisation support,
- wikibugs-l[9] for notification of changes to the bug tracker.
List administrivia (unsubscribing, list archives).
To unsubscribe from this mailing list, visit [12]. Archives of previous postings
can be found at [3].
This list is also gatewayed to the Gmane NNTP server[4], which you can use to
read and post to the list.
Posting to the list.
Before posting to this list, please read the MediaWiki FAQ[10]. Many common
questions are answered here. You may also search the list archives to see if
your question has been asked before.
Please try to ask your question in a way that enables people to answer you.
Provide all relevant details, explain your problem clearly, etc. You may
wish to read [13], which explains how to ask questions well.
To post to the list, send mail to <mediawiki-l(a)lists.wikimedia.org>. This is a
public list, so you should not include confidential information in mails you
send.
When replying to an existing thread, use the "Reply" or "Followup" feature of
your mail client, so that clients that understand threading can sort your
message properly. When quoting other messages, please use the "inline" quoting
style[11], for clarity.
When creating a new thread, do not reply to an existing message and change the
subject. This will confuse peoples' mail readers, and will result in fewer
people reading your mail. Instead, compose a new message for your post.
Messages posted to the list have the "Reply-To" header set to the mailing list,
which means that by default, replies will go to the entire list. If you are
posting a reply which is only interesting to the original poster, and not the
list in general, you should change the reply to only go to that person. This
avoids cluttering the list with irrelevant traffic.
About this message.
This message is posted to the list once per week by <river(a)wikimedia.org>.
Please contact me if you have any questions or concerns about this mailing.
References.
[0] http://www.mediawiki.org/
[1] http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
[2] http://lists.wikimedia.org/mailman/listinfo/wikitech-l
[3] http://lists.wikimedia.org/pipermail/mediawiki-l/
[4] http://dir.gmane.org/gmane.org.wikimedia.mediawiki
[5] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
[6] http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise
[7] http://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[8] http://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
[9] http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[10] http://www.mediawiki.org/wiki/FAQ
[11] http://en.wikipedia.org/wiki/Posting_style#Inline_replying
[12] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[13] http://www.catb.org/~esr/faqs/smart-questions.html
Hi
Have you seen the extension Email2Wiki at
http://www.mediawiki.org/wiki/Extension:EmailToWiki ?
I hav2n't tried it myself.
Regards,
Jack Eapen
----------------------------------------------------------------
"Try and fail, but don't fail to try"
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Boris
Epstein
Sent: Thursday, November 15, 2007 12:27 AM
To: MediaWiki-l(a)lists.wikimedia.org
Subject: [Mediawiki-l] wiki entries via email
Hello all!
Is there a way to use MediaWiki to automatically have emailed content
entered into the Wiki database? Most preferrably, we would like to be
able to establish our own rules for importing formating, URL references,
etc.
Thanks in advance.
--
Boris Epstein
http://www.dogandponny.org/http://dikayasobaka.livejournal.com/ (Russian)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
Hello all!
Is there a way to use MediaWiki to automatically have emailed content
entered into the Wiki database? Most preferrably, we would like to be able
to establish our own rules for importing formating, URL references, etc.
Thanks in advance.
--
Boris Epstein
http://www.dogandponny.org/http://dikayasobaka.livejournal.com/ (Russian)
What browser are you using?
On Nov 14, 2007 4:46 PM, James Sweet <james(a)educationarchitects.com> wrote:
> Thanks for your time Jim. This was actually the first thing I tried. I added
> the img link because there is no link at all when I remove the style
> attribute on the <a> tag. I still don't think the img tag is the issue, but
> if you can give me a link your test site then perhaps I can find where I
> went wrong.
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)lists.wikimedia.org
> [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Jim Wilson
>
> Sent: Wednesday, November 14, 2007 1:48 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Change logo on hover
>
> > I don't see any obvious reason why the logo is set as a
> > background image inline in monobook.php rather than in
> > common.css. I suspect that if there is a reason it would also
> > explain why what I'm trying to do is not working.
>
> I do not speak for the MW maintainers, but I believe this is to
> explicitly prevent the logo from being changable via
> [[MediaWiki:Monobook.css]] and [[MediaWiki:Common.css]]. That is,
> that changing the logo requires actual back-end access, not simply a
> sysop account on the wiki.
>
> What follows is one solution to what you are trying to do - I cannot
> help you any more than giving you the exact solution:
>
> 1) In an un-altered Monobook.php, locate and remove the style
> attribute on the <a> tag under the p-logo div.
>
> 2) Add this to the article [[MediaWiki:Monobook.css]]:
>
> #p-logo a {
> background-image: url(http://server/path/to/regular-logo.gif);
> }
>
> #p-logo a:hover {
> background-image: url(http://server/path/to/hover-logo.gif);
> }
>
> That's all it takes. I have tested this in a vanilla MW 1.9.3
> install. Good luck!
>
> -- Jim
>
> On 11/13/07, James Sweet <james(a)educationarchitects.com> wrote:
> > Yes, as I said earlier I added the img link to monobook.php, and I also
> > modified the a and a:hover properties in main.css. The reason I did so is
> > because I want to have a different image on hover. Here is an example (not
> > the images I'm actually using for a logo):
> >
> > http://www.clickthink.net/HoverLogo/
> >
> > The only way I'm aware to do this is to link to a transparent image and
> set
> > the background-image for a and a:hover to the appropriate logos, which is
> > what I did. That did not work, however, and my question was does anyone
> know
> > what the problem might be?
> >
> > As long as we're on the subject of separating style and content, I don't
> see
> > any obvious reason why the logo is set as a background image inline in
> > monobook.php rather than in common.css. I suspect that if there is a
> reason
> > it would also explain why what I'm trying to do is not working.
> >
> > Best,
> > Jim
> >
> >
> > -----Original Message-----
> > From: mediawiki-l-bounces(a)lists.wikimedia.org
> > [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Jim Wilson
> > Sent: Monday, November 12, 2007 2:54 PM
> > To: MediaWiki announcements and site admin list
> > Subject: Re: [Mediawiki-l] Change logo on hover
> >
> > > How do you propose to create a link without an img tag, ...
> >
> > Again, as Platonides said, the img tag didn't exist prior to you
> > putting it there, and the link worked just fine.
> >
> > > state-dependent styles cannot be handled inline?
> >
> > You're correct that you can't represent state-dependent styles via an
> > inline style declaration - which is why I said you should remove the
> > inline background declaration and put it all in
> > [[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]].
> >
> > -- Jim R. Wilson (jimbojw)
> >
> >
> > On Nov 11, 2007 9:10 PM, James Sweet <james(a)educationarchitects.com>
> wrote:
> > > How do you propose to create a link without an img tag, given that
> > > state-dependent styles cannot be handled inline?
> > >
> > > -----Original Message-----
> > > From: mediawiki-l-bounces(a)lists.wikimedia.org
> > > [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides
> > > Sent: Sunday, November 11, 2007 4:43 PM
> > > To: mediawiki-l(a)lists.wikimedia.org
> > > Subject: Re: [Mediawiki-l] Change logo on hover
> > >
> > >
> > > James Sweet wrote:
> > > > If you remove the style attribute and don't add an image source, then
> > > there
> > > > is no image at all in the anchor and therefore nothing to click on.
> > That's
> > > > why the transparent image is needed. It's actually what provides the
> > link,
> > > > but only the two background images can actually be seen.
> > >
> > > The monobook didn't have an <img tag before you added it. It's not
> > > really needed.
> > >
> > >
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > MediaWiki-l(a)lists.wikimedia.org
> > > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >
> > >
> > >
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > MediaWiki-l(a)lists.wikimedia.org
> > > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> I don't see any obvious reason why the logo is set as a
> background image inline in monobook.php rather than in
> common.css. I suspect that if there is a reason it would also
> explain why what I'm trying to do is not working.
I do not speak for the MW maintainers, but I believe this is to
explicitly prevent the logo from being changable via
[[MediaWiki:Monobook.css]] and [[MediaWiki:Common.css]]. That is,
that changing the logo requires actual back-end access, not simply a
sysop account on the wiki.
What follows is one solution to what you are trying to do - I cannot
help you any more than giving you the exact solution:
1) In an un-altered Monobook.php, locate and remove the style
attribute on the <a> tag under the p-logo div.
2) Add this to the article [[MediaWiki:Monobook.css]]:
#p-logo a {
background-image: url(http://server/path/to/regular-logo.gif);
}
#p-logo a:hover {
background-image: url(http://server/path/to/hover-logo.gif);
}
That's all it takes. I have tested this in a vanilla MW 1.9.3
install. Good luck!
-- Jim
On 11/13/07, James Sweet <james(a)educationarchitects.com> wrote:
> Yes, as I said earlier I added the img link to monobook.php, and I also
> modified the a and a:hover properties in main.css. The reason I did so is
> because I want to have a different image on hover. Here is an example (not
> the images I'm actually using for a logo):
>
> http://www.clickthink.net/HoverLogo/
>
> The only way I'm aware to do this is to link to a transparent image and set
> the background-image for a and a:hover to the appropriate logos, which is
> what I did. That did not work, however, and my question was does anyone know
> what the problem might be?
>
> As long as we're on the subject of separating style and content, I don't see
> any obvious reason why the logo is set as a background image inline in
> monobook.php rather than in common.css. I suspect that if there is a reason
> it would also explain why what I'm trying to do is not working.
>
> Best,
> Jim
>
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)lists.wikimedia.org
> [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Jim Wilson
> Sent: Monday, November 12, 2007 2:54 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Change logo on hover
>
> > How do you propose to create a link without an img tag, ...
>
> Again, as Platonides said, the img tag didn't exist prior to you
> putting it there, and the link worked just fine.
>
> > state-dependent styles cannot be handled inline?
>
> You're correct that you can't represent state-dependent styles via an
> inline style declaration - which is why I said you should remove the
> inline background declaration and put it all in
> [[MediaWiki:Common.css]] or [[MediaWiki:Monobook.css]].
>
> -- Jim R. Wilson (jimbojw)
>
>
> On Nov 11, 2007 9:10 PM, James Sweet <james(a)educationarchitects.com> wrote:
> > How do you propose to create a link without an img tag, given that
> > state-dependent styles cannot be handled inline?
> >
> > -----Original Message-----
> > From: mediawiki-l-bounces(a)lists.wikimedia.org
> > [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Platonides
> > Sent: Sunday, November 11, 2007 4:43 PM
> > To: mediawiki-l(a)lists.wikimedia.org
> > Subject: Re: [Mediawiki-l] Change logo on hover
> >
> >
> > James Sweet wrote:
> > > If you remove the style attribute and don't add an image source, then
> > there
> > > is no image at all in the anchor and therefore nothing to click on.
> That's
> > > why the transparent image is needed. It's actually what provides the
> link,
> > > but only the two background images can actually be seen.
> >
> > The monobook didn't have an <img tag before you added it. It's not
> > really needed.
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
I am creating a custom Preferences tab with a checkbox, and it's ALMOST
working. I'm sure I'm missing something simple... any guidance?
The behavior is:
* The new tab appears
* It contains a checkbox, "Test checkbox"
* When I click "Save" for the first time, the value gets properly
saved in the database, with a value of zero
* When I toggle the checkbox and Save again, the value "1" is
properly written to the database
* BUT..... the value remains "1" in the database, no matter what
else I do: toggling, saving, etc.
Here is the very short code:
$wgMyFunkyPreferences = new MyFunkyPreferences();
class MyFunkyPreferences {
public function __construct() {
global $wgHooks;
$wgHooks['RenderPreferencesForm'][] = array($this, 'render');
$wgHooks['UserToggles'][] = array($this, 'toggle');
}
function render($form, $out) {
$out->addHTML('<fieldset><legend>My Tab</legend>');
$out->addHTML($form->getToggle('mytoggle'));
$out->addHTML('</fieldset>');
return true;
}
function toggle($extraToggles) {
global $wgMessageCache;
$extraToggles[] = 'mytoggle';
$wgMessageCache->addMessage('tog-mytoggle', 'Test checkbox');
return true;
}
}
Thank you,
DanB
I've installed the extension. I'm using Firefox 2.0.0.8 so I took the
precaution of installing the locallinks add on too. The
<file>//FileStore/documents</file> syntax renders the link correctly. It
is green and if you right click and copy link and paste it to chrome,
Firefox opens file://///FileStore/documents. If I copy and paste this
part of the source into a test HTM page:-
<ul><li> To Add domains:-
<ul><li> See the public policy statement to send to end users at <a
style="color: green;"
href="file://///FileStore/documents">\\FileStore\documents</a>
Firefox opens the link fine. However on the Wiki page itself, nothing
happens, the cursor changes but clicking produces no result at all.
Anyone any ideas?
Charlie
On Behalf Of Gary Kirk
Sent: 31 October 2007 09:33
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Links to files
See http://www.mediawiki.org/wiki/Extension:FileProtocolLinks
It works for me.
--
Gary Kirk
Hello,
my host provider has upgraded from mysql 4.1.11-Debian_4sarge5-log to mysql
5.0.32-Debian_7etch1-log
Since this upgrade, all my pages containing greek, cyrillic and some latin
extended chars are broken, MediaWiki display blank content.
When I edit, I see what horror happened :
if you look at
http://tousauxbalkans.jexiste.fr/index.php5?title=Accueil&action=edit
you'll see some �? instead of such chars (here a č uppercase)
* [[:Catégorie:�?oček|�?oček]]
I tried importing a dump made by mysql4, it doesn't work better.
I tried another host, which has mysql 5.0.27, it's the same horror.
What happened ? I already had problems with such chars in page_title which
is not a blob, but here it's in the content of a page, stored as a BLOB !
I'll ask my host to give me back a mysql4 database, and see if it'll be
better...
--
Sylvain Machefert
http://iubito.free.frhttp://tousauxbalkans.jexiste.fr
Hi,
How can I get the php_ldap.dll and php_openssl.dll?
What do I have to install? For example an LDAP server on my Apache server or
something other extensions do I have to install?
I used the following configuration to get regular authentication working
first. Despite it is NOT working:
require_once 'LdapAuthentication.php';
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array(
'KAR'
);
$wgLDAPServerNames = array(
'KAR' => 'aab.kar.local',
);
$wgLDAPSearchStrings = array(
'KAR' => 'KAR\\USER-NAME',
);
$wgLDAPEncryptionType = array(
'KAR' => 'ssl',
);
$wgLDAPUseLocal = false;
$wgMinimalPasswordLength = 1;
System:
MediaWiki 1.10
Apache/2.2.4 (Win32) - runs on WinXP
PHP/5.2.3
MySQL 5.0.41
Microsoft Active Directory - runs on another server
Regards,
Gabor Reizer