Configurable truncate limit.
Don't fiddle with filter-active class in update_truncate, it's not needed.
A certain amount of messing around to get the right bits "updatable".
Fix regexp, don't allow non-numerals in the input.
Merge bug25529