Thread:Project:Support desk/How to add a checkbox "I have read the license" into the usercreate.php/reply

Trust me, you don't want to hack MediaWiki core. You'll rather want to install an extension, such as NewSignupPage, to achieve the desired functionality.