Page MenuHomeDevCentral

Provide mw command
ClosedPublic

Authored by dereckson on Mar 21 2018, 23:17.
Tags
None
Referenced Files
F9532946: D1452.id3727.diff
Fri, Jun 6, 15:40
Unknown Object (File)
Fri, Jun 6, 08:23
Unknown Object (File)
Fri, Jun 6, 08:09
Unknown Object (File)
Thu, Jun 5, 20:45
Unknown Object (File)
Tue, Jun 3, 12:08
Unknown Object (File)
Mon, Jun 2, 17:51
Unknown Object (File)
Mon, Jun 2, 04:43
Unknown Object (File)
Sun, Jun 1, 17:50
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 Not Applicable
Unit
Tests Not Applicable

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.