← Back to team overview

zim-wiki team mailing list archive

Re: Find pages that are not linked to in certain page content

 

On Fri, Nov 9, 2012 at 2:16 PM, Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx
> wrote:

>
> On Fri, Nov 9, 2012 at 1:07 PM, Mirosław Zalewski <miniopl@xxxxxxxxx>wrote:
>
>> Hi Jaap
>>
>> Thanks for a tip. I have checked manual before, but I have missed
>> LinksFrom keyword (yes, it's actually LinksFrom, not LinkedBy).
>>
>> But I have problem while searching in namespace with whitespaces in
>> name. My query is as follows:
>>
>>     namespace:"1. Do napisania"  AND NOT LinksFrom:"1. Do napisania"
>>
>> but it return no results. If I change main page name to
>> "1.Do-napisania" and rerun query with changed name, then it return few
>> pages.
>>
>> I am using zim 0.56 on Debian testing, amd64.
>> Is this a bug? Has it been fixed in newer version? Or maybe I am
>> missing some optional dependency, or just doing something wrong?
>>
>
> Yup, seems a genuine bug. Will add it to my Todo list. Afraid the test
> suite only includes queries without spaces :(
>

P.S.  the bug affect a query like

  namespace:"foo bar"

but not

  namespace: "foo bar"

(notice the additional space)

So work around is to type the 2nd form of the query.

-- Jaap

Follow ups

References