Steps to reproduce:
Add
if ( $( '#ca-addsection' ).length > 0 ) { mw.loader.load( 'ext.discussionTools.init' ); }
to your global.js or common.js on meta
Visit https://meta.wikimedia.org/w/index.php?title=User_talk:DannyS712&dir=prev&limit=448&action=history
See a "reply" option at the end of the log entry for the protection of my talk page on 9 September 2020
Protected "User talk:DannyS712": Persistent vandalism ([Edit=Allow only autoconfirmed users] (expires 04:15, 23 September 2020 (UTC)) [Move=Allow only autoconfirmed users] (expires 04:15, 23 September 2020 (UTC))) [ reply ])
Click reply
Note that the reply field opens below an earlier protection log entry from 28 September 2019
All of the protection log entries have a reply button, and some of them open a reply field directly below the log entry, and others open the field below the earliest entry visible (from September 2019)
Expected result:
No reply buttons are shown in the page history
and/or reply buttons create a reply field directly below the correct log entry
and/or trying to use the reply field to comment works