ORES extension local development guide

1. Install mediawiki with docker Clone MediaWiki repo git clone ssh://&lt;USERNAME&gt;@gerrit.wikimedia.org:29418/mediawiki/core.git mediawiki add this in docker-compose.override.yml to use mysql and expose the port to our localhost  version: '3.7' services: database: image: mariadb environment: MYSQL_ALLOW_EMPTY_PASSWORD: 1 volumes: - ./cache/dbdata:/var/lib/mysql ports: - "3306:3306"			volumes: dbdata: driver: local docker compose up    We run the following command to install and configure mediawiki. We name the database as enwiki otherwise ORES service won’t be able to find a model for a wiki name that doesn’t exist. Alternatively we could point to another service that would have such a wikiname e.g. a local running instance of ores-legacy app. docker compose exec mediawiki /bin/bash -c '&#x27;'php maintenance/install.php --server=http://localhost:8080 --scriptpath=&quot;/w&quot; --dbuser root --dbserver database --dbname enwiki --lang en --skins=Vector --with-extensions --pass $MY_PASS enwiki $MY_USER'&#x27;'  2. Install ORES cd mediawiki/core

git clone &quot;https://gerrit.wikimedia.org/r/mediawiki/skins/Vector&quot; skins/Vector

git clone &quot;https://gerrit.wikimedia.org/r/mediawiki/extensions/ORES&quot; extensions/ORES Add the following code at the bottom of your LocalSettings.php: wfLoadSkin( 'Vector' );

wfLoadExtension( 'ORES' );  3. Score existing revisions  <p id="3d880284-3cb5-4f42-a710-f13ae822b8f0" class="">Score revisions and populate database tables <pre id="6b74e87e-d71d-4c4e-91b9-ad03fff5ac4b" class="code code-wrap">docker compose exec mediawiki php extensions/ORES/maintenance/PopulateDatabase.php <p id="f498efb7-6d52-4b49-aaaf-b8164a051915" class=""> <p id="0e364247-050a-4548-a1ca-41ef5fc6f38d" class=""> <p id="df056889-3f09-4ba6-84b1-25bcf519910b" class="">