(I’m not sure it is the right place to declare a bug.)
When one of the policy contains a table of contents, the button to confirm that all policies are accepted never becomes clickable.
The cause is in modules/policyField.js
where the number of policies is determined by $policyCheckboxes = $( '.legal-login-field input[type=checkbox]' )
and the TOC contains an input of type checkbox since MediaWiki 1.32 (commit).
This can be solved by changing the jQuery expression by a stricter one $policyCheckboxes = $( '.legal-login-field > div.mw-ui-checkbox input[type=checkbox]' )
.