SpecialEditWatchlist: Don't re-escape html option values.
authorTimo Tijhof <ttijhof@wikimedia.org>
Mon, 14 Jan 2013 21:43:02 +0000 (22:43 +0100)
committerTimo Tijhof <ttijhof@wikimedia.org>
Mon, 14 Jan 2013 21:43:02 +0000 (22:43 +0100)
commit8e503c74848f6e64105dfdd464352d4c55376d2f
tree3ed6a466a75dea369001d24660fc5e3d962fa3b3
parenta1af4d7cdbb9fea271d7785f47f47ecf26b1990f
SpecialEditWatchlist: Don't re-escape html option values.

HTMLForm class already escapes them. The values here should be
actual values that can be used directly internally without any
sort of encoding or escaping.

It was working fine because HTMLForm used this array two-way, so
it was also checking against the "wrong" values upon submission.

For the same reason, removing it here will not affect anything.

It does however fix the problem where it is hard to filter these
options in javascript because the values don't match.

Change-Id: Ieb0d4955febaccda2bdca58b316883337831ebfa
includes/specials/SpecialEditWatchlist.php