https://bugzilla.wikimedia.org/show_bug.cgi?id=31901
--- Comment #6 from Bergi <[email protected]> 2011-11-03 23:17:04 UTC --- (In reply to comment #5) > compatibility problems? I think compatibility problems mostly are on client side. Implementation which distingish whether there are pages returned or not may get problems. Until now the function to determine this looked up if there is the <query> element and if there is the <pages> element, else it returns false. But from now on this function will always return true, so it could happen that another function which expects a set of pages is called with a empty set of pages, instead of not to be called. An example could be line 768 in /pywikipedia/trunk/pywikipedia/wikipedia.py: if not 'pages' in data['query']: raise RuntimeError("API query error, no pages found") (but it didn't check for >'query' in data< before - anyway, I'm no pywikipedia expert) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
