For automatic topic subscriptions, I plan to introduce a third
subscription state to indicate them. This patch includes minor tweaks
I wanted to add while working on that:
* Introduce constants instead of numbers
* Remove a TODO that doesn't seem like a good idea any more
* Remove a `"length": 1` on sub_state that did not do anything
(but it might have been meant to indicate that it was supposed
to be a boolean, which would be wrong)
Bug: T284836
Change-Id: I6e6096968ad38510102287bccd349090b6ca4280
Per Manuel Arostegui in T263817#7033384.
As I understand, this is just for consistency with tables in MediaWiki
core. Given that all tables are created with "DEFAULT CHARSET=binary"
(as defined in $wgDBTableOptions), there is no difference in behavior
between these two types.
Bug: T263817
Change-Id: I8dabcb45e447e0bf60b119fd4f7d6532147a44fc