Retrieve rev_len for sizediff in usercontributions API
authorPetr Onderka <gsvick@gmail.com>
Sat, 7 Jul 2012 13:16:56 +0000 (15:16 +0200)
committerPetr Onderka <gsvick@gmail.com>
Sat, 7 Jul 2012 13:16:56 +0000 (15:16 +0200)
commit6601c36bf891ead9bebdba50b81ff99c32e4d00c
tree660cc2549da5a40d31ebc00e474ac9dd93530750
parentaf6a3bc49e46ef9b3cf53fc53faf85aa76ceacc6
Retrieve rev_len for sizediff in usercontributions API

The sizediff parameter introduced in I6e388e75 requires
the rev_len field, but it wasn't added to the condition
for that field.

This means prop=size|sizediff worked, but prop=sizediff
alone didn't. This patch fixes that.

Change-Id: Ib15814d809398ca3d4633149af0ce62489d8adaa
includes/api/ApiQueryUserContributions.php