wikipedia-other-language not working?

View: New views
5 Messages — Rating Filter:   Alert me  

wikipedia-other-language not working?

by Renaud Casenave-Péré-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm using conkeror from the nightly build debian package provided by http://noone.org/conkeror-nightly-debs/ for Debian Sid.

I wanted to try out the new wikipedia mode, but when I try to use wikipedia-other-language feature, I get the following error:

TypeError: doc.querySelectorAll is not a function

Is there something I am doing wrong ?

Thanks,

--
Renaud Casenave-Péré
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: wikipedia-other-language not working?

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 07, 2009 at 04:09:25PM +0200, Renaud Casenave-Péré wrote:
> Hi,
>
> I'm using conkeror from the nightly build debian package provided by http://noone.org/conkeror-nightly-debs/ for Debian Sid.
>
> I wanted to try out the new wikipedia mode, but when I try to use wikipedia-other-language feature, I get the following error:
>
> TypeError: doc.querySelectorAll is not a function
>
> Is there something I am doing wrong ?



That only works with xulrunner 1.9.1 and higher.

To skorpan: this should be rewritten to use xpath instead.

--
John Foerch
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: wikipedia-other-language not working?

by Deniz Dogan-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/9/7 John J. Foerch <jjfoerch@...>:

> On Mon, Sep 07, 2009 at 04:09:25PM +0200, Renaud Casenave-Péré wrote:
>> Hi,
>>
>> I'm using conkeror from the nightly build debian package provided by http://noone.org/conkeror-nightly-debs/ for Debian Sid.
>>
>> I wanted to try out the new wikipedia mode, but when I try to use wikipedia-other-language feature, I get the following error:
>>
>> TypeError: doc.querySelectorAll is not a function
>>
>> Is there something I am doing wrong ?
>
>
>
> That only works with xulrunner 1.9.1 and higher.
>
> To skorpan: this should be rewritten to use xpath instead.
>
> --
> John Foerch
> _______________________________________________
> Conkeror mailing list
> Conkeror@...
> https://www.mozdev.org/mailman/listinfo/conkeror
>

If so, only temporarily, until all major operating systems have
support for querySelectorAll. XPath is unnecessarily verbose and
illegible for most tasks. What do you think?

--
Deniz Dogan
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: wikipedia-other-language not working?

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 07, 2009 at 04:41:02PM +0200, Deniz Dogan wrote:

> 2009/9/7 John J. Foerch <jjfoerch@...>:
> > On Mon, Sep 07, 2009 at 04:09:25PM +0200, Renaud Casenave-Péré wrote:
> >> Hi,
> >>
> >> I'm using conkeror from the nightly build debian package provided by http://noone.org/conkeror-nightly-debs/ for Debian Sid.
> >>
> >> I wanted to try out the new wikipedia mode, but when I try to use wikipedia-other-language feature, I get the following error:
> >>
> >> TypeError: doc.querySelectorAll is not a function
> >>
> >> Is there something I am doing wrong ?
> >
> >
> > That only works with xulrunner 1.9.1 and higher.
> >
> > To skorpan: this should be rewritten to use xpath instead.
>
>
> If so, only temporarily, until all major operating systems have
> support for querySelectorAll. XPath is unnecessarily verbose and
> illegible for most tasks. What do you think?


  For the time being we need to support xulrunner 1.9.0.  The syntax
difference between css queries and xpath queries is quite trivial.  I
never found it illegible, and there are examples throughout the source
that can be copied.

--
John Foerch
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: wikipedia-other-language not working?

by Deniz Dogan-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/9/7 John J. Foerch <jjfoerch@...>:

> On Mon, Sep 07, 2009 at 04:41:02PM +0200, Deniz Dogan wrote:
>> 2009/9/7 John J. Foerch <jjfoerch@...>:
>> > On Mon, Sep 07, 2009 at 04:09:25PM +0200, Renaud Casenave-Péré wrote:
>> >> Hi,
>> >>
>> >> I'm using conkeror from the nightly build debian package provided by http://noone.org/conkeror-nightly-debs/ for Debian Sid.
>> >>
>> >> I wanted to try out the new wikipedia mode, but when I try to use wikipedia-other-language feature, I get the following error:
>> >>
>> >> TypeError: doc.querySelectorAll is not a function
>> >>
>> >> Is there something I am doing wrong ?
>> >
>> >
>> > That only works with xulrunner 1.9.1 and higher.
>> >
>> > To skorpan: this should be rewritten to use xpath instead.
>>
>>
>> If so, only temporarily, until all major operating systems have
>> support for querySelectorAll. XPath is unnecessarily verbose and
>> illegible for most tasks. What do you think?
>
>
>  For the time being we need to support xulrunner 1.9.0.  The syntax
> difference between css queries and xpath queries is quite trivial.  I
> never found it illegible, and there are examples throughout the source
> that can be copied.
>
> --
> John Foerch
>

Sure, but what I meant was that it's *unnecessarily* illegible. :)
Could someone else make this change for me? I'm kind of swamped at
work right now.

--
Deniz Dogan
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror