Hi Magnus,
On 02/04/2015 04:40 PM, Magnus Manske wrote:
I wrote a PHP class to specifically deal with the
Wikimedia OAuth,
including uploads (not chunked though). May be helpful.
https://bitbucket.org/magnusmanske/magnustools/src/9dc80c2479a41239b9661b35…
very good!
Because I have written a PHP library to use the MW library - it does not
OAuth, because it is command-line based, but it can do chunked uploads!
Maybe there is a way to add OAuth to it, then I will shamelessly steal
from your code.
My code is here:
https://github.com/masterssystems/phpapibot
I know that at least Dan used some it for inspiration for the video
editing server upload component ;-)
/Manuel
--
Wikimedia CH - Verein zur Förderung Freien Wissens
Lausanne, +41 (21) 34066-22 -
www.wikimedia.ch