https://bugzilla.wikimedia.org/show_bug.cgi?id=55158
Mpaa <mpaa.w...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpaa.w...@gmail.com --- Comment #2 from Mpaa <mpaa.w...@gmail.com> --- (In reply to John Mark Vandenberg from comment #1) > Need to determine if this problem exists on core. In core: history = page.getFileVersionHistory() returns a list without crashing. When trying to fetch the hidden comment, the result is: >>> history[2]['comment'] Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 'comment To note that history returns a "commenthidden" key in this case: >>> history[2]['commenthidden'] u'' { "timestamp": "2007-02-14T13:01:57Z", "user": "Messina", "commenthidden": "", "url": "https://upload.wikimedia.org/wikipedia/commons/archive/3/3b/20110813064325%21Catania_Piazza_Quattro_Canti.jpg", "descriptionurl": "https://commons.wikimedia.org/wiki/File:Catania_Piazza_Quattro_Canti.jpg" } -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l