Re: wgWhitelistReadis not working in hebrew

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: wgWhitelistReadis not working in hebrew

Leon Kolchinsky
> 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")

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
Reply | Threaded
Open this post in threaded view
|

Re: wgWhitelistReadis not working in hebrew

Brion Vibber-3
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
Reply | Threaded
Open this post in threaded view
|

Re: wgWhitelistReadis not working in hebrew

Platonides
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
Reply | Threaded
Open this post in threaded view
|

Re: wgWhitelistReadis not working in hebrew

Leon Kolchinsky
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