https://bugzilla.wikimedia.org/show_bug.cgi?id=55158
Mpaa <mpaa.wiki(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpaa.wiki(a)gmail.com
--- Comment #2 from Mpaa <mpaa.wiki(a)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 the assignee for the bug.