MediaWiki K8s

Kat Kuo Publisher

Platform:

Channel Revision Published Runs on
1.46/edge 109 12 Aug 2026
Ubuntu 24.04
1.45/edge 90 04 Jul 2026
Ubuntu 24.04
juju deploy mediawiki-k8s --channel 1.46/edge

Learn about actions >

  • create-and-promote

    Create a new MediaWiki user, or promote an existing one, and add it to the requested user groups. This exposes MediaWiki's createAndPromote.php maintenance script.

    Set generate-password=true to generate a secure password and return it in the action results; this is required when creating a new user. When false (the default), the user's password is left unchanged, which is only valid together with force=true to promote an existing user.

    This is typically used to bootstrap an initial administrator after deployment, for example by promoting a user to the bureaucrat and sysop groups.

    Params
    • bot boolean

      Add the account to the bot group.

    • bureaucrat boolean

      Add the account to the bureaucrat group.

    • custom-groups string

      Comma-separated list of groups to add the user to.

    • email string

      Sets the user's email address.

    • force boolean

      If the account exists already, just grant it rights or change the password. Without this, the action fails if the user already exists.

    • generate-password boolean

      Whether to generate a new secure password and return it in the action results. This is required when creating a new user. When false (the default), the user's password is left unchanged; this is only valid together with force=true to promote an existing user.

    • interface-admin boolean

      Add the account to the interface-admin group.

    • reason string

      Reason for account creation and user rights assignment to log to the wiki.

    • sysop boolean

      Add the account to the sysop group.

    • username string

      The username of the user to create or promote.

    Required

    username

  • force-reconciliation

    Force a reconciliation run including a composer update regardless of whether the composer configuration has changed.

    Params
    • all-units boolean

      If true, request a reconciliation run on all units. Must be run on the leader unit.

  • rotate-mediawiki-secrets

    Rotate the MediaWiki secrets generated and managed by the charm. Must be run on the leader unit.

  • update-database

    Request an update to the MediaWiki database schema using the update.php maintenance script. This may be required after upgrading MediaWiki or installing extensions that modify the database schema.

    The charm will asynchronously request all units to enter a read-only mode before performing the database update to ensure data consistency.

    It is highly recommended to back up your database before running this action.