New extension point to skip the edit lock confirmation
An editor that supports realtime collaboration can waive the confirmation that XWiki asks for before taking over the edit lock of a Page, because the users are going to edit that Page together. Until now the only way to do this was to extend the documentLock edit confirmation checker and register the subclass under the same component hint, so only one extension at a time could waive the confirmation.
The decision is now taken by org.xwiki.doc.lock.UnlockRule components: each one is asked whether the lock can be taken over silently for the document and the edit mode described by the LockContext it receives, and the confirmation is skipped as soon as one of them accepts. XWiki provides two rules, one for the Netflux based realtime editing (wiki syntax and CKEditor) and one for BlockNote; the override that the realtime module used to register has been removed.
See Document Edit Lock Confirmation for the details. The new API belongs to xwiki-platform-oldcore and is unstable, so it may still change in a backward incompatible way.