MediaWiki K8s
Platform:
| Channel | Revision | Published | Runs on |
|---|---|---|---|
| 1.46/edge | 109 | 12 Aug 2026 | |
| 1.45/edge | 90 | 04 Jul 2026 |
juju deploy mediawiki-k8s --channel 1.46/edge
-
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.phpmaintenance script.Set
generate-password=trueto generate a secure password and return it in the action results; this is required when creating a new user. Whenfalse(the default), the user's password is left unchanged, which is only valid together withforce=trueto promote an existing user.This is typically used to bootstrap an initial administrator after deployment, for example by promoting a user to the
bureaucratandsysopgroups.- Params
-
bot boolean
Add the account to the
botgroup. -
bureaucrat boolean
Add the account to the
bureaucratgroup. -
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 withforce=trueto promote an existing user. -
interface-admin boolean
Add the account to the
interface-admingroup. -
reason string
Reason for account creation and user rights assignment to log to the wiki.
-
sysop boolean
Add the account to the
sysopgroup. -
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.phpmaintenance 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.