I installed MediaWiki 1.30.0 and 1.31.7 from here and had no problems configuring Scripto using either version. Perhaps your 1.31.7 was not functioning at the time of configuration?
The original Wikimedia 1.31.7 I installed (packaged with DEBIAN) worked well, not sure where’s the problem but upgrading to the last release worked well for me.