Thanks, i'll debug this some more. I'm using DBpedia's extraction code.
On Mon, Dec 5, 2011 at 3:31 PM, OQ <[email protected]> wrote: > On Mon, Dec 5, 2011 at 5:25 PM, Tommy Chheng <[email protected]> wrote: >> Most of the time, the function works correctly but on a few cases, it >> is incorrect: >> >> For "Stewie_Griffin.png", I get 2/26/Stewie_Griffin.png but the real >> one is 0/02/Stewie_Griffin.png >> >> Any ideas why the hashing scheme doesn't work sometimes? > > Haven't used Java in a while, but make sure you're computing the right string. > > > brent@brent-desktop:~/pass$ echo -n "Stewie_Griffin.png" | md5sum > 026fdc3cd32e81686456d875e668b9f6 - > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api -- @tommychheng http://tommy.chheng.com _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
