mediawiki
mediawiki copied to clipboard
upload does not reflect change
Hey, using your library for a small project im running and have found it very usefull and timesaving so far. Could use your advice regarding an anamoly though, While using the upload functionality to upload a file I have no issues and the program executes with the uploaded file reflecting as expected. Now when I make changes to my local copy of the file and re-upload it again the program finishes as expected, but on inspection of the file it has not changed nor has the upload log been updated. Any advice how to move forward with this?
Off hand I would guess that there might be a bug either in checkError or maybe it's a warning that I am incorrectly ignoring.
The easiest way will probably be to insert some debugging print statements in to the code, i.e. capture what response you're getting back at line 320.
On further examination, the response is {{Warning}}
not sure what this means and how to handle it.
@sadbox I would like to work on this bug and submit a pr, unfortunately am not clear where to start or how to go about it. If you could maybe point me in the right direction as to how the upload function works it would be very helpful.