Last modified: 2014-06-18 02:48:53 UTC
In ProtectionForm: if ( $value == 'infinite' || $value == 'indefinite' || $value == 'infinity' ) { In ApiProtect: if ( in_array( $expiry[$i], array( 'infinite', 'indefinite', 'infinity', 'never' ) ) ) { There's a few places in the code we check for these variants of infinity. They should be refactored out
Change 140276 had a related patch set uploaded by devunt: Refactor out 'infinity' variants https://gerrit.wikimedia.org/r/140276