On Freitag, 11. Januar 2008, cnit wrote:
> > Dmitriy,
> >
> > The problems I was having with the RSS were being caused by an explicit
> > assignment of $wgUrlProtocols that I'd manually added to
> > LocalSettings.php when using RC1.  Specifically, the line in question
> > was:
> >
> > $wgUrlProtocols =
> > 'http:\/\/|https:\/\/|ftp:\/\/|irc:\/\/|gopher:\/\/|news:|mailto:|file:\
> > /\/';
>
> Yes, I have additional
>
> // make rtsp valid uri protocol (used by RealPlayer)
> $wgUrlProtocols[] = 'rtsp://';
> but it's not a string, rather an element of array. And it works with
> MW 1.11 without any problem.
> Anyway, even if the problem is related to wgUrlProtocols, I'd rather
> prefer to recieve a meaninful warning in the wiki itself, rather than
> a raw PHP error.

As you correctly note, $wgUrlProtocols is an array, not a string. This may 
have changed at some MW version, but any setting that really works with 
MediaWiki now should also work with SMW. I am sure that making it a string 
will give you a long list of warnings.

But this is of course not related to your earlier problem. I have updated SVN 
to catch the error (not fixing the problem but weakening its effects). Could 
you please send the original query (with Russian characters) again? Note that 
RSS-links do not depend on the query result -- they will yield almost the 
same result on any SMW-installation (with the exception of local query 
parsing errors due to different property types; these do not affect the 
generated link). So you can run tests on ontoworld as well (e.g. on your user 
page there).

Markus

>
> > As the error messages I was getting weren't the same as those that you
> > supplied, I assumed that your specific problem would be slightly
> > different.  However, as the RSS code itself is clearly working OK, I
> > wondered whether LocalSetting.php might be the source of your problem
> > too.
>
> Even if it's working at your computer, that doesn't means it works
> everywhere. For example, don't forget that Latin alphabet is probably
> the most common set among different character encodings and is the
> most accepted one among RFC's, protocols and so on. My wiki uses
> Cyrillic alphabet, some params of ask query are Cyrillic strings.
>
> > Good luck in finding your problem.
>
> Thanks, I hope that Markus will investigate it. Otherwise, I'll try to
> fix but not now, later. To me, it's important for the fix to be a part
> of SVN.
> Dmitriy
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac
>e _______________________________________________
> Semediawiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



-- 
Markus Krötzsch
Institut AIFB, Universät Karlsruhe (TH), 76128 Karlsruhe
phone +49 (0)721 608 7362        fax +49 (0)721 608 5998
[EMAIL PROTECTED]        www  http://korrekt.org

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to