Page MenuHomeDevCentral

Provide mw command
ClosedPublic

Authored by dereckson on Mar 21 2018, 23:17.
Tags
None
Referenced Files
F12249082: D1452.id3727.diff
Sat, Oct 11, 14:18
F12249078: D1452.id3727.diff
Sat, Oct 11, 14:18
F12248986: D1452.diff
Sat, Oct 11, 13:54
F12248863: D1452.id.diff
Sat, Oct 11, 13:33
Unknown Object (File)
Thu, Oct 9, 14:26
Unknown Object (File)
Tue, Oct 7, 02:39
Unknown Object (File)
Mon, Oct 6, 19:49
Unknown Object (File)
Mon, Oct 6, 18:23
Subscribers
None

Details

Summary

MediaWiki ships with maintenance PHP CLI scripts,
requiring configuration too. This wrapper provides
required environment to allow MediaWiki SaaS to prepare it.

Usage: mw <wiki database name or alias> <script to run>

This release doesn't currently allow to run other scripts,
like the ones provided by extensions.

Test Plan
  • mw script shell
  • mw script /tmp/WikimediaMaintenance/listDatabases.php

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
mw (branched from master)
Build Status
Buildable 2300
Build 2548: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson retitled this revision from Provide a mw command to execute maintenance script on SaaS MediaWiki to Provide mw command.
This revision is now accepted and ready to land.Mar 22 2018, 01:02
This revision was automatically updated to reflect the committed changes.