CPT is intending to launch a new Wiki that will act as documentation for the API Gateway.
We would like the wiki to be available as a public wikimedia.org subdomain:
api.wikimedia.org
Details:
- Language code: en
- Site URL: api.wikimedia.org
- Project name: Wikimedia API Portal
- Project name (English): Wikimedia API Portal
- Project namespace: API Portal
- Project talk namespace: Discuss API Portal
- Project logo: https://commons.wikimedia.org/wiki/File:Wikimedia-logo_black.svg
- Timezone: UTC
- Local file uploads: no
- Database name: apiportalwiki
- Extra details: group0.
- Shard: s5
Pre-install automatic checklist:
- DBA decided about the shard
- DNS
- Apache config
- Language configuration in language data repo
- Language configuration in mediawiki core
- Wikimedia messages configuration
- Wikimedia messages (interwiki search result) configuration (not needed)
The Wiki is ready to be created.
Post install automatic checklist:
- RESTbase
- CX Config
- Analytics refinery
- Pywikibot
- Wikidata
- Import from Incubator
- Clean up old interwiki links
Step by step commands:
On deploy1001:
cd /srv/mediawiki-staging/
git fetch
git log -p HEAD..@{u}
git rebase
On mwmaint1002:
scap pull
mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=muswiki en wikimedia apiportalwiki api.wikimedia.org
On deploy1001:
scap sync-file wmf-config/db-eqiad.php "Creating apiportalwiki (T246945)"
scap sync-file wmf-config/db-codfw.php "Creating apiportalwiki (T246945)"
scap sync-file dblists "Creating apiportalwiki (T246945)"
scap sync-wikiversions "Creating apiportalwiki (T246945)"
scap sync-file multiversion/MWMultiVersion.php "Creating apiportalwiki (T246945)"
scap sync-file static/images/project-logos/ "Creating apiportalwiki (T246945)"
scap sync-file wmf-config/InitialiseSettings.php "Creating apiportalwiki (T246945)"
scap update-interwiki-cache
End of automatic output