PreviousTarget is now optional when blocking a user
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 29 May 2011 07:00:52 +0000 (07:00 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 29 May 2011 07:00:52 +0000 (07:00 +0000)
commit477a394e5f452a29f8937ee0dce1ac9bb4fd1589
tree785c953f963f8c6eea742fd69c8393d28dd2231c
parent22752d8796515682a03e34e0d62ccdc4a9069556
PreviousTarget is now optional when blocking a user

The API does not seem to give a PreviousTarget field all the time.
This patch also fix the an assertion for ApiBlockTest::testMakeNormalBlock
includes/specials/SpecialBlock.php