https://bugzilla.wikimedia.org/show_bug.cgi?id=73184

Fabian <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Fabian <[email protected]> ---
The problem is not that 'la:' is not considered but that the redirect target is
not a page on that site. If you compare the request with "Main Page:English"
(which is a redirect to "Main Page") you get:

http://en.wikisource.org/w/api.php?action=query&prop=pageprops&titles=Main%20Page:English&redirects=

While your example gets the following:

http://en.wikisource.org/w/api.php?action=query&prop=pageprops&titles=The%20Army%20and%20Navy%20Hymnal/Catholic/Tantum%20Ergo&redirects=

The problem there is if there is no 'pages' in the result it does treat that as
a circular redirect. Problem is that a legitimate double redirect doesn't
contain a 'pages' entry either:

http://test.wikipedia.org/w/api.php?action=query&prop=pageprops&titles=Double&redirects=

So I think the only way is to have the comparison more intelligent and only
declare it a circular redirect if pywikibot does go over each redirect and
finds a already seen page. Or use the link parser to detect if it's an
interwiki link.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to