Topic on Talk:Quarry

Orphaned articles with linkings

6
The Polish (talkcontribs)

Given all pages containing the template orphaned on pl.wiki, I would to find what pages are not orphaned (one or more linkings).

Can somebody tell me what is wrong in this query. In the resultset there are all the linkings to the template orphaned.

Thanks in advance.

XXN (talkcontribs)

Negation is not needed, remove that "NOT".

The Polish (talkcontribs)

That is not the only problem because is not still working (now 0 results). For ex. there is the article Aleksiej Rybakow (polityk) that has 1 linking and in the talk page there is the template orphaned. I don't know why Quarry doesn't show it.

Edgars2007 (talkcontribs)

This is lvwiki version (ignore all those comments and stuff). We have a little bit different situation (we use template in articles) and the query may need some clean-up, but this one should be a good start

XXN (talkcontribs)

@The Polish: Removed also "pl_from = page_id" in that subquery (as it's un-needed here), seems to work as expected.

The Polish (talkcontribs)

Thanks.