Separated validation login in SpecialBlock.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Sat, 3 Nov 2012 04:56:24 +0000 (00:56 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Sat, 3 Nov 2012 20:51:07 +0000 (16:51 -0400)
commitd3ff52feb7361827ca8990a334535c4d8bc4592b
tree496d7d87d558c5a636f47642d8d6efa6e0d0260a
parent78a5729fea2adedc0342d1e36e99f4fcf2c37320
Separated validation login in SpecialBlock.

Separated SpecialBlock::validateTargetField so that
it can be used without needing an HTMLForm. Now there
is a function SpecialBlock::validateTarget that does
the actual validation.

Change-Id: I70d854b95e864b249c8a1862bda3b6cbef4f682d
includes/specials/SpecialBlock.php