> Leon Kolchinsky wrote:
Hi,
> > Not registered users can't see the "Main page" but they can see the > login page. > > So as I see it, this code: > > urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") > > is not working :( > > > > Could someone tell me why and how to resolve this problem, please? > > I believe you need to use spaces, not underscores, in this var. > > -- brion > Did you mean urldecode("%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99") instead of urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") ? Regards, Leon _______________________________________________ MediaWiki-l mailing list [hidden email] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
Leon Kolchinsky wrote:
>> Leon Kolchinsky wrote: >>> Not registered users can't see the "Main page" but they can see the >> login page. >>> So as I see it, this code: >>> urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") >>> is not working :( >>> >>> Could someone tell me why and how to resolve this problem, please? >> I believe you need to use spaces, not underscores, in this var. >> >> -- brion >> > Hi, > > Did you mean > urldecode("%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99") Sure... or just a space instead of an encoded space will do fine. :) -- brion _______________________________________________ MediaWiki-l mailing list [hidden email] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
Brion Vibber wrote:
> Leon Kolchinsky wrote: >> Did you mean >> urldecode("%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99") > > Sure... or just a space instead of an encoded space will do fine. :) > > -- brion Isn't the output of urldecode("%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99") and urldecode("%D7%A2%D7%9E%D7%95%D7%93 %D7%A8%D7%90%D7%A9%D7%99") the same? _______________________________________________ MediaWiki-l mailing list [hidden email] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
In reply to this post by Leon Kolchinsky
> Leon Kolchinsky wrote:
> >> Leon Kolchinsky wrote: > >>> Not registered users can't see the "Main page" but they can see the > >> login page. > >>> So as I see it, this code: > >>> urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") > >>> is not working :( > >>> > >>> Could someone tell me why and how to resolve this problem, please? > >> I believe you need to use spaces, not underscores, in this var. > >> > >> -- brion > >> > > Hi, > > > > Did you mean > > urldecode("%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99") > > Sure... or just a space instead of an encoded space will do fine. :) > > -- brion Thank you very much Brion :) This is actually working urldecode("%D7%A2%D7%9E%D7%95%D7%93 %D7%A8%D7%90%D7%A9%D7%99") May be it's time to update mediawiki's howto here: http://www.mediawiki.org/wiki/Manual:Preventing_access and replace urldecode("%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99") with urldecode("%D7%A2%D7%9E%D7%95%D7%93 %D7%A8%D7%90%D7%A9%D7%99") Best Regards, Leon Kolchinsky _______________________________________________ MediaWiki-l mailing list [hidden email] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
Free forum by Nabble | Edit this page |