https://bugzilla.wikimedia.org/show_bug.cgi?id=73184
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CommodoreFabianus@gmx.de
--- Comment #1 from Fabian CommodoreFabianus@gmx.de --- 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&title...
While your example gets the following:
http://en.wikisource.org/w/api.php?action=query&prop=pageprops&title...
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&titl...
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.